Thanks for you reply,
I am trying the nuxeo api on Windows. I created nuxeo-core-client directory,
under which I created lib directory that had all the required jars. There is a
shell script for Unix, But what should be different for Windows.
I have tried to execute the following command from the Readmet.txt How ever I
get following error :-
C:\\nuxeo-core-client>java -Dnuxeo.bundles=lib/nuxeo-runtime-*:li
b/nuxeo-* -cp all:jars:here org.nuxeo.ecm.core.client.sample.Main
org.nuxeo.ecm.core.client.HelloWorld
Exception in thread "main" java.lang.NoClassDefFoundError:
org/nuxeo/ecm/core/client/sample/Main
Caused by: java.lang.ClassNotFoundException:
org.nuxeo.ecm.core.client.sample.Main
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClassInternal(Unknown Source)
Could not find the main class: org.nuxeo.ecm.core.client.sample.Main. Program w
ill exit.
Did I miss anything ?
Is there explicit way to make sure nuexo-runtime is started before you make any
Nuxeo Java Client calls?
--
Posted by "nileshkaria" at Nuxeo Discussions <http://nuxeo.org/discussions>
View the complete thread:
<http://www.nuxeo.org/discussions/thread.jspa?threadID=2405#6620>
_______________________________________________
ECM mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/ecm
To unsubscribe, go to http://lists.nuxeo.com/mailman/options/ecm