on 04-20-2017 2:39 AM
Hi... I have JSP application in eclipse neon., I am trying to deploy the application in to SAP COCKPIT , when i run the server in eclipse it shows below error
java version "1.8.0_121" Java(TM) SE Runtime Environment (build 1.8.0_121-b13) Java HotSpot(TM) Client VM (build 25.121-b13, mixed mode) Picked up _JAVA_OPTIONS: -Xmx512M JAVA version is not correct. The supported versions are 1.6 and 1.7.
Though, the application is deployed, but it has stopped with above error.... Is the 1.8 not the latest one..Also when i did intial setup it says 1.8 is valid one.... can some one please advise in this regard how to proceed? Thanks
Hi,
The sample code in your application was built on java runtime 1.6 or 1.7. You have the latest java runtime at 1.8. If you install an older version of the java runtime then the application will deploy correctly. Make sure you point your Eclipse to 1.6 or 1.7 before importing the codes.
Thanks,
Jin
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
89 | |
10 | |
9 | |
9 | |
9 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.