|Bad Major Version [message #911205]
||Tue, 11 September 2012 03:26
| Bob NIcholson
Registered: December 2011
I'm getting the following error when trying to call an RPG service on my iSeries:|
java.lang.UnsupportedClassVersionError:JVMCFRE003 bad major version; class=server/CallRpgService, offset=6 (unable to load class server.CallRpgService)
The call works from the workbench and when running on an external browser with local host. However, when I deploy the war file to my iSeries running Tomcat 6.03, I get the error.
I've set the work bench property for Java compiler to 1.7, 1.6 and 1.5 and re built everything without any affect. I'm running and external version of Apache Tomcat 6.03 on my iSeries. But, I'm assuming this is not the problem at this point.
on the iseries I have:
5761JV1 *COMPATIBLE IBM Developer Kit for Java
5761JV1 *COMPATIBLE J2SE 5.0 32 bit
5761JV1 *COMPATIBLE J2SE 5.0 64 bit
5761JV1 *COMPATIBLE Java SE 6 32 bit
5761JV1 *COMPATIBLE Java SE 6 64 bit
I'm not sure if I'm looking at the proper settings.
Thanks for any help.