Windows batch files and Eclipse [message #116920] |
Fri, 11 November 2005 10:25 |
Eclipse User |
|
|
|
Originally posted by: alhawabaha.yahoo.com
Hello,
I'm using Eclipse 3.1.1 to build and run Limewire 4.9, I can successfully
build and execute the application under Linux, buidling the core and gui
modules first, and then executing run.sh--all from eclipse. But am having
difficulty repeating this process in Windows. I have successfully built
the core and gui modules, but when I try to fire up the limewire startup
script "run.bat", I get what seems to be a classpath related error. Does
anyone know how to fix this? Here's the error that displays on my console
after executing run.bat:
java.lang.NoClassDefFoundError: com/limegroup/gnutella/gui/Main (wrong
name: gui/com/limegroup/gnutella/gui/Main)
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:620)
at java.security.SecureClassLoader.defineClass(SecureClassLoade r.java:124)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:260)
at java.net.URLClassLoader.access$100(URLClassLoader.java:56)
at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
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 )
Exception in thread "main"
|
|
|
Powered by
FUDForum. Page generated in 0.07634 seconds