|
-
Nov 14th, 2001, 10:22 AM
#1
Thread Starter
Fanatic Member
How to make this work.
When I try to run my Java program, I get this list of errors:
java.lang.NoClassDefFoundError: Examples/XL (wrong name: XL)
at java.lang.ClassLoader.defineClass0(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:486)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:111)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:248)
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:297)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:286)
at java.lang.ClassLoader.loadClass(ClassLoader.java:253)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:313)
Exception in thread "main"
How do I correct this? I am using Forte for Java, Community Edition v. 3.0.
Thanks in advance.
-
Nov 14th, 2001, 10:38 AM
#2
Hyperactive Member
This might sound silly but are you sure you've typed in the name of your program correctly? I sometimes get those errors if I put myname java rather than Myname java i.e. need to start the program name with a capital letter. I'm probably wrong (I'm only a newbie), but it could be worth a try anyway
-
Nov 14th, 2001, 11:19 AM
#3
Thread Starter
Fanatic Member
Thanks, Pix, but
it didn't work.
-
Nov 14th, 2001, 11:31 AM
#4
-
Nov 14th, 2001, 11:51 AM
#5
Hyperactive Member
Does the program compile ok?
-
Nov 14th, 2001, 12:24 PM
#6
and are you packaging it somewhere?
Laugh, and the world laughs with you. Cry, and you just water down your vodka.
Take credit, not responsibility
-
Nov 14th, 2001, 02:38 PM
#7
Thread Starter
Fanatic Member
-
Nov 14th, 2001, 04:04 PM
#8
Hyperactive Member
Ok then, I'll have a go
-
Nov 15th, 2001, 01:41 PM
#9
I am getting a similar error, but I get that it is looking for com/neva/Coroutine and I can't see why it would be looking for it.

Its odd that it does compile, yet cannot find something when the program is running. I will look at it a bit and see what I come up with.
Laugh, and the world laughs with you. Cry, and you just water down your vodka.
Take credit, not responsibility
-
Nov 15th, 2001, 02:05 PM
#10
Thread Starter
Fanatic Member
Thanks crptcblade,
I hope you can make this work. I'm counting on this code!
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|