ElAngelo
Joined: 10 Aug 2005 Posts: 77
|
Posted: Thu Jan 05, 2006 10:58 am Post subject: basic sun java runtime 1.4.2 |
|
|
For my own computers i made a module for java runtime environment (the real one from sun... as that seems to be the only one my bank is accepting)
It might be slightly dirty... (s/slighty/enormously/) but it works here so i thought i'd share it and i don't want to add it to the official moonbase 'cause quite a lot of people will have problems with it...
It will install the stuff in /opt/sun_java and symlink the plugin to /opt/lunar/plugins
instructions :
Code: | $ mkdir /var/lib/lunar/moonbase/zlocal/j2re |
Code: | $ lunar set ZLOCAL_OVERRIDES on |
make 3 files :
1. BUILD:
(
chmod +x j2re-1_4_2_09-linux-i586.bin &&
./j2re-1_4_2_09-linux-i586.bin
cd j2re1.4.2_09
dirs="bin lib man plugin javaws"
mkdir -p /opt/sun-java
for dir in $dirs ; do
cp -pPr $dir /opt/sun-java
done
ln -s /opt/sun-java/plugin/i386/ns610-gcc32/libjavaplugin_oji.so /opt/lunar/plugins/
) > $C_FIFO 2>&1
2. PRE_BUILD:
validate_source_dir $SOURCE_DIRECTORY &&
mk_source_dir $SOURCE_DIRECTORY &&
cd $SOURCE_DIRECTORY
cp /var/spool/lunar/$SOURCE $SOURCE_DIRECTORY
3. DETAILS:
MODULE=j2re
VERSION=1.4.2
SOURCE=$MODULE-1_4_2_09-linux-i586.bin
SOURCE_DIRECTORY=$BUILD_DIRECTORY/$MODULE-$VERSION
SOURCE_URL=http://merlin.ugent.be/lunar
SOURCE_VFY=sha1:dfd56fc4715da10a2b5ad0e4e2938c05914049cb
WEB_SITE=http://java.sun.com
ENTERED=20060105
UPDATED=20060105
SHORT="java runtime environment"
cat << EOF
j2re is only the run time environment, should be sufficient for most users
EOF
have fun
gr,S. |
|