[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.newcomer] Re: Incompatible JVM

Fla wrote:
I already searched the FAQ and this topic is not covered. I am well experienced in Linux, but not in Eclipse nor Java nor development platforms.

My system is a Dell Latitude notebook running Kubuntu 7.1 Gutsy Gibbon

I installed eclipse-java-europa-fall2-linux-gtk.tar.gz into /usr/local/eclipse/. I had previously installed jdk-1_5_0_13-linux-i586.bin.

I have set $JAVA_HOME to /usr/local/jdk1.5.0_13 where I installed it.

When I try to start Eclipse, I get an error "Incompatible JVM - Version 1.4.2-02 of the JVM is not suitable for this product. Version 1.5 or greater is required".

Where do I set this.


As Chris A. noted, you can specify the JVM in the command that starts Eclipse.


If you want to make the Sun JVM your default JVM (I did), you might try

sudo update-alternatives --config java

(and pick the Sun JVM). After I did that, I was able to start Eclipse with just 'eclipse' and get the right JVM. There's a HOWTO at http://ubuntuforums.org/showthread.php?t=76702.

/Paul