You are not logged in.
Pages: 1
Hey!
Got some problem with BlueJ (www.bluej.org)
this happens, when i try to run it:
[moritz@axis moritz]$ java bluej-130.jar
Exception in thread "main" java.lang.NoClassDefFoundError: bluej-130/jar
at the FAQ (http://www.bluej.org/help/faq.html) it is descripted as a windows bug:
Error message: "Exception in thread main: java.lang.NoClassDefFoundError: ..."
This error message indicates that the main jar file (bluej.jar) was not found. This is typically caused by classpath problems. The most common cause on Windows systems is that BlueJ is installed in a directory path that contains spaces (eg in "Program Files"). These spaces (and possibly long file names) cause problems with Java's class path settings. Solution: Install bluej in a directory without spaces in the path (eg C:bluej).
but where can be the problem at arch?
Regards,
Moritz
Offline
You could try changing the name of the file from bluej-130.jar to bluej.jar. I don't know much about Java and jar files, but that seems to be what the website is saying...
I have discovered that all of mans unhappiness derives from only one source, not being able to sit quietly in a room
- Blaise Pascal
Offline
java -jar somefile.jar
-> man java
running "java somefile.jar" means: java searches for a file somefile.jar.class to run ... that's not what you want; you want to run a archive, not a only class
The impossible missions are the only ones which succeed.
Offline
i know... rtfm :oops:
Offline
Pages: 1