此内容没有您所选择的语言版本。

Chapter 4. Installing JBoss Web Server on Solaris


4.1. Installing a Java Development Kit (JDK)

Before installing Red Hat JBoss Web Server on Solaris, you must first install a supported Java Development Kit (JDK).

Important

JBoss Web Server 3 support for Solaris is limited to the Oracle JDK (1.7 and 1.8) on Solaris 10 and Solaris 11.

Procedure 4.1. Installing Java

  1. Download the Oracle JDK 1.7 or 1.8 for your operating system and architecture. You can download the JDK installation file from the Oracle website: http://www.oracle.com/technetwork/java/javase/downloads/index.html.
  2. Run the Java installation file.
  3. Open /usr at a shell prompt, and run the following command to display the current Java symbolic link:
    ls -lad java
    Copy to Clipboard Toggle word wrap
  4. Remove the link:
    rm java
    Copy to Clipboard Toggle word wrap
  5. Create a Java symbolic link to the newly installed JDK:
    ln -sf /usr/jdk/<JDK>
    Copy to Clipboard Toggle word wrap
返回顶部
Red Hat logoGithubredditYoutubeTwitter

学习

尝试、购买和销售

社区

关于红帽文档

通过我们的产品和服务,以及可以信赖的内容,帮助红帽用户创新并实现他们的目标。 了解我们当前的更新.

让开源更具包容性

红帽致力于替换我们的代码、文档和 Web 属性中存在问题的语言。欲了解更多详情,请参阅红帽博客.

關於紅帽

我们提供强化的解决方案,使企业能够更轻松地跨平台和环境(从核心数据中心到网络边缘)工作。

Theme

© 2025 Red Hat