John Dunn wrote:
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)

<snip>
John Dunn


hello John,

this is from the java 1.5.0 documentation:
http://java.sun.com/j2se/1.5.0/docs/tooldocs/solaris/java.html


"-d32
 -d64
Specifies whether the program is to be run in a 32-bit or 64-bit environment if available.

Currently only the Java HotSpot Server VM supports 64-bit operation, and the "-server" option is implicit with the use of -d64. This is subject to change in a future release.

If neither -d32 nor -d64 is specified, the default is to run in a 32-bit environment, except for 64-bit only systems. This is subject to change in a future release."

so to answer your previous question - you do have a 64-bit capable java on this machine.

greetings,

Stoyan



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

Reply via email to