具有 java 6 和 7 的 websphere 8.5.5.6 服务器,但我需要 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
我在我的系统中安装的是 8.5.5.6。当我试图在 eclipse 中添加它显示 Jre 运行-time 环境作为
- Web 领域应用程序服务器 java 1.6、64 位和
- Web 领域应用程序服务器 java 1.7,64 位
但我需要在 java 1.8 上工作,它已经安装但服务器 jre 不存在默认 java 1.7 在那里
我的问题是如何在 web sphere
中添加或升级 Java 1.8
当我尝试 运行 服务器时,它显示以下错误:
WebSphere 应用服务器错误
WebSphere 应用程序服务器错误
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 仅受 WebSphere Liberty 8.5.5.6 支持。如果您使用 WebSphere Application Server Full Profile,则仅支持 Java 7 和 6。
转到安装websphere的路径
C:\IBM\WebSphere\AppServer85\bin
managesdk.bat –listAvailabl
- managesdk.bat -listEnabledProfile -profileName {配置文件名称 ex - AppSrv01} -verbose
managesdk.bat -enableProfile -profileName {Profile name ex - AppSrv01 } -sdkname 1.7_32{or 1.7_64} –enableServers
关闭 RAD(如果它是打开的)
- 重新打开 RAD
- 在服务器视图中右键单击配置有 JDK 7 运行时的服务器 > 属性 > WebSphere Application Server。
JVM 版本现在应该是 sdkname 的值(例如 1.7_64,如下所示):
- 在 RAD 中发布您的应用程序
Java 根据此处的文档,8.5.5.9 修复包现在在 WebSphere 经典配置文件上支持 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)
Java 8 现在可用于 Full WAS 8.5.5.9。
可以从 here 下载。
Java 8 仅在 Operating Systems.
上受支持
这就是我所做的。希望对以后的用户有所帮助。
1) 我升级到 8.5.5.10
2) 转到下面的页面
http://www-01.ibm.com/support/docview.wss?uid=swg24042600#SDK80
然后点击第一个 link ("Java SDK 8.0.3.0 ..." link)
3) 点击下载合适的文件。 (对于 Windows、8.0.3.0-WS-IBMWASJAVA-Win.zip)
4) 将文件解压到某个位置
5) 打开 IBM 安装管理器并将存储库配置为上述位置
6) 然后在安装管理器
上单击安装 link
7) Select 适当更新(IBM Java SDK for app.server)
8) 然后再往前走就可以安装成功了
9) 启动服务器并进入以下路径
应用程序服务器 > server1 > Java SDK
您现在会同时看到 Java 8 和 Java 6。
10) Select Java 8 然后点击设为默认值。
11) 重启服务器。
12) 就是这样
我在我的系统中安装的是 8.5.5.6。当我试图在 eclipse 中添加它显示 Jre 运行-time 环境作为
- Web 领域应用程序服务器 java 1.6、64 位和
- Web 领域应用程序服务器 java 1.7,64 位
但我需要在 java 1.8 上工作,它已经安装但服务器 jre 不存在默认 java 1.7 在那里 我的问题是如何在 web sphere
中添加或升级 Java 1.8当我尝试 运行 服务器时,它显示以下错误:
WebSphere 应用服务器错误 WebSphere 应用程序服务器错误
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 仅受 WebSphere Liberty 8.5.5.6 支持。如果您使用 WebSphere Application Server Full Profile,则仅支持 Java 7 和 6。
转到安装websphere的路径 C:\IBM\WebSphere\AppServer85\bin
managesdk.bat –listAvailabl
- managesdk.bat -listEnabledProfile -profileName {配置文件名称 ex - AppSrv01} -verbose
managesdk.bat -enableProfile -profileName {Profile name ex - AppSrv01 } -sdkname 1.7_32{or 1.7_64} –enableServers
关闭 RAD(如果它是打开的)
- 重新打开 RAD
- 在服务器视图中右键单击配置有 JDK 7 运行时的服务器 > 属性 > WebSphere Application Server。
JVM 版本现在应该是 sdkname 的值(例如 1.7_64,如下所示):
- 在 RAD 中发布您的应用程序
Java 根据此处的文档,8.5.5.9 修复包现在在 WebSphere 经典配置文件上支持 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)
Java 8 现在可用于 Full WAS 8.5.5.9。 可以从 here 下载。 Java 8 仅在 Operating Systems.
上受支持这就是我所做的。希望对以后的用户有所帮助。
1) 我升级到 8.5.5.10
2) 转到下面的页面
http://www-01.ibm.com/support/docview.wss?uid=swg24042600#SDK80
然后点击第一个 link ("Java SDK 8.0.3.0 ..." link)
3) 点击下载合适的文件。 (对于 Windows、8.0.3.0-WS-IBMWASJAVA-Win.zip)
4) 将文件解压到某个位置
5) 打开 IBM 安装管理器并将存储库配置为上述位置
6) 然后在安装管理器
上单击安装 link
7) Select 适当更新(IBM Java SDK for app.server)
8) 然后再往前走就可以安装成功了
9) 启动服务器并进入以下路径
应用程序服务器 > server1 > Java SDK
您现在会同时看到 Java 8 和 Java 6。
10) Select Java 8 然后点击设为默认值。
11) 重启服务器。
12) 就是这样