Skip to content

Commit 9ffc74a

Browse files
committed
Remove pack200 stuff, add fake unpack200.exe for Windows
1 parent 08f22b8 commit 9ffc74a

File tree

1 file changed

+4
-13
lines changed

1 file changed

+4
-13
lines changed

jdks/download-jdks.sh

Lines changed: 4 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -165,12 +165,10 @@ function unpack_windows {
165165
find . -exec chmod u+w {} \; # Make all file writable to allow uninstaller's cleaner to remove file
166166

167167
find . -type f \( -name "*.exe" -o -name "*.dll" \) -exec chmod u+rwx {} \; # Make them executable
168-
169-
find . -type f -name "*.pack" | while read eachFile; do
170-
echo ">> Unpacking $eachFile ...";
171-
unpack200 $eachFile ${eachFile%.pack}.jar;
172-
rm $eachFile;
173-
done
168+
169+
# Insert fake unpack200.exe
170+
# See https://github.com/jMonkeyEngine/sdk/issues/491
171+
touch bin/unpack200.exe
174172

175173
cd ../
176174

@@ -248,13 +246,6 @@ function compile_other {
248246
exit 1
249247
fi
250248

251-
echo "> Creating SFX JDK package $name"
252-
if [ -f "$1-$2/jre/lib/rt.jar" ]; then # Already packed?
253-
echo "> PACK200 rt.jar"
254-
pack200 -J-Xmx1024m $1-$2/jre/lib/rt.jar.pack.gz $1-$2/jre/lib/rt.jar
255-
rm -rf $1-$2/jre/lib/rt.jar
256-
fi
257-
258249
echo "> Zipping JDK"
259250
cd $1-$2 # zip behaves differently between 7zip and Info-Zip, so simply change wd
260251
zip -9 -qry ../jdk_tmp_sfx.zip *

0 commit comments

Comments
 (0)