Home > Net >  How to install JDK 11 on Solaris 11 AMD64
How to install JDK 11 on Solaris 11 AMD64

Time:08-17

Does JDK 11 support Solaris 11 AMD64? According to Installation of JDK on Oracle Solaris, JDK 11 is at least supported for Solaris 11 sparc, but the page does not explicitly say it is not supported for Solaris 11 AMD64.

Assuming the answer to the above question is yes, how can I install JDK 11 on Solaris 11 AMD64?

I know the page I linked to recommends installing from IPS packages, but although I looked at the details here, I couldn't find anything that I could provide to pkg install that would work. All the commands I tried failed - for example:

# pkg install jdk-11.0.1.0
Failed to set locale: unsupported locale setting.  Falling back to C.
pkg: Unable to set locale 'en_US.UTF-8'; locale package may be broken or
not installed.  Reverting to C locale.

pkg install: The following pattern(s) did not match any allowable packages.  Try
using a different matching pattern, or refreshing publisher information:

        jdk-11.0.1.0

I confirmed that I have pkg.oracle.com as a publisher origin, and the page I link to above says that this package is available through this publisher:

# pkg publisher
Failed to set locale: unsupported locale setting.  Falling back to C.
pkg: Unable to set locale 'en_US.UTF-8'; locale package may be broken or
not installed.  Reverting to C locale.
PUBLISHER                   TYPE     STATUS P LOCATION
solaris                     origin   online F http://pkg.oracle.com/solaris/release/

CodePudding user response:

tl;dr

If you want Java 11 on Solaris for AMD64, I found a release from Azul Systems but not from Oracle.

How to install? See this.

Details

Oracle Corp as a vendor

  • Related