简体   繁体   中英

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

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.

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.

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 .

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)

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

  1. Go to path where websphere is installed C:\\IBM\\WebSphere\\AppServer85\\bin

  2. managesdk.bat –listAvailabl

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

  5. Close RAD (if it is open)

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

The JVM Version should now be at the value of sdkname (for example 1.7_64 as seen below):

  1. Publish your application in RAD

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM