Skip to Content
avatar image
Former Member

SAP CLOUD PLATFORM _deployment

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

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Apr 20, 2017 at 10:29 PM

    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

    Add comment
    10|10000 characters needed characters exceeded