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

startup -d64 will fail with merlin b72

    XMLWordPrintable

    Details

    • Subcomponent:
    • Resolved In Build:
      beta3
    • CPU:
      sparc
    • OS:
      generic, solaris_7, solaris_8
    • Verification:
      Verified

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: