Class file has wrong version

Hi Everyone:

I purchased IntelliJ 6.0.1. I am having a troubling time trying to solve this problem. Does anyone have an idea of how to fix this. The worst part is I am at a client site.

cannot access javax.jms.Queue
bad class file: C:\Program Files\JetBrains\IntelliJ IDEA 6.0\lib\javaee.jar(javax/jms/Queue.class) class hfile has wrong version 49.0,should be 48.0
Please remove or make sure it appears in the correct subdirectory of the classpath.

thanks,

Southin

3 comments

Use JDK 1.5 for running IDEA.

Southin Simphoukham wrote:

Hi Everyone:

I purchased IntelliJ 6.0.1. I am having a troubling time trying to solve this problem. Does anyone have an idea of how to fix this. The worst part is I am at a client site.

cannot access javax.jms.Queue
bad class file: C:\Program Files\JetBrains\IntelliJ IDEA 6.0\lib\javaee.jar(javax/jms/Queue.class) class hfile has wrong version 49.0,should be 48.0
Please remove or make sure it appears in the correct subdirectory of the classpath.

thanks,

Southin



--
Best regards,
Maxim Mossienko
IntelliJ Labs / JetBrains Inc.
http://www.intellij.com
"Develop with pleasure!"

0

Thank you for the reply. I am using IntelliJ 6.0.1 to with a Java 1.4 SE SDK. I need to deploy to a Java 1.4 environment. If I switch the IntelliJ SDK to 1.5 will that make incompatible to deploy my code to a 1.4 environment?

Southin

0

Please, uncomment following property in idea.properties, this may help
when using IDEA with JDK 1.5

#----


  1. Switch into JMX 1.0 compatible mode

  2. Uncomment this option to be able to run IDEA using J2SDK 1.5 while working

  3. with application servers (like WebLogic) running 1.4

#----


#jmx.serial.form=1.0

Southin Simphoukham wrote:

Thank you for the reply. I am using IntelliJ 6.0.1 to with a Java 1.4 SE SDK. I need to deploy to a Java 1.4 environment. If I switch the IntelliJ SDK to 1.5 will that make incompatible to deploy my code to a 1.4 environment?

Southin



--
Best regards,
Maxim Mossienko
IntelliJ Labs / JetBrains Inc.
http://www.intellij.com
"Develop with pleasure!"

0

Please sign in to leave a comment.