Class file has wrong version

This is a discussion on Class file has wrong version within the J2EE forums in Framework and Interface Programming category; 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 ...

Go Back   Application Development Forum > Framework and Interface Programming > J2EE

Object Mix

Register FAQ Calendar Search Today's Posts Mark Forums Read
  #1  
Old 10-20-2006, 01:51 PM
Maxim Mossienko (JetBrains)
Guest
 
Default Re: Class file has wrong version

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!"
Reply With Quote
  #2  
Old 10-20-2006, 02:25 PM
Maxim Mossienko (JetBrains)
Guest
 
Default Re: Class file has wrong version

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

#-----------------------------------------------------------------------
# Switch into JMX 1.0 compatible mode
# Uncomment this option to be able to run IDEA using J2SDK 1.5 while working
# 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!"
Reply With Quote
  #3  
Old 08-29-2007, 12:38 PM
Southin Simphoukham
Guest
 
Default 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
Reply With Quote
  #4  
Old 08-29-2007, 12:38 PM
Southin Simphoukham
Guest
 
Default Re: Class file has wrong version

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
Reply With Quote
  #5  
Old 04-29-2008, 03:14 PM
Junior Member
 
Join Date: Apr 2008
mangalapaib is on a distinguished road
Default Re: Class file has wrong version

I have the same problem too...any solution for this issue ?
Reply With Quote
Reply


Thread Tools
Display Modes


All times are GMT -5. The time now is 04:48 PM.


Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
vB Ad Management by =RedTyger=

In an effort to better serve ads to our visitors, cookies are used on objectmix.com. For more information, check out our Privacy Policy.