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

Linux: Java 2 SDK can't be installed

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: P1 P1
    • None
    • 1.3.0
    • hotspot
    • x86
    • linux



      Name: skR10017 Date: 09/19/2000



      I've downloaded j2sdk-1_3_0-fcs-bin-b18-linux-17_sep_2000.sh installation script,
      tried to install it and got the following error during it's execution:

      [kotl@linux-14 /tmp]$ ls -la j2sdk-1_3_0-fcs-bin-b18-linux-17_sep_2000.sh
      -rwxr-xr-x 1 kotl java 26960630 Sep 19 12:18 j2sdk-1_3_0-fcs-bin-b18-linux-17_sep_2000.sh
      [kotl@linux-14 /tmp]$ ./j2sdk-1_3_0-fcs-bin-b18-linux-17_sep_2000.sh
      bash: ./j2sdk-1_3_0-fcs-bin-b18-linux-17_sep_2000.sh: No such file or directory
      [kotl@linux-14 /tmp]$

      Here is verbose shell execution:

      [kotl@linux-14 /tmp]$ sh -v j2sdk-1_3_0-fcs-bin-b18-linux-17_sep_2000.sh
      #!/bin/sh
      PATH=/usr/bin:/bin
      more <<"EOF"
      j2sdk-1_3_0-fcs-bin-b18-linux-17_sep_2000.sh: more: command not found
      agreed=
      while [ x$agreed = x ]; do
          echo
          echo "Do you agree to the above license terms? [yes or no] "
          read reply leftover
          case $reply in
      '2sdk-1_3_0-fcs-bin-b18-linux-17_sep_2000.sh: syntax error near unexpected token `in
      j2sdk-1_3_0-fcs-bin-b18-linux-17_sep_2000.sh: j2sdk-1_3_0-fcs-bin-b18-linux-17_sep_2000.sh: line 182' ` case $reply in

      or with -x option:

      [kotl@linux-14 /tmp]$ sh -x j2sdk-1_3_0-fcs-bin-b18-linux-17_sep_2000.sh
      + PATH=/usr/bin:/bin
      + more
      j2sdk-1_3_0-fcs-bin-b18-linux-17_sep_2000.sh: more: command not found
      + agreed=
      '2sdk-1_3_0-fcs-bin-b18-linux-17_sep_2000.sh: syntax error near unexpected token `in
      j2sdk-1_3_0-fcs-bin-b18-linux-17_sep_2000.sh: j2sdk-1_3_0-fcs-bin-b18-linux-17_sep_2000.sh: line 182' ` case $reply in
      [kotl@linux-14 /tmp]$


      ======================================================================

            duke J. Duke
            kotlsunw Kotl Kotl (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: