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

startup -d64 will fail with merlin b72

XMLWordPrintable

    • beta3
    • sparc
    • generic, solaris_7, solaris_8
    • Verified

      Test bundles:
      j2sdk-1_4_0-beta_refresh-bin-b72-solsparc-18_jul_2001.sh
      j2sdk-1_4_0-beta_refresh-bin-b72-solsparcv9-18_jul_2001.sh

      machine: sun4u/solaris8 64bit

      copy these file to a same directory.
      then run:
      ./j2sdk-1_4_0-beta_refresh-bin-b72-solsparc-18_jul_2001.sh
      ./j2sdk-1_4_0-beta_refresh-bin-b72-solsparcv9-18_jul_2001.sh

      to install it.

      then create /usr/java link to that jdk installed home directory and create a link /usr/bin/java to ../java/bin/java like before.

      then run 'java -d64 -version', there will get some error:
      execv(): No such file or directory.

      It's seemed that in java program's SetDataModel function don't consider this condition and it want to execv a 64 bit java program under <java links dir>/sparcv9, but because there have a link, so will fail.

      If I enter the jdk home, run './java -d64 -version' will succeed.

            gafter Neal Gafter (Inactive)
            lefan Leon Fan (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: