Bug#280946: java-package does not work with the 1.5 final sun-jre.

leech leech <leech@mailandnews.com>, 280946@bugs.debian.org
Fri Nov 12 10:40:02 2004


Package: java-package
Version: 0.16 (unstable)

After downloading jre-1_5_0-linux-i586.bin from http://java.sun.com I tried 
the command;

make-jpkg jre-1_5_0-linux-i586.bin

Out came the following;

Creating temporary directory: /tmp/make-jpkg.XXXX6bBneB
Loading plugins: blackdown-j2re.sh blackdown-j2sdk.sh common.sh j2re.sh 
j2sdk.sh j2se.sh sun-j2re.sh sun-j2sdk.sh

No matching plugin was found.
Removing temporary directory: done

This is a bug report and a fix.  Someone forgot to put 'found=true' in the 
section for the jre.  I had to modify /usr/share/java-package/sun-j2re.sh so 
that it looked like this;

"jre-1_5_0-linux-i586.bin")
            j2se_version=1.5.0+final
            j2se_expected_min_size=85 # 86832 kB
            found=true
            ;;