Hi Luigi, I imported all classes from like this "com.orientechnologies.orient.server.*;" and the code ran without giving any error or any other message. I ran for approx. 2 seconds and then came out from the program without any message.
Am i doing something wrong here? C:\Program Files\Java\jdk1.8.0_31\bin>javac -classpath ..\lib\orientdb-server-2.0.1.jar OrientDBEmbeddable.java C:\Program Files\Java\jdk1.8.0_31\bin> -- Shivanandan Gupta On Monday, 23 February 2015 15:41:30 UTC+5:30, Shivanandan Gupta wrote: > > Hi Luigi, > > I have fixed that class path issue, but now getting the below given error > for the same program. > > > C:\Program Files\Java\jdk1.8.0_31\bin>javac -classpath > ..\lib\orientdb-server-2.0.1.jar OrientDBEmbeddable.java > OrientDBEmbeddable.java:6: error: cannot find symbol > OServer server = OServerMain.create(); > ^ > symbol: class OServer > location: class OrientDBEmbeddable > 1 error > > > Thanks, > Shivanandan Gupta > > > On Monday, 23 February 2015 15:08:09 UTC+5:30, Shivanandan Gupta wrote: >> >> Hi Luigi, >> >> I am getting below given error when trying to run the script (PFA the >> script). java program is not able to import the jar files , I have placed >> them in the lib folder inside jdk. >> >> Error Message: >> >> C:\Program Files\Java\jdk1.8.0_31\bin>javac.exe >> C:\odb\OrientDBEmbeddable.java >> C:\odb\OrientDBEmbeddable.java:3: error: package >> com.orientechnologies.orient.server does not exist >> import com.orientechnologies.orient.server.OServerMain; >> ^ >> C:\odb\OrientDBEmbeddable.java:8: error: cannot find symbol >> OServerMain >> ^ >> symbol: variable OServerMain >> location: class OrientDBEmbeddable >> 2 errors >> >> >> >> Thanks, >> Shivanandan Gupta >> >> On Friday, 20 February 2015 16:44:51 UTC+5:30, Shivanandan Gupta wrote: >>> >>> Hi Luige, >>> >>> Thanks a lot for your help , I will try this out. >>> >>> Thanks. >>> Shivanandan Gupta >>> >>>> >>>> -- --- You received this message because you are subscribed to the Google Groups "OrientDB" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
