简体   繁体   English

websphere 8.5.5.6服务器有java 6和7但我需要java 8如何将java sdk添加到现有的websphere服务器

[英]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. 我在我的系统中安装了8.5.5.6。 when i am trying to add in eclipse its showing Jre run-time environment as 当我试图在eclipse中添加它显示Jre运行时环境时

  1. Web sphere application server java 1.6, 64 bit and Web sphere应用服务器java 1.6,64位和
  2. Web sphere application server java 1.7, 64 bit Web sphere应用服务器java 1.7,64位

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 但我需要处理已经安装的java 1.8,但服务器jre不存在默认的java 1.7我的问题是如何在Web领域添加或升级Java 1.8

when i tried to run the server its showing below error: 当我试图运行服务器时显示以下错误:

WebSphere Application Server error WebSphere Application Server error WebSphere Application Server错误WebSphere Application Server错误

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. xxxxxx项目使用Java SDK 8构建,Java SDK 8与在Java SDK 7上运行的服务器不兼容。尝试在更高版本的WebSphere Application Server上发布应用程序。 Or try increasing the JRE of the server, if you are using WebSphere Application Server V8.5. 或者,如果您使用的是WebSphere Application Server V8.5,请尝试增加服务器的JRE。 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. xxxx项目使用Java SDK 1.8构建,Java SDK 1.8与在Java SDK 7上运行的服务器不兼容。尝试在更高版本的WebSphere Application Server上发布应用程序。 Or try increasing the JRE of the server, if you are using WebSphere Application Server V8.5. 或者,如果您使用的是WebSphere Application Server V8.5,请尝试增加服务器的JRE。 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. xxxxxx项目使用Java SDK 1.8构建,Java SDK 1.8与在Java SDK 7上运行的服务器不兼容。尝试在更高版本的WebSphere Application Server上发布应用程序。 Or try increasing the JRE of the server, if you are using WebSphere Application Server V8.5. 或者,如果您使用的是WebSphere Application Server V8.5,请尝试增加服务器的JRE。

Java 8 is only supported by WebSphere Liberty 8.5.5.6. WebSphere 8仅受WebSphere Liberty 8.5.5.6支持。 If you use the WebSphere Application Server Full Profile, only Java 7 and 6 are supported. 如果使用WebSphere Application Server完整配置文件,则仅支持Java 7和6。

Java 8 is now available on Full WAS 8.5.5.9. Java 8现已在Full WAS 8.5.5.9上提供。 It can be downloaded from here . 它可以从这里下载。 Java 8 is only supported on these Operating Systems . Java 8仅在这些操作系统上受支持。

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 现在,8.5.5.9修订包根据以下文档在WebSphere经典概要文件中支持Java 8: 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) WebSphere 8.5.5 Java 8.0(仅来自8.5.5.5的Liberty,来自8.5.5.9的Classic WebSphere)

This is what I did. 这就是我做的。 I hope it will help future users. 我希望它能帮助未来的用户。

1) I upgraded to 8.5.5.10 1)我升级到8.5.5.10
2) Go to below page 2)转到下面的页面
http://www-01.ibm.com/support/docview.wss?uid=swg24042600#SDK80 http://www-01.ibm.com/support/docview.wss?uid=swg24042600#SDK80
and then click on first link ("Java SDK 8.0.3.0 ..." link) 然后单击第一个链接(“Java SDK 8.0.3.0 ...”链接)
3) Click to download appropriate file. 3)单击以下载相应的文件。 (for Windows, 8.0.3.0-WS-IBMWASJAVA-Win.zip) (对于Windows,8.0.3.0-WS-IBMWASJAVA-Win.zip)
4) Extract the file to some location 4)将文件解压缩到某个位置
5) Open IBM installation manager and configure the repository as above location 5)打开IBM安装管理器并将存储库配置为上述位置
6) Then click on Install link on installation manager 6)然后单击安装管理器上的“安装”链接
7) Select appropriate update (IBM Java SDK for app. server) 7)选择适当的更新(适用于应用程序服务器的IBM Java SDK)
8) Then just go further to install successfully 8)然后再进一步安装成功
9) Start the server and go the below path 9)启动服务器并转到以下路径
Application servers > server1 > Java SDKs You will see now both Java 8 as well as Java 6. 应用程序服务器> server1> Java SDK现在您将看到Java 8和Java 6。
10) Select Java 8 and click on make default. 10)选择Java 8并单击make default。
11) Restart the server. 11)重启服务器。
12) Thats it 12)多数民众赞成

  1. Go to path where websphere is installed C:\\IBM\\WebSphere\\AppServer85\\bin 转到安装了websphere的路径C:\\ IBM \\ WebSphere \\ AppServer85 \\ bin

  2. managesdk.bat –listAvailabl managesdk.bat -listAvailabl

  3. managesdk.bat -listEnabledProfile -profileName {Profile name ex - AppSrv01 } -verbose 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 managesdk.bat -enableProfile -profileName {profile name ex - AppSrv01} -sdkname 1.7_32 {或1.7_64} -enableServers

  5. Close RAD (if it is open) 关闭RAD(如果它是打开的)

  6. Reopen RAD 重新打开RAD
  7. Right click the server configured with JDK 7 runtime in the servers view > Properties > WebSphere Application Server. 在服务器视图>属性> WebSphere Application Server中右键单击使用JDK 7运行时配置的服务器。

The JVM Version should now be at the value of sdkname (for example 1.7_64 as seen below): JVM版本现在应该是sdkname的值(例如,如下所示1.7_64):

  1. Publish your application in RAD 在RAD中发布您的应用程序

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 如何在 websphere 应用服务器(WAS)中添加 java 14 - how to add java 14 in websphere app server(WAS) Java Servlet-2.3在Websphere Liberty Profile 8.5.5.6中不起作用 - Java Servlet-2.3 not working in Websphere Liberty Profile 8.5.5.6 Java WebService-WebSphere Application Server - Java WebService - WebSphere Application Server 如何将Java类修补/复制到本地WebSphere服务器? - How can I patch/copy java classes to local WebSphere server? WebSphere Application Server for Developers与IBM WebSphere SDK Java 7 for Liberty和完整概要文件的区别 - difference for WebSphere Application Server for Developers VS IBM WebSphere SDK Java 7 for Liberty and Full profile WebSphere Application Server / java.lang.ClassCastException - WebSphere Application Server / java.lang.ClassCastException 安装Websphere Application Server时找不到Java - Java not found while installing Websphere Application Server 测试用户是否已通过身份验证Java过滤器Websphere 8服务器 - Testing if user is authenticated java filter Websphere 8 server WebSphere Application Server 6.1对Java 1.6的支持? - WebSphere Application Server 6.1 support for Java 1.6? Java Timer不会在Websphere服务器上触发 - Java Timer doesn't fire at Websphere server
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM