JDK-6190987 : SWAT: /usr/jdk/jdk1.6.0/bin/java -d64 -version and jdk5u2 failed using pkg bundles Sol 10 amd64.
  • Type: Bug
  • Component: install
  • Sub-Component: install
  • Affected Version: 5.0u2,6
  • Priority: P2
  • Status: Closed
  • Resolution: Fixed
  • OS: solaris,solaris_10
  • CPU: x86
  • Submitted: 2004-11-04
  • Updated: 2013-06-04
  • Resolved: 2004-12-15
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
Other JDK 6
5.0u2Fixed 6 b16Fixed
Related Reports
Duplicate :  
Relates :  
Description
/usr/jdk/jdk1.6.0/bin/java -d64 -version showing error but /usr/jdk/jdk1.6.0/jre/bin/java -d64 -version is OK

# pkginfo | grep SUNWj6
system      SUNWj6cfg                        JDK 6.0 Host Config. (1.6.0)
system      SUNWj6dev                        JDK 6.0 Dev. Tools (1.6.0)
system      SUNWj6dvx                        JDK 6.0 64-bit Dev. Tools (1.6.0)
system      SUNWj6rt                         JDK 6.0 Runtime Env. (1.6.0)
system      SUNWj6rtx                        JDK 6.0 64-bit Runtime Env. (1.6.0)
# /usr/jdk/jdk1.6.0/bin/java -d64 -version
execve(): No such file or directory
Error trying to exec /usr/jdk/instances/jdk1.6.0/bin/amd64/java.
Check if file exists and permissions are set correctly.
Failed to start a 64-bit JVM process from a 32-bit JVM.
Either 64-bit processes are not supported by this platform
or the 64-bit components have not been installed.
# isainfo
amd64 i386
# /usr/jdk/jdk1.6.0/bin/java  -version
java version "1.6.0-ea"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.6.0-ea-b11)
Java HotSpot(TM) Server VM (build 1.6.0-ea-b11, mixed mode)
# /usr/jdk/jdk1.6.0/jre/bin/java -d64 -version
java version "1.6.0-ea"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.6.0-ea-b11)
Java HotSpot(TM) 64-Bit Server VM (build 1.6.0-ea-b11, mixed mode)
# showrev
Hostname: sunfire002
Hostid: 0
Release: 5.10
Kernel architecture: i86pc
Application architecture: i386
Hardware provider: 
Domain: jlabs.SFBay.Sun.COM
Kernel version: SunOS 5.10 s10_70
###@###.### 11/4/04 21:44 GM

"java" is missing from /usr/jdk/instances/jdk1.6.0/bin/amd64
That is why it's complaining "64-bit components have not been installed"
###@###.### 11/4/04 21:58 GMT

Comments
EVALUATION This appears to be due to a number of hardwired instances of 'sparc' in the construction of the SUNWj*x packages. These should be $(ARCH). This code has existed for years (with sparc being the only 64 bit support), so indeeed this is just an example of an incomplete port. ###@###.### 2004-11-16 23:51:46 GMT
16-11-2004

WORK AROUND This is untested, but remaning all the directories named 'sparc' under $JAVAHOME to 'amd64' would probably 'fix' the problem. ###@###.### 2004-11-16 23:51:46 GMT
16-11-2004