on 12-09-2009 10:32 AM
Hi experts!
I try to work under SAP NW CE 7.11
I've this error message in the browser after the deploying phase:
The initial exception that caused the request to fail, was:
java.lang.UnsupportedClassVersionError: com/sap/examples/calendarcomp/wdp/InternalCalendarComp : Unsupported major.minor version 50.0
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:676)
at com.sap.engine.boot.loader.ResourceMultiParentClassLoader.loadClassLocal(ResourceMultiParentClassLoader.java:183)
at com.sap.engine.boot.loader.MultiParentClassLoader.findClassInLoaderGraph(MultiParentClassLoader.java:312)
at com.sap.engine.boot.loader.MultiParentClassLoader.loadClass(MultiParentClassLoader.java:271)
... 68 more
My configuraton in NWDS under preferences -> java -> compiler -> compiler compliance level : 6.00
my java -version: 1.6.0_17
java hotspot 14.3-b01
I've dowloaded a Webdynpro from sdn tutorial:
I've imported the project and run and deployed it but it give me the error above.
Is it a problem with my workstation java configuration?
Thanx.
Andrea Scalfaro
You have to compile your application with compatibility mode 5.0 or with JDK 5. When working with DCs there is a separate setting in the DC perspective to use the JDK 5 compiler.
Armin
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Check the java version in your server and in your NWDS. This issue comes if you are compiling the code in a higher version of java and running it in a lower version. There seems to be mismatch between the JRE used in NWDS and in the server.
Regards,
Ponraj M
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Ponraj,
Here my java on server:
Java VM SAP Java Server VM, version:5.1.036, vendor: SAP AG
Here my java -version on workstation:
1.6.0_17
java hotspot 14.3-b01
I've tried to downgrade into preferences->java-->compiler jdk compleance from 6.0 to 5.0 but it give me the error yet.
On my workstation i found many java installation but in SAPNDWS.ini file it is called this version:
C:\Programmi\Java\jdk1.6.0_17\bin\javaw.exe
Regards,
Andrea
please find my configuration as part NWDS,
i placed my jawaw.exe in this folder,
C:\j2sdk1.4.2_13\bin\javaw.exe
and the target: "C:\Program Files\SAP\IDE\IDE70\eclipse\SapIde.exe" -vm "C:\j2sdk1.4.2_13\bin\javaw.exe"
then its working, before that i placed in the program files, due to some reason its not working
Cheers,
Apparao
hi
check with your java version , i guess there are java installations in your system are less than what is supporting the
NWDS 7.1 version . or there may be case of mutliple java versions installed in your system .
please check that .
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Andrea,
Are you using NWDS 7.1? You should.
Regards,
Jan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Himanshu,
Here my server information:
Server
Web Dynpro Runtime vendor: 'sap.com', name: 'tc/wd/webdynpro', location: 'SAP AG', counter: xxxxxxxxxxxxx', change number: '57570', codeline: NW711_03_REL
J2EE Engine 7.11.3710.48555.20090609090212
System ID (SID) DDD
Server Node ID |4071650|40716|Server 00 00_40716|xxxx/xx.xxx.xx.16|SERVER|RUNNING
Java VM SAP Java Server VM, version:5.1.036, vendor: SAP AG
Operating system AIX, version: 5.3, architecture: ppc64
Regards,
Andrea
Edited by: Andrea Scalfaro on Dec 9, 2009 2:23 PM
User | Count |
---|---|
86 | |
10 | |
9 | |
9 | |
9 | |
6 | |
6 | |
5 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.