Installing Java on TB Systems
We need to keep Java installed for the BioCoRE team and for the web. This is not, however, a simple process, especially when we try to encap it. This is what I had to do the last time I installed a new version of Java.
Required Packages
- j2sdk - the developer's kit. Includes the runtime environment
(j2re). The basic setup, needed to do anything with Java.
- Note that there are 64-bit libraries for Solaris that have to be installed as well (both have to be downloaded).
- java3d - what it sounds like, it lets us use OpenGL APIs in Java. Necessary for JMV, for starters. Needs to install with j2sdk, which is annoying.
- javaws - Java Web Start. Used for BioCoRE.
j2sdk
This can be fairly easily downloaded; they're self-extracting binaries. The basic install into encap is fairly easy:
For Solaris, there's an additional step: install the 64-bit libraries too:
java3d
The Solaris version can be downloaded from sun.com, the Linux version from blackdown.org.
Encap files into step
Finally, make an encapinfo file (copy one of the old ones) and run:
javaws
This can be installed in a separate encap directory.
Linux instructions:
Other Stuff
You have to make sure the web browsers handle it properly. Currently, it should work under Phoenix, Netscape, and Mozilla for both Linux and Solaris. This is somewhat tricky, but I think that the encaps I've got set up (phoenix_plugins and the mozilla build) point at fairly generic locations that should just work... When in doubt, go check the old plugins directories and see how they're laid out.
References
j2sdk
- J2SE Downloads (Sun)
java3d
- Java3D for Solaris
- Java3D for Linux (blackdown.org)
Test Pages
- Swing setup for BioCoRE (simple test)
- JMV