I am trying to run the Chat example by following the instructions on the Lime website.
After compiling the .java file from the src folder, I run: java lime.util.Launcher -load LChat and I get the following error:
Lime:Factory set to lights.adapters.builtin.TupleSpaceFactory
Lime:Lime server opensource:1973 activated
lime.AgentCreationException: Impossible to find some of the agent classes.
java.lang.ClassNotFoundException: chat.LChat
at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:268)
at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:164)
at lime.LimeServer.loadAgent(LimeServer.java:542)
at lime.util.Launcher.launch(Launcher.java:196)
at lime.util.Launcher.main(Launcher.java:182)
Thanks for any help in advance,
Ziad
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Most likely the path containing the class files for the chat are not in the classpath where you launched Lime. Your error imples that the classloader could not find the class chat.LChat..
Try eihter putting LChat.jar in the same directory where you launch Lime, or set your classpath to include both Lime and the chat bin directory.
It should work.
-Amy
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi,
I am trying to run the Chat example by following the instructions on the Lime website.
After compiling the .java file from the src folder, I run: java lime.util.Launcher -load LChat and I get the following error:
Lime:Factory set to lights.adapters.builtin.TupleSpaceFactory
Lime:Lime server opensource:1973 activated
lime.AgentCreationException: Impossible to find some of the agent classes.
java.lang.ClassNotFoundException: chat.LChat
at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:268)
at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:164)
at lime.LimeServer.loadAgent(LimeServer.java:542)
at lime.util.Launcher.launch(Launcher.java:196)
at lime.util.Launcher.main(Launcher.java:182)
Thanks for any help in advance,
Ziad
Most likely the path containing the class files for the chat are not in the classpath where you launched Lime. Your error imples that the classloader could not find the class chat.LChat..
Try eihter putting LChat.jar in the same directory where you launch Lime, or set your classpath to include both Lime and the chat bin directory.
It should work.
-Amy