Hi Anton,

As noted by another poster, "java -version" is an excellent
first step in resolving pretty much any Java problem.

Yours is a not-uncommon problem with gcj. Try the Sun JVM
[http://java.sun.com/j2se/1.4.2/download.html] instead. If you
already have the Sun JVM installed, you may have gcj "earlier"
on the classpath. Try invoking with a full path -- use the path
to your own Java install location, but it will be something
like:

/usr/java/j2re1.4.2/bin/java -jar anyj4.3.7-linux.jar

Or switch to OS-X :)

Cheers,
Roy.

On Thursday, 4 September 2003 at 8:46pm, antonovich wrote:

> Can anyone give me some advice on this? I know that I have
> Java installed "properly" as I can run NetBeans3.5. I did a
> windows and just downloaded the bin and double-clicked.
> NetBeans works fine but I have tried to install BlueJ and now
> Anyj and I get these messages... Is it that JRE is not
> installed properly? How do i find out? What would you
> recommend I do to keep NetBeans working (I quite like it,
> though I know you are all probably going to tell me I should
> use JBuilder...) but be able to install other IDEs? Cheers
> anton ps. I am following the install instructions...
>
> # java -jar anyj4.3.7-linux.jar
> Warning: -jar not understood. Ignoring.
> Exception in thread "main" java.lang.NoClassDefFoundError: anyj4.3.7-linux.jar
>    at 0x40267aab: java.lang.Throwable.Throwable(java.lang.String)
...

-- 
Roy Britten
National Institute of Water and Atmospheric Research
PO Box 8602, Christchurch, New Zealand
P: +64-3-343-7818
F: +64-3-348-5548

Reply via email to