move ISBPL.java to root

This commit is contained in:
Daniella 2022-05-13 19:18:49 +02:00
parent 01ac076898
commit 3bbdf874f8
2 changed files with 6 additions and 3 deletions

View file

@ -2,11 +2,14 @@
if [ "$ISBPL_PATH" = "" ] ; then
echo 'ISBPL_PATH=/usr/lib/isbpl' >> /etc/environment
fi
mkdir /usr/lib/isbpl
cp ./*.isbpl /usr/lib/isbpl
mkdir /usr/lib/isbpl >& /dev/null
cp ./*.isbpl /usr/lib/isbpl >& /dev/null
cd bootstrap
cp ../ISBPL.java .
echo ">>> There will be warnings about the Unsafe. Sadly, the code producing them is required for JIO. <<<"
javac ISBPL.java
zip -r ISBPL.jar *.class META-INF
rm ISBPL.java ISBPL.jar
zip -r ISBPL.jar * META-INF
rm *.class
cd ..
echo "#!/usr/bin/java -jar" > ISBPL.jar