Which Solaris java version do I use?

How do I tell what Solaris I have 64 or 86? all I have is the prompt..

$ uname -a
SunOS ourservername 5.10 Generic_142900-15 sun4u sparc SUNW,Sun-Fire-480R
Solaris 10 SPARC

Solaris x86 (SVR4 package)      139.93 MB          jdk-7u45-solaris-i586.tar.Z
 Solaris x86      95.02 MB          jdk-7u45-solaris-i586.tar.gz
 Solaris x64 (SVR4 package)      24.6 MB          jdk-7u45-solaris-x64.tar.Z
 Solaris x64      16.23 MB          jdk-7u45-solaris-x64.tar.gz
 Solaris SPARC (SVR4 package)      139.38 MB          jdk-7u45-solaris-sparc.tar.Z
 Solaris SPARC      98.17 MB          jdk-7u45-solaris-sparc.tar.gz
 Solaris SPARC 64-bit (SVR4 package)      23.91 MB          jdk-7u45-solaris-sparcv9.tar.Z
 Solaris SPARC 64-bit      18.26 MB          jdk-7u45-solaris-sparcv9.tar.gz
BILL CarlisleAPEX DeveloperAsked:
Who is Participating?
omarfaridConnect With a Mentor Commented:
please see commands in link below


you may run

uname -i
BILL CarlisleAPEX DeveloperAuthor Commented:
isainfo -b shows 64

My guess is
 Solaris SPARC 64-bit      18.26 MB          jdk-7u45-solaris-sparcv9.tar.gz
BILL CarlisleAPEX DeveloperAuthor Commented:
$ isainfo -v
64-bit sparcv9 applications

thank you for the Doc
BILL CarlisleAPEX DeveloperAuthor Commented:
The document had the needed command for my platform.
uname -i did nothing for me though..
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.