How to install Oracle JDK 7 in Solaris SPARC?

You might say that this could be unrelated but as WebLogic Server is supported in Solaris, I though it was a nice post for the Solaris users.

If you want to install Oracle JDK in most of the platforms, you just need to download the installer, un-compress it and run it.

The answer might be tricky for some of us not used to Solaris SPARC installers.

1. Download your JDK here: 

http://www.oracle.com/technetwork/es/java/javase/downloads/index.html

e.g: download: 

jdk-7u60-solaris-sparc.tar.gz
jdk-7u60-solaris-sparcv9.tar.gz

 2. Just copy the 2 files to one folder:

e.g:
jdk-7u60-solaris-sparc.tar.gz
jdk-7u60-solaris-sparcv9.tar.gz

3. un compress both files in the same folder

tar fxvz jdk-7u60-solaris-sparc.tar.gz
tar fxvz jdk-7u60-solaris-sparcv9.tar.gz

4. change to the directory

cd jdk1.7.0_60/bin

5. Enjoy your new Oracle JDK

./java -d64 -version  

That will do the trick!

Remember, if possible try using the latest JDK update you have available, so you can take advantage of the bugs and security fixes that are included in the latest releases.

References:

http://docs.oracle.com/javase/7/docs/webnotes/install/solaris/solaris-jdk.html#install-archive

 Enjoy!

Comments:

Post a Comment:
  • HTML Syntax: NOT allowed
About


My name is Luz Mestre. I work as Principal Technical Support Engineer at Oracle Support. I'll post here the most interesting challenges I have in my daily work. The views expressed on this blog are my own and do not necessarily reflect the views of Oracle.

Search

Categories
Archives
« May 2015
SunMonTueWedThuFriSat
     
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
      
Today