Some local Java information for CS263: Design of Programming Languages

Jeff Foster says:

I have some information about using Java on most of the HP machines in the CS department that may be useful to people that haven't used Java before:

On the SWW, there are two versions of Java installed for HPUX: Java 1.0 and Java 1.0.2. Java 1.0.2, which is the default, requires HPUX 10, which is not installed on most machines. If you try to run Java 1.0.2 on a machine which doesn't support it, you get an error message like

[64] % java
crt0: ERROR couldn't open /usr/lib/ errno:000000002

To use the right version of Java, add


to the front of your path.

Martín Abadi