You are not logged in.

#1 2003-11-30 21:00:29

Moritz
Member
From: Cologne, NRW, Germany
Registered: 2002-10-12
Posts: 166

BlueJ

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

#2 2003-12-01 01:38:18

Xentac
Forum Fellow
From: Victoria, BC
Registered: 2003-01-17
Posts: 1,797
Website

Re: BlueJ

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

#3 2003-12-01 13:22:09

dp
Member
From: Zürich, Switzerland
Registered: 2003-05-27
Posts: 3,366
Website

Re: BlueJ

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

#4 2003-12-01 18:54:17

Moritz
Member
From: Cologne, NRW, Germany
Registered: 2002-10-12
Posts: 166

Re: BlueJ

i know... rtfm :oops:

Offline

Board footer

Powered by FluxBB