Solaris installation JDK

Source: Internet
Author: User

http://blog.csdn.net/cymm_liu/article/details/46966237

Organize your blog from seniors: http://segmentfault.com/a/1190000000602259

Http://serverfault.com/questions/71268/how-do-you-install-a-jdk6-on-solaris10-sparc-64bits
http://onlineappsdba.com/index.php/2009/11/23/how-to-install-weblogic-server-on-64-bit-os-linux-solaris/

Actual installation process

Oracle Website Downloads JDK
Http://www.oracle.com/technetwork/java/javase/downloads/java-archive-downloads-javase6-419409.html

Let's say we want to install a version of 1.6.0_45, and the parts that need to be downloaded are:

The JDK on Solaris is special, unlike other platforms (Windows,linux) 32bit and 64bit, which provide a stand-alone installation package, the 64bit JDK on the Solaris platform is extended installation on the basis of the 32bit JDK, So you need to download both 32bit and 64bit installation packages at the same time.

The installation file in the. sh format makes it easy to install the JDK in a custom path.

Steps to use after installation

After the installation is complete, you can see the following information in the installation directory using java-version:

bash-3.00# /space/pablo/jdk64/jdk1.6.0_45/bin/java -versionjava version "1.6.0_45"Java(TM) SE Runtime Environment (build 1.6.0_24-b07)Java HotSpot(TM) Server VM (build 19.1-b02, mixed mode)

Strange, why did not show out 64bit JDK, originally Solaris, to add a "-d64" parameter, in order to use the 64bit JDK. Examples are as follows:

bash-3.00# /space/pablo/jdk64/jdk1.6.0_45/bin/java -d64 -versionjava version "1.6.0_45"Java(TM) SE Runtime Environment (build 1.6.0_24-b07)Java HotSpot(TM) 64-Bit Server VM (build 19.1-b02, mixed mode)

Following this push, when installing 64bit WebLogic on the Solaris platform, you also need to add "-d64" parameters, for example:

java -d64 -jar wls1036.jar

 

Solaris installation JDK

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.