Is there a chance to make Idea EAP works on linux?

I have the same old problem: Linux (Slackware 10.1), IDEA 3235 and JRE-3136.
JRE was unpacked according to INSTALL.TXT, idea3235 too. When I try to run
idea.sh.....
"java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at
com.intellij.ide.plugins.PluginManager$5.run(PluginManager.java:8)
at java.lang.Thread.run(Thread.java:534)
Caused by: java.lang.UnsupportedClassVersionError: com/sun/jdi/Field
(Unsupported major.minor version 49.0)
at java.lang.ClassLoader.defineClass0(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:539)
at java.lang.ClassLoader.defineClass(ClassLoader.java:448)
at
com.intellij.ide.plugins.cl.IdeaClassLoader.a(IdeaClassLoader.java:40)
at
com.intellij.ide.plugins.cl.IdeaClassLoader.findClass(IdeaClassLoader.java:12)
at java.lang.ClassLoader.loadClass(ClassLoader.java:289)
at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:141)
at com.intellij.idea.Main.checkJdkVersion(Main.java:55)
at com.intellij.idea.Main.checkStartupPossible(Main.java:8)
at com.intellij.idea.Main.start(Main.java:59)
... 6 more
ERROR:
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at
com.intellij.ide.plugins.PluginManager$5.run(PluginManager.java:8)
at java.lang.Thread.run(Thread.java:534)
Caused by: java.lang.UnsupportedClassVersionError: com/sun/jdi/Field
(Unsupported major.minor version 49.0)
at java.lang.ClassLoader.defineClass0(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:539)
at java.lang.ClassLoader.defineClass(ClassLoader.java:448)
at
com.intellij.ide.plugins.cl.IdeaClassLoader.a(IdeaClassLoader.java:40)
at
com.intellij.ide.plugins.cl.IdeaClassLoader.findClass(IdeaClassLoader.java:12)
at java.lang.ClassLoader.loadClass(ClassLoader.java:289)
at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:141)
at com.intellij.idea.Main.checkJdkVersion(Main.java:55)
at com.intellij.idea.Main.checkStartupPossible(Main.java:8)
at com.intellij.idea.Main.start(Main.java:59)
... 6 more
ERROR:
java.lang.AssertionError:
at
com.intellij.openapi.diagnostic.DefaultLogger.error(DefaultLogger.java:33)
at com.intellij.openapi.diagnostic.Logger.error(Logger.java:46)
at
com.intellij.ide.plugins.PluginManager$5.run(PluginManager.java:4)
at java.lang.Thread.run(Thread.java:534)
"........

I have switched the idea jrea (3136) with jre from jdk 1.5.0_01... now it
starts but I got an error dialog with something like "The JDK version is
1.5.0_01. IDEA requires 1.4.2_06".

Can you help me?
Thanks,
Adi

2 comments
Comment actions Permalink

I run idea in linux all the time, so do lots of other people.

Caused by: java.lang.UnsupportedClassVersionError: com/sun/jdi/Field
(Unsupported major.minor version 49.0)

Indicates that you are trying to start idea with a 1.5 jvm. Don't. Use the bundled jvm and it'll run like a charm.

0
Comment actions Permalink

Caused by: java.lang.UnsupportedClassVersionError: com/sun/jdi/Field
(Unsupported major.minor version 49.0)

Indicates that you are trying to start idea with a 1.5 jvm. Don't. Use the bundled jvm and it'll run like a charm.


I would say, he is using 1.4 vm with a 1.5-jar in the classpath.

Tom

0

Please sign in to leave a comment.