Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-6190987

SWAT: /usr/jdk/jdk1.6.0/bin/java -d64 -version and jdk5u2 failed using pkg bundles Sol 10 amd64.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P2 P2
    • 6
    • 5.0u2, 6
    • install
    • b16
    • x86
    • solaris, solaris_10
    • Not verified

        /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

              jkowalsksunw Joseph Kowalski (Inactive)
              tacheung Tak Wing Cheung (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: