Recipe
- down load the files from download site. Keep them all in the same directory, e.g./tmp
- check space availablity for each target directory by running checkQuota
- create the jdk subdirectory for each release "flavor", e.g. linux, sun, etc.
- change the patch variable in the installJava script to the latest patch number
- cd to the place where you downloaded all the files
- run installJava
- update the web page
The download url may change but currently the download page is
http://www.oracle.com/technetwork/java/javase/downloads/jdk-6u26-download-400750.html
Download the set of files that have the pattern to /tmp:
Pattern |
Example |
---|---|
jdk-*-linux-i586.bin |
jdk-6u26-linux-i586.bin |
jdk-*-solaris-sparc.sh |
jdk-6u26-solaris-sparc.sh |
jdk-*-linux-x64.bin |
jdk-6u26-linux-x64.bin |
jdk-*-solaris-sparcv9.sh |
jdk-6u26-solaris-sparcv9.sh |
Make sure there is sufficient space in the target directories by running
/afs/.slac.stanford.edu/package/java/common/install/checkQuota
if not, clean up by deleting old releases in:
- /afs/.slac.stanford.edu/package/java/i386_linux2
- /afs/.slac.stanford.edu/package/java/amd64_linux
- /afs/.slac.stanford.edu/package/java/sun4x_55
Old releases should not have links to them and their release number should be several levels lower than a current release.
If you still need more space put in an
afs request
Target Directories - Readonly and Shadow Version Per Release
visible path = /afs/slac/package/java/directory
shadow path = /afs/.slac/package/java/directory (note the dot in the path)
directory |
afs volume - visible path |
afs volume - shadow path |
---|---|---|
i386_linux |
pkg.java.i386_linux2.read |
pkg.java.i386_linux2 |
amd64_linux |
pkg.java.amd64_linux.read |
pkg.java.amd64_linux |
sun4x_55 |
pkg.java.sun4x_55.readonl |
pkg.java.sun4x_55 |
There are two directories that contain a release; one is a "shadow" directory, hidden (but still public) using the dot (.) format:
/afs/.slac.stanford.edu/package/java/i386_linux2
^
Volume Name
pkg.java.i386_linux2
This listing for this directory is not shown unless the -a option of the ls command is used.
The other directory is the production directory and the afs volume name ends in ".read"
/afs/slac.stanford.edu/package/java/i386_linux2
Volume Name
pkg.java.i386_linux2.read
The listing for this directory is visible
Installation
Edit the installjava script and increment the patch number, which should match the last digits on the downloaded file. Download all four files because the install script will try and process all four versions. The install script is located at
/afs/.slac.stanford.edu/package/java/common/install/installJava
The environmental variables are used by the install script to find the right directory.
Update web page:
http://www.slac.stanford.edu/comp/java/
(/afs/.slac.stanford.edu/package/java/common/doc/index.html)
Send out an announcement
Do the release