cancel
Showing results for 
Search instead for 
Did you mean: 

SAP CLOUD PLATFORM _deployment

Former Member
0 Kudos

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

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member197689
Active Participant
0 Kudos

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