Does Sun JDK have 64 bit binaries?

Salman Ahmed fia_wrc_fanatic-/E1597aS9LQAvxtiuMwx3w at public.gmane.org
Fri Jul 30 19:06:52 UTC 2010


Yes, 64-bit Java (JDK) binaries are available. When you go to the JDK download 
page, select "Linux x64" as your platform, and after that select 
"jdk-6u21-linux-x64.bin" from the list of available files. Once downloaded, copy 
this .bin file to /usr/local (or /opt) and make it executable and then launch it 
as ./jdk-6u21-linux-x64.bin to start the installation process.

The JDK should end up getting installed to a directory named jdk1.6.0_21.

You'll know if you installed the 64-bit version when you run the JRE without any 
options (i.e. java) and it's usage indicates that the following options can be 
used:

    -d32          use a 32-bit data model if available

    -d64          use a 64-bit data model if available

HTH,


--
Salman Ahmed




----- Original Message ----
From: William Muriithi <william.muriithi-Re5JQEeQqe8AvxtiuMwx3w at public.gmane.org>
To: TLUG mailing list <tlug-lxSQFCZeNF4 at public.gmane.org>
Sent: Fri, July 30, 2010 1:46:08 PM
Subject: [TLUG]: Does Sun JDK have 64 bit binaries?

Afternoon,

Wonder if someone know if there is a 64 bit java. The reason I ask is,
I headed out to Sun website, downloaded what apparently looked like a
64 bit jdk but when I extracted it, all I find is 32 bit RPM.   How do
you guys check if the version installed is 64 then?  I googled, but I
can not find an article that explain the 32 bit RPMs.  This is on
Centos 5.5


[root at william ~]# chmod a+x jdk-6u21-linux-x64-rpm.bin
[root at william ~]# ./jdk-6u21-linux-x64-rpm.bin
Unpacking...
Checksumming...
Extracting...
UnZipSFX 5.50 of 17 February 2002, by Info-ZIP (Zip-Bugs-x3A+iGeyBSfgpn9g0Uvcdg at public.gmane.org).
  inflating: jdk-6u21-linux-amd64.rpm
  inflating: sun-javadb-common-10.5.3-0.2.i386.rpm
  inflating: sun-javadb-core-10.5.3-0.2.i386.rpm
  inflating: sun-javadb-client-10.5.3-0.2.i386.rpm
  inflating: sun-javadb-demo-10.5.3-0.2.i386.rpm
  inflating: sun-javadb-docs-10.5.3-0.2.i386.rpm
  inflating: sun-javadb-javadoc-10.5.3-0.2.i386.rpm
Preparing...                ########################################### [100%]
   1:jdk                    ########################################### [100%]
Unpacking JAR files...
    rt.jar...
    jsse.jar...
    charsets.jar...
        .............
        ......


William
--
The Toronto Linux Users Group.      Meetings: http://gtalug.org/
TLUG requests: Linux topics, No HTML, wrap text below 80 columns
How to UNSUBSCRIBE: http://gtalug.org/wiki/Mailing_lists



      
--
The Toronto Linux Users Group.      Meetings: http://gtalug.org/
TLUG requests: Linux topics, No HTML, wrap text below 80 columns
How to UNSUBSCRIBE: http://gtalug.org/wiki/Mailing_lists





More information about the Legacy mailing list