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

i on my system was 8.5.5.6. when i try to add to eclipse its showing the Jre runtime as

  • Java 1.6 web sphere application server, 64 bit and
  • Java 1.7 web sphere application server, 64 bit

But I need to work with java 1.8 which is already installed, but the jre server does not exist by default java 1.7 there is my question is how to add or update Java 1.8 in the web realm.

when i tried to start the server 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 a server running Java SDK 7. Try publishing your applications to a later version of WebSphere Application Server. Or try increasing the server JRE if you are using WebSphere Application Server V8.5. Project xxxx is built with Java SDK 1.8, which is not compatible with a server running Java SDK 7. Try publishing your application to a later version of WebSphere Application Server. Or try increasing the server JRE if you are using WebSphere Application Server V8.5. The Xxxxxx project is built with Java SDK 1.8, which is incompatible with a server running Java SDK 7. Try publishing your application to a later version of WebSphere Application Server. Or try increasing the server JRE if you are using WebSphere Application Server V8.5.

+3


source to share


5 answers


Java 8 is only supported by WebSphere Liberty 8.5.5.6. If you are using the full WebSphere Application Server profile, only Java 7 and 6 are supported.



+3


source


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 .



+2


source


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

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

+1


source


This is what I did. I hope this helps future users.

1) I have updated to 8.5.5.10
2) Go to the page below

http://www-01.ibm.com/support/docview.wss?uid=swg24042600#SDK80
and then click on the first link ("Java SDK 8.0.3.0 ... ")
3) Click to download the corresponding file. (for Windows, 8.0.3.0-WS-IBMWASJAVA-Win.zip)
4) Extract the file to a specific location
5) Open the IBM Installation Manager and configure the repository as above. 6) Then click "Install link" in the installation manager
7) Select the appropriate update (IBM Java SDK for Application Server)
8) Then just go ahead to install successfully
9) Start the server and go to the following path
 Application Servers> server1> Java SDK You will now see both Java 8 and Java 6.
10) Select Java 8 and click Set as Default.
11) Reboot the server.
12) Thats it

+1


source


  • Navigate to the path where the web page is installed C: \ IBM \ WebSphere \ AppServer85 \ BIN

  • managesdk.bat -listAvailabl

  • managesdk.bat -listEnabledProfile -profileName {Profile name ex-AppSrv01} -verbose
  • managesdk.bat -enableProfile -profileName {Profile name ex-AppSrv01} -sdkname 1.7_32 {or 1.7_64} -enableServers

  • Close RAD (if open)

  • Reopen RAD
  • Right-click the server configured with the JDK 7 runtime in the servers view> Properties> WebSphere Application Server.

The JVM version should now be sdkname (e.g. 1.7_64 as shown below):

  1. Publish your application to RAD
-1


source







All Articles