How to set JAVA_HOME in Websphere Application server 8.5

Since WAS 8.5 ships with IBM JDK6 by default, I installed IBM JDK7 using Installation Manager

But when I run my application, it takes IBM JDK6 instead of JDK7

Can someone please let me know how to set JAVA_HOME to take JDK7 instead of JDK6

Thanks in advance

+4
source share
4 answers

Use the documented managesdk command.

+8
source

You can change the SDK used by the server from the web console: select your server in the web console, then on the right, click on the "java SDK" and select the one you want

0
source

Take a look at the setupCmdLine.bat / sh file in the WAS installation directory. As far as I remember, you should be able to directly set JAVA_HOME (for example, JAVA_HOME = C: \ Program Files \ WebSphere \ AppServer \ java or JAVA_HOME = C: \ MyJDK)

-2
source

Yes Maciej,

I believe setupCmdLine.bat will help here.

Thanks Kusuma

-2
source

All Articles