Incompatible JVM [message #240461] |
Mon, 12 November 2007 17:24  |
Eclipse User |
|
|
|
Originally posted by: flaflashr.yahoo.com
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.
My next question is likely to be "how do I configure Apache-Tomcat so that
Eclipse invokes it?"
Thanks,
Jim
|
|
|
|
Re: Incompatible JVM [message #240476 is a reply to message #240461] |
Mon, 12 November 2007 18:33  |
Eclipse User |
|
|
|
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
|
|
|
Powered by
FUDForum. Page generated in 0.08040 seconds