So does this mean that the 64 bit version will only get run if the -d64
flag is used?

This is what I get

$ truss -t exec java -version

execve("/usr/jdk/instances/jdk1.5.0/bin/java", 0xFFBFFDE4, 0xFFBFFDF0)
argc = 2

execve("/usr/jdk/instances/jdk1.5.0/bin/java", 0x00031E18, 0x00032ADC)
argc = 2

java version "1.5.0_06"

Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_06-b05)

Java HotSpot(TM) Client VM (build 1.5.0_06-b05, mixed mode, sharing)

 

truss -t exec java -d64 -version 

execve("/usr/jdk/instances/jdk1.5.0/bin/java", 0xFFBFFDDC, 0xFFBFFDEC)
argc = 3

execve("/usr/jdk/instances/jdk1.5.0/bin/sparcv9/java", 0x00031E18,
0x00032ADC) 

argc = 2

java version "1.5.0_06"

Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_06-b05)

Java HotSpot(TM) 64-Bit Server VM (build 1.5.0_06-b05, mixed mode)

 

 

 

Stoyan wrote :

hello John,

first check that you have installed the solaris sparc 64-bit packages
(if you use the sparc platform) in addition to the sparc 32-bit packages
(you may check that you have the 64-bit binaries in the

$JAVA_HOME/bin/sparcv9 directory, and in $JAVA_HOME/jre/bin/sparcv9,
plus libraries in $JAVA_HOME/jre/lib/sparcv9).

the binary $JAVA_HOME/bin/java is a 32-bit wrapper that will launch the
64-bin binary.

#truss -t exec $JAVA_HOME/bin/java -d64 -version
execve("/usr/jdk/instances/jdk1.6.0/bin/java", 0xFFBFFDEC, 0xFFBFFDFC)
argc = 3 execve("/usr/jdk/instances/jdk1.6.0/bin/sparcv9/java",
0x0002B170,

0x0002BE30) argc = 2

java version "1.6.0"

Java(TM) SE Runtime Environment (build 1.6.0-b105) Java HotSpot(TM)
64-Bit Server VM (build 1.6.0-b105, mixed mode)

so you can see that the 64-bit binary is launched: 

/usr/jdk/instances/jdk1.6.0/bin/sparcv9/java

 

greetings,

Stoyan

 
John Dunn

Product Consultant

Sefas Innovation Limited

Direct Dial + 44 (0) 117 373 6122

www.sefas.com
<file:///C:/Documents%20and%20Settings/ransty/Application%20Data/Microso
ft/Signatures/www.sefas.com> 

Sefas Innovation Ltd, CityPoint, Temple Gate, Bristol BS1 6PL, UK. Tel:
+44 (0) 117 373 6114 Fax: +44 (0) 117 373 6115

Sefas Innovation Limited.  Registered No: 3769761 England.  Registered
Office: One New Street, Wells, Somerset, BA5 2LA, United Kingdom.  VAT
Registration No: GB 741 5377 32

Unless stated to be non-confidential, this email and any attachments are
private and confidential and are for the addressee only. Sefas monitors
e-mails to ensure its systems operate effectively and to minimize the
risk of viruses. Whilst Sefas has taken reasonable steps to scan this
email, it does not accept liability for any virus that may be contained
in it.

Internet communications are not 100% secure and as such Sefas is not
responsible for their abuse by 3rd parties, nor for any alteration or
corruption in transmission.

 

 
_______________________________________________
Solaris-Users mailing list
[email protected]
http://node1.filibeto.org/mailman/listinfo/solaris-users

Reply via email to