Hi,
Please help me. I really like to learn programming in VirtualBox Main API. -Arindam From: [email protected] To: [email protected]; [email protected] Date: Wed, 11 May 2011 19:50:57 +0530 Subject: Re: [vbox-dev] Java Samples in VirtualBoxSDK-4.0.6-71344 Hi, [arindam@aopcach java]$ java -cp /home/arindam/Downloads/sdk/bindings/webservice/java/jax-ws/vboxjws.jar:. TestVBox [arindam@aopcach java]$ No output ... nothing. :( in the [arindam@aopcach ~]$ vboxwebsrv -v terminal, I have: 00:04:10.173 Watchdog Watchdog: sleeping 5 seconds 00:04:15.171 main Pumping COM event queue 00:04:15.173 Watchdog Watchdog: checking 0 sessions Thanks, -Arindam > Date: Wed, 11 May 2011 17:02:10 +0400 > From: [email protected] > To: [email protected] > CC: [email protected] > Subject: Re: [vbox-dev] Java Samples in VirtualBoxSDK-4.0.6-71344 > > You need to have path where TestVBox.class is located (likely .) in the > classpath, such as > java -cp > /home/arindam/Downloads/sdk/bindings/webservice/java/jax-ws/vboxjws.jar:. > TestVBox > > Arindam Choudhury wrote: > > > > Hi, > > > > I am having this problem: > > > > [arindam@aopcach java]$ javac -cp > > /home/arindam/Downloads/sdk/bindings/webservice/java/jax-ws/vboxjws.jar > > TestVBox.java > > [arindam@aopcach java]$ java -cp > > /home/arindam/Downloads/sdk/bindings/webservice/java/jax-ws/vboxjws.jar > > TestVBox > > Exception in thread "main" java.lang.NoClassDefFoundError: TestVBox > > Caused by: java.lang.ClassNotFoundException: TestVBox > > at java.net.URLClassLoader$1.run(URLClassLoader.java:202) > > at java.security.AccessController.doPrivileged(Native Method) > > at java.net.URLClassLoader.findClass(URLClassLoader.java:190) > > at java.lang.ClassLoader.loadClass(ClassLoader.java:306) > > at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301) > > at java.lang.ClassLoader.loadClass(ClassLoader.java:247) > > Could not find the main class: TestVBox. Program will exit. > > > > Thanks for your reply. > > -Arindam > > > > > Date: Wed, 11 May 2011 16:55:13 +0400 > > > From: [email protected] > > > To: [email protected] > > > Subject: Re: [vbox-dev] Java Samples in VirtualBoxSDK-4.0.6-71344 > > > > > > Nothing tricky - vboxjws.jar have to be on the classpath (see testws > > > Makefile target). > > > > > > Nikolay > > > > > > Arindam Choudhury wrote: > > > > Hi, > > > > > > > > Thank you Nikolay for your reply. > > > > > > > > I found the file and compiled it with some modification(import > > > > org.virtualbox_4_0.*;). > > > > > > > > but I am having problem running it. Can you please help? the > > > > $CLASSPATH is really confusing. > > > > > > > > -Arindam > > > > > > > > > Date: Wed, 11 May 2011 16:29:26 +0400 > > > > > From: [email protected] > > > > > To: [email protected] > > > > > CC: [email protected] > > > > > Subject: Re: [vbox-dev] Java Samples in VirtualBoxSDK-4.0.6-71344 > > > > > > > > > > Hi Arindam, > > > > > > > > > > Seems manual contains outdated information, as actual location > > of the > > > > > sample code (which is the same for JAX and XPCOM) > > > > > is bindings/glue/java, also consult Makefile.kmk in the same > > folder for > > > > > command line used to compile and run samples. > > > > > > > > > > Thanks, > > > > > Nikolay > > > > > > > > > > > > > > > Arindam Choudhury wrote: > > > > > > Hi, > > > > > > > > > > > > I have downloaded the VirtualBoxSDK-4.0.6-71344 and reading the > > > > > > provided Reference. > > > > > > > > > > > > But in section 2.1.1.2 it said that the > > > > > > sdk/bindings/webservice/java/jax-ws/samples/ contains the java > > sample > > > > > > file. > > > > > > But in the downloaded archive, I can not find the folder. > > > > > > The sdk/bindings/webservice/java/jax-ws only contains COPYING.LIB > > > > > > vboxjws.jar. > > > > > > > > > > > > Where to find the samples file? > > > > > > > > > > > > -Arindam > > > > > > > > > > > > ------------------------------------------------------------------------ > > > > > > > > > > > > _______________________________________________ > > > > > > vbox-dev mailing list > > > > > > [email protected] > > > > > > http://vbox.innotek.de/mailman/listinfo/vbox-dev > > > > > > > > > > > > > > > _______________________________________________ vbox-dev mailing list [email protected] http://vbox.innotek.de/mailman/listinfo/vbox-dev
_______________________________________________ vbox-dev mailing list [email protected] http://vbox.innotek.de/mailman/listinfo/vbox-dev
