> I had a couple of questions about installing the jdk1.2 (pre-v2) on i386. 
> First, what is the .diffs file for and how do I use it if I need it? (Is
> this what the patch-o-matic script is for? How do I run the script?). 

The .diffs file contains the changes made to Sun's code. You don't
need that unless you want to recompile it. patch-o-matic patches
the sources using these diffs. If you want to recomplile it you'll
have to set some environment variables and run patch-o-matic. Look
at patch-o-matic for the variables. However, normally there is no
need to recompile it, simply get the binary distribution.

> I downloaded and extracted the jdk1.2 file (the .tar.bz2) into
> /usr/local/jdk1.2 (actually first extracted then moved the directory).
> When I run /usr/local/jdk1.2/bin/java I get the error:
> 
> /usr/local/jdk1.2/bin/i386/native_threads/java: error in loading shared
> libraries
> libhpi.so: cannot open shared object file: No such file or directory

This most probably means that you have downloaded the wrong version
of the JDK, i.e., the glibc2.1 archive on a glibc2.0 system.

> If I cd to /usr/local/jdk1.2/bin and run ./java, I get the error:
> 
> Error: can't find libjava.so.

The java (i.e., .java_wrapper) script fails to locate the JDK when it
does not get an absolute path. Don't call it using "./java", add the
/usr/local/jdk1.2/bin to your PATH and invoke it using "java" or invoke
it as you did above.


CU,
Stefan


----------------------------------------------------------------------
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to