...
- down load the files from the java download site to /tmp. You will use gtar -C <path> or execute *.bin to put the files to the directory.
- check space availablity for each target directory by running checkQuota
- make sure you are in the shadow directory, e.g. /afs/.slac... and not /afs/slac (dot slac, not just slac)
- IF you get an executable (*.bin) then use the installJava script and you create the jdk-* subdirectory under each OS directory first, e.g. linux, solaris, etc.
- IF you get zipped tarballs (*.gz) use the installJava7 script which uses gtar -C to unpack and create/install the directories.
- change the patch variable in the install script (installJava or installJava7) to the latest patch number
- cd to the place where you downloaded all the files, e.g. /tmp on glastlnx07
- Make sure to change the patch number before running the script.
- Edit the install script and check that the new version names will unpack properly. Run the installJava* script.
- run the release script to deploy the new versions to the read-only disk.
- restart the test server and check that everything still works
- restart all the other servers. Use the server monitoring page to do this. If that doesn't work, logon to the machine and run the stop/start scripts.
- update the web page (see url address below)
- announce to mailing lists (see list names below)
- (optional) if you need to change the default version update javawrap script
Download sites:
Main site http://www.oracle.com/technetwork/index.html
...
For other experiments that do not have this application, you must log on to each server and restart it manually.
Changing Java Versions
Update the script /afs/.slac.stanford.edu/package/java/common/bin/javawrap and set JAVAVER=<version>, e.g. JAVAVER=1.7.0
Updating the Web Page
Update the web page in the shadow directory (the visible directory is read-only).The path is /afs/.slac.stanford.edu/package/java/common/doc. Use the path plus index.html in the browser location window to view your changes. Once the code is released the web page will also be updated with the copy in the shadow directory.
...