Skip to Main Content

Java SE (Java Platform, Standard Edition)

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

rt.jar Wrong version?

843804May 24 2005 — edited Aug 3 2005
Greetings, I have this Internal Frame SWING UI that works on my other computer perfectly, I copied the .java to this one that has the latest JDK 1.5.0_03, but whenever I try to compile it, this error comes up

"Eliminar.java": C:\Documents and Settings\progweb\jbproject\apoyo\Eliminar.java:7: cannot access javax.swing.JInternalFrame,bad class file: C:\Program Files\Java\jdk1.5.0_03\jre\lib\rt.jar(javax/swing/JInternalFrame.class),class file has wrong version 49.0, should be 48.0,Please remove or make sure it appears in the correct subdirectory of the classpath. at line 7


I browsed through rt.jar and JInternalFrame IS inside.

I get issues with ANY SWING Component, JInternalFrame, JDIalog, etc it says the same rt.jar wrong version.

Comments

Timo Hahn

How should we know?

We don't even know what third party library you are talking about.

Have t you tried to put out in the same directory as you would do for tomcat?

Timo

dvohra21

What is the WLS version? WLS doesn't make use of config.xml for third party jars. For JDBC drivers jars refer

Using Third-Party JDBC Drivers with WebLogic Server

For other jars refer

Understanding WebLogic Server Application Classloading - 12c Release 1 (12.1.1)

1 - 2
Locked Post
New comments cannot be posted to this locked post.

Post Details

Locked on Aug 31 2005
Added on May 24 2005
14 comments
296 views