websphere 8.5.5.6 server having java 6 and 7 but i need java 8 how to add java sdk to existing websphere server

14,381

Solution 1

Java 8 is only supported by WebSphere Liberty 8.5.5.6. If you use the WebSphere Application Server Full Profile, only Java 7 and 6 are supported.

Solution 2

Java 8 is now available on Full WAS 8.5.5.9. It can be downloaded from here. Java 8 is only supported on these Operating Systems.

Solution 3

Java 8 is now supported on WebSphere classic profile by the 8.5.5.9 fix pack according to the documentation here: http://www-01.ibm.com/support/docview.wss?rs=180&uid=swg27005002

WebSphere 8.5.5 Java 8.0 (Liberty only from 8.5.5.5, Classic WebSphere from 8.5.5.9)

Solution 4

This is what I did. I hope it will help future users.

1) I upgraded to 8.5.5.10
2) Go to below page
http://www-01.ibm.com/support/docview.wss?uid=swg24042600#SDK80
and then click on first link ("Java SDK 8.0.3.0 ..." link)
3) Click to download appropriate file. (for Windows, 8.0.3.0-WS-IBMWASJAVA-Win.zip)
4) Extract the file to some location
5) Open IBM installation manager and configure the repository as above location
6) Then click on Install link on installation manager
7) Select appropriate update (IBM Java SDK for app. server)
8) Then just go further to install successfully
9) Start the server and go the below path
Application servers > server1 > Java SDKs You will see now both Java 8 as well as Java 6.
10) Select Java 8 and click on make default.
11) Restart the server.
12) Thats it

Share:
14,381
saidesh kilaru
Author by

saidesh kilaru

Updated on June 04, 2022

Comments

  • saidesh kilaru
    saidesh kilaru almost 2 years

    i installed was 8.5.5.6 in my system. when i am trying to add in eclipse its showing Jre run-time environment as

    1. Web sphere application server java 1.6, 64 bit and
    2. Web sphere application server java 1.7, 64 bit

    But i need to work on java 1.8 which is already installed but server jre is not there default java 1.7 is there my question is how to add or upgrade Java 1.8 in web sphere

    when i tried to run the server its showing below error:

    WebSphere Application Server error WebSphere Application Server error

    The xxxxxx project is built with Java SDK 8, which is not compatible with the server running at Java SDK 7. Try publishing the application on a later version of WebSphere Application Server. Or try increasing the JRE of the server, if you are using WebSphere Application Server V8.5. The xxxx project is built with Java SDK 1.8, which is not compatible with the server running at Java SDK 7. Try publishing the application on a later version of WebSphere Application Server. Or try increasing the JRE of the server, if you are using WebSphere Application Server V8.5. The xxxxxx project is built with Java SDK 1.8, which is not compatible with the server running at Java SDK 7. Try publishing the application on a later version of WebSphere Application Server. Or try increasing the JRE of the server, if you are using WebSphere Application Server V8.5.