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

JRE installer fails to set executable attribute on Linux (jrl-extractor?)

XMLWordPrintable

    • x86
    • linux

      A DESCRIPTION OF THE REGRESSION :
      The JRE installer for mustang builds 70 and 71, provided as jar file, fails to set the executable bit on executable files. This also happens for the debug JDK distributed in a jar as well.

      Platform:

      Linux smaug 2.6.13-15.8-default #1 Tue Feb 7 11:07:24 UTC 2006 i686 i686 i386 GNU/Linux
      SUSE LINUX 10.0 (i586)
      VERSION = 10.0



      REPRODUCIBLE TESTCASE OR STEPS TO REPRODUCE:
      Problem occurs during JRE installation, regression of mustang b71 w.r.t 5u6 detailed in the paragraphs called "Expected Result" and "Actual Result".

      RELEASE LAST WORKED:
      5.0 Update 6

      RELEASE TEST FAILS:
      mustang-b70

      EXPECTED VERSUS ACTUAL BEHAVIOR :
      EXPECTED -
      Installing a Java 5 JRE on Linux works smoothly, all executable files (including, but not limited to those below bin/)
      have their executable bit set:

      cwe@smaug:~> chmod 755 jre-1_5_0_06-linux-i586.bin
      cwe@smaug:~> ./jre-1_5_0_06-linux-i586.bin
      Sun Microsystems, Inc. Binary Code License Agreement
      [removed all the legalese]
      Do you agree to the above license terms? [yes or no]
      yes
      Unpacking...
      Checksumming...
      0
      0
      Extracting...
      UnZipSFX 5.42 of 14 January 2001, by Info-ZIP (###@###.###).
         creating: jre1.5.0_06/

      Creating jre1.5.0_06/lib/deploy.jar
      [removed extraction messages]
      Done.
      cwe@smaug:~> cd jre1.5.0_06/bin/
      cwe@smaug:~/jre1.5.0_06/bin> ls -l
      total 1452
      -rwxr-xr-x 1 cwe users 4153 2005-11-10 22:47 ControlPanel
      -rwxr-xr-x 1 cwe users 64812 2005-11-10 21:48 java
      -rwxr-xr-x 1 cwe users 26366 2005-11-10 22:47 java_vm
      -rwxr-xr-x 1 cwe users 175978 2005-11-10 22:47 javaws
      -rwxr-xr-x 1 cwe users 72752 2005-11-10 22:00 keytool
      -rwxr-xr-x 1 cwe users 72752 2005-11-10 22:00 kinit
      -rwxr-xr-x 1 cwe users 72752 2005-11-10 22:01 klist
      -rwxr-xr-x 1 cwe users 72752 2005-11-10 22:01 ktab
      -rwxr-xr-x 1 cwe users 72752 2005-11-10 22:26 orbd
      -rwxr-xr-x 1 cwe users 72752 2005-11-10 22:27 pack200
      -rwxr-xr-x 1 cwe users 72760 2005-11-10 22:00 policytool
      -rwxr-xr-x 1 cwe users 72752 2005-11-10 22:21 rmid
      -rwxr-xr-x 1 cwe users 72752 2005-11-10 22:20 rmiregistry
      -rwxr-xr-x 1 cwe users 72752 2005-11-10 22:26 servertool
      -rwxr-xr-x 1 cwe users 72752 2005-11-10 22:26 tnameserv
      -rwxr-xr-x 1 cwe users 394235 2005-11-10 22:26 unpack200

      ACTUAL -
      Last build tested is 71, but the form only let me select b70 (where the problem occurs as well).

      Installing mustang build 71 JRE basically works, but executable bits are missing everywhere except on directories.
      Even after manually setting all files below bin/ to executable, parts of Java still don't work (for instance java.awt.Robot, which requires yet another executable, lib/i386/awt_robot.

      cwe@smaug:~> /usr/local/java/jdk1.5.0_06/bin/java -jar jre-6-rc-bin-b71-linux-i586-09_feb_2006.jar
      Bundle size = 30523537
      [Selected an installation dir through the GUI, waited until installation done]
      cwe@smaug:~> cd /usr/local/java/jre1.6.0
      cwe@smaug:/usr/local/java/jre1.6.0> cd bin
      cwe@smaug:/usr/local/java/jre1.6.0/bin> ls -l
      total 736
      -rw-r--r-- 1 cwe users 10 2006-02-13 14:48 ControlPanel
      -rw-r--r-- 1 cwe users 47395 2006-02-13 14:48 java
      -rw-r--r-- 1 cwe users 24878 2006-02-13 14:48 java_vm
      -rw-r--r-- 1 cwe users 74135 2006-02-13 14:48 javaws
      -rw-r--r-- 1 cwe users 6345 2006-02-13 14:48 jcontrol
      -rw-r--r-- 1 cwe users 47550 2006-02-13 14:48 keytool
      -rw-r--r-- 1 cwe users 47782 2006-02-13 14:48 orbd
      -rw-r--r-- 1 cwe users 47618 2006-02-13 14:48 pack200
      -rw-r--r-- 1 cwe users 47814 2006-02-13 14:48 policytool
      -rw-r--r-- 1 cwe users 47550 2006-02-13 14:48 rmid
      -rw-r--r-- 1 cwe users 47550 2006-02-13 14:48 rmiregistry
      -rw-r--r-- 1 cwe users 47546 2006-02-13 14:48 servertool
      -rw-r--r-- 1 cwe users 47782 2006-02-13 14:48 tnameserv
      -rw-r--r-- 1 cwe users 189268 2006-02-13 14:48 unpack200

      Release Regression From : 1.5
      The above release value was the last known release where this
      bug was known to work. Since then there has been a regression.

            ohair Kelly Ohair (Inactive)
            collins Gary Collins (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: