Is it possible to use Java 7 with IBM WebSphere Application Server 8.5 Trial

前端 未结 2 976
星月不相逢
星月不相逢 2021-02-13 18:24

I have installed WAS 8.5 Trial version on Windows 7. I would like to deploy and run Java 7 application. Is it possible to do it?

I can not see \"IBM We

2条回答
  •  执念已碎
    2021-02-13 18:50

    Firstly install the JDK 1.7 or any required version supported.(find the available using the command - managesdk.bat -listAvailable)

    Then Go to the Installed WAS Server DIR and then navigate to bin folder

    C:\Program Files (x86)\IBM\WebSphere\AppServer\profiles\AppSrv02\bin

    For ALL Profiles

    managesdk -enableProfileAll -sdkname SDK_Name -enableServers
    

    From there execute this command(In Windows)

    C:\Program Files (x86)\IBM\WebSphere\AppServer_2\profiles\AppSrv02\bin>managesdk
    .bat -enableProfile -profileName AppSrv02 -sdkname 1.7_64
    

    It gives this message to confirm. CWSDK1017I: Profile AppSrv02 now enabled to use SDK 1.7_64. CWSDK1001I: Successfully performed the requested managesdk task.

    (In Linux)

    /opt/IBM/WebSphere/WSRR/v8.5/bin/managesdk.sh -enableProfile -profileName AppSrv02 -sdkname 1.7_64
    

    Note: AppSrv02 is the server name used in my local. Replace the name with your actual thing.

提交回复
热议问题