on 02-02-2009 11:28 AM
Hi,
i 've created a java class using NetBean IDE 5.0 and used its jar in Webdynpro perspective. while running i got the following exception.
java.lang.UnsupportedClassVersionError: pack/execute (Unsupported major.minor version 49.0)
JDK version installed in my system is jdk1.5.0_14
Suggestions please...
Thanks,
RPN.
Hi,
required JDK for the NetBeans IDE and the profiler is JDK 1.5 and newer, see the Release Notes at
http://www.netbeans.org/community/releases/65/relnotes.html#req_sw. Also, the Attach Wizard which
generated the remote pack forced you to select JDK 1.5 and up.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
I hope you might have migrated your application to NWDS. After this did you compile your application?
Was their any errors?
Did you tried to build the same here?
Was that succeeded?
Do you have an ear or sca build for this?
How did you deploy this to the server?
What is the version oj java used by NWDS and WAS? Are they compatible?
Regards
Ayyapparaj
Hi RPN,
Just clean up all different java-Installations and additionally setting USER-Environment-Variable JAVA_HOME
Work with J2sdk1.4 version.
Hope this will help you.
Regards
Chander Kararia
Edited by: Chander Kararia on Feb 2, 2009 5:13 PM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi RPN,
Please do this:
Start the command prompt. type the following command: java -version
Note down the version it shows.
-
Now, on the command prompt, set the path to the bin folder of your j2sdk.
(Probably, c:\ j2sdkXXXX \ bin , XXXX -> is the version of yours)
then type the same command: java -version.
-
Let me the know BOTH the result.
Regards
Chander Kararia
Hi
So you have not tried it with jdk1.4 version. make sure you have jdk & not jre.
Now try this, it shall help you.
- Go to "My Computer" -> Properties
- Click the "Advanced" tab then go to "Environment Variables"
- Under "System Variables" click "New"
- In the new box enter JAVA_HOME for the name
- Enter the path to the JDK installation folder in the value field then click ok
Next:
- Under "System Variables" look for the entry "Path"
- Select it, then add the following separated by a semi-colon (
Also, change the order of your path to:
"C:\Program Files\Java\jdk1.5.0_07\bin";"C:\Program Files\Java\jdk1.5.0_07\lib\tools.jar";exiting_path
Change the path & version as per you. I suggest, try with both.
Regards
Chander Kararia
Hi,
The similar exception is sorted out at the following links:
/message/244199#244199 [original link is broken]
Regards.
Rajat
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
10 | |
10 | |
9 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.