This content has been marked as final.
Show 6 replies
-
1. Re: getting error while running the Hello World example
Charles Lamb Jul 10, 2012 4:13 PM (in response to user1093072)user1093072 wrote:
The problem is that you haven't set your classpath appropriately. I suspect you need to put quotes around
Error :
C:\oracle\kv-ee-1.2.123\kv-1.2.123>java -cp example;lib/kvclient-1.2.123.jar hello.HelloBigDataWorld
Error: Could not find or load main class hello.HelloBigDataWorld
example;lib/kvclient-1.2.123.jar
Charles Lamb -
2. Re: getting error while running the Hello World example
user1093072 Jul 10, 2012 4:17 PM (in response to Charles Lamb)Hi
i have followed steps from http://tamanmohamed.blogspot.com/2012/02/oracle-nosql-database-in-5-minutes.html site. i am new to NOSQL.
can you kindly share the sample path to get an idea.
Thanks,
krish -
3. Re: getting error while running the Hello World example
Charles Lamb Jul 10, 2012 4:20 PM (in response to user1093072)user1093072 wrote:
C:\oracle\kv-ee-1.2.123\kv-1.2.123>java -cp "example;lib/kvclient-1.2.123.jar" hello.HelloBigDataWorld
Hi
i have followed steps from http://tamanmohamed.blogspot.com/2012/02/oracle-nosql-database-in-5-minutes.html site. i am new to NOSQL.
can you kindly share the sample path to get an idea.
or
C:\oracle\kv-ee-1.2.123\kv-1.2.123>set CLASSPATH="example;lib/kvclient-1.2.123.jar"
C:\oracle\kv-ee-1.2.123\kv-1.2.123>java hello.HelloBigDataWorld
Note that in general we do not support running KV on windows. You may run into additional anomalies on that platform. -
4. Re: getting error while running the Hello World example
user1093072 Jul 10, 2012 4:24 PM (in response to Charles Lamb)Thanks Charles,
i will try with Linux -
5. Re: getting error while running the Hello World example
Charles Lamb Jul 10, 2012 4:30 PM (in response to user1093072)On Linux don't use ; to separate classpath elements. Use :.1 person found this helpful
Note that you're having a simple Java classpath problem, not a NoSQL Database problem.
Charles Lamb -
6. Re: getting error while running the Hello World example
user1093072 Jul 11, 2012 12:47 PM (in response to Charles Lamb)Hi All,
i have successfully executed the helloworld example using below command.
java -cp C:/oracle/kv-1.2.123/examples;C:/oracle/kv-1.2.123/lib/kvstore-1.2.123.jar hello.HelloBigDataWorld
Thanks a lot Charles for your valuable comments.