# HDW Linux java # # [M] Jonathan J. Vargas demian@hackdaworld.dyndns.org # [I] Java Runtime and Development Environment # [V] 1.3.1 # [S] 3 9 # [D] j2sdk-1.3.1.bin descargar-desde-un-mirror srcdir="." build_main() { cp -v $archdir/j2sdk-1.3.1.bin . pwd patch -Nfp0 < $confdir/java-bin.patch bash j2sdk-1.3.1.bin mv jsdk* /opt/java echo "PATH=$PATH:/opt/java/bin" >> /etc/profile.d/java echo "/opt/java/lib" >> /etc/ld.so.conf } # Notes: to download this package u need to accept Sun's license. # This is a shell script with sources in the same file. # Find a way to make this easier. (No interactive install)