on 02-13-2008 7:24 AM
Hi,
I ve intstalled SAP NetWeaver 7.1 Composition Environment.But when i deployed a sample application given in NWDS.
Im getting the following error:
java.lang.UnsupportedClassVersionError: Bad version number in .class file
What could be the possibel reason for this error?
I have the server installed as a local host. How do i set the preferences for the SAP J2EE engine in the NWDS?
Regards,
Padmalatha.K
Points will be rewarded.
Hi,
I checked the Compiler Compliance Level. It is set to 6.0 by default.
I deselected the Use Default Compliance Settings and set the Generated .class files compatibilty and Source Compatibility to 6.0.
Even after that, iam getting the same error.
Regards,
Padmalatha.K
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi All,
I also faced the same problem and even after changing the compliance level to 5.0 it did not get solved.
But finally I after changing the JDK path which the eclipse would use to start it worked.
The path can be changed in the SapNetweaverDeveloperStudio.ini file in NWDS CE which resides in the home eclipse folder.
Regards,
Ameya
Hi,
Iam using JDK 1.6.
Regards,
Padmalatha.K
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Do i need to add JDK 1.5 only? We have added JDK 1.6. Is this version of JDK compatible with NWDS?
Regards,
Padmalatha.K
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Go to Window->Preferences->Java->Installed JREs and and the Jdk 1.5 version.
Regards
Ayyapparaj
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi ..
This is becaus u r having different JDK versions installed.
Go to windows->preferences->SAP j2ee engine->Messa host , port( u r server information)
GS
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
10 | |
10 | |
10 | |
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.