# J2SE SDK
# ========
# This is the whole Java SE Development Kit package. For some, the JRE
# (Java Runtime Environment) is good enough. It's simpler and takes up less
# space, if this is a concern for you, grab that one instead.
# Below are the latest 1.6.x (aka. 6.0) and 1.5.x (aka. 5.0 - I hate that)
# releases.
# JDK 6 Update 5 (1.6.0_05)
# =========================
# To get the JDK, go here:
# http://java.sun.com/javase/downloads/
# and click "Download" in the "JDK 6 Update 5" section.
# Click the Accept radio button (if you accept)
# Click "Linux self-extracting file"
# If you have a slow connection, go get a coffee refill, it's 67MB.
# If the file isn't already in your home directory, put it there.
# Beware if you use lynx, you may get a broken filename like this:
# jdk-6u5-linux-i586.bin&File=jdk-6u5-linux-i586.bin
cd
test -f installed/jdk-6u5-linux-i586.bin &&
mv installed/jdk-6u5-linux-i586.bin .
sh ./jdk-6u5-linux-i586.bin
# View and agree with the licence again (if you do agree)
# Become root to clean up old files and to install it
su
# J2SE 5.0 SDK Update 15 (1.5.0_15)
# ======================
# To get the JDK, go here:
# http://java.sun.com/javase/downloads/
# Click on "Previous Releases".
# Click "J2SE 5.0 Downloads".
# Click "Download" in the "JDK 5.0 Update 15" section.
# Click the Accept radio button (if you agree).
# Click "Linux self-extracting file" in the "Linux Platform" part.
# Either get a coffee refill or go to Starbucks, depending on your
# connection - it's about 47 MB.
# If the file isn't already in your home directory, put it there.
# Beware if you use lynx, you may get a broken filename like this:
# jdk-1_5_0_15-linux-i586.bin&File=jdk-1_5_0_15-linux-i586.bin
cd
test -f installed/jdk-1_5_0_15-linux-i586.bin &&
mv installed/jdk-1_5_0_15-linux-i586.bin .
sh ./jdk-1_5_0_15-linux-i586.bin
# View and agree with the licence again (if you do agree)
# Become root to clean up old files and to install it
su