Idea b7346 doesn't start

Idea b7346 doesn't start on Linux:
-


$ echo $JDK_HOME
/usr/java/default/
$ java -version
java version "1.5.0_11"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_11-b03)
Java HotSpot(TM) Client VM (build 1.5.0_11-b03, mixed mode, sharing)
$ cd /opt/idea-7346/bin/
$ ./idea.sh
Exception in thread "main" java.lang.UnsupportedClassVersionError: Bad version number in .class file
at java.lang.ClassLoader.defineClass2(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:719)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:160)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:254)
at java.net.URLClassLoader.access$100(URLClassLoader.java:56)
at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:268)
at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
-


I use Fedora 7. Idea b7126 starts ok. What's wrong?

3 comments

Hello Deady,

You'll need either to set JDK_HOME to a Java 1.6 installation, or download
the archive built with JDK 1.5 from the EAP page.

Idea b7346 doesn't start on Linux:
----------------------------------------------------------------------
-------------------------------------------------
$ echo $JDK_HOME
/usr/java/default/
$ java -version
java version "1.5.0_11"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_11-b03)
Java HotSpot(TM) Client VM (build 1.5.0_11-b03, mixed mode, sharing)
$ cd /opt/idea-7346/bin/
$ ./idea.sh
Exception in thread "main" java.lang.UnsupportedClassVersionError: Bad
version number in .class file
at java.lang.ClassLoader.defineClass2(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:719)
at
java.security.SecureClassLoader.defineClass(SecureClassLoader.java:160
)
at
java.net.URLClassLoader.defineClass(URLClassLoader.java:254)
at java.net.URLClassLoader.access$100(URLClassLoader.java:56)
at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at
sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:268)
at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
at
java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
----------------------------------------------------------------------
-------------------------------------------------
I use Fedora 7. Idea b7126 starts ok. What's wrong?

--
Dmitry Jemerov
Development Lead
JetBrains, Inc.
http://www.jetbrains.com/
"Develop with Pleasure!"


0

ok. update please these lines in idea.sh script.
??????? :)

  1. ---------------------------------------------------------------------

  2. Before you run IntelliJ IDEA specify the location of the

  3. JDK 1.5 installation directory which will be used for running IDEA

  4. ---------------------------------------------------------------------

0

Hello Deady,

Fixed, thanks.

ok. update please these lines in idea.sh script.
??????? :)
#
---------------------------------------------------------------------

  1. Before you run IntelliJ IDEA specify the location of the

  2. JDK 1.5 installation directory which will be used for running IDEA

#
---------------------------------------------------------------------

--
Dmitry Jemerov
Development Lead
JetBrains, Inc.
http://www.jetbrains.com/
"Develop with Pleasure!"


0

Please sign in to leave a comment.