Nathan Meyers <[EMAIL PROTECTED]> writes:

> On Wed, Aug 22, 2001 at 05:39:03PM +0800, Sam (Ying-Hsien Ku) wrote:
>> Hi all,
>> I have installed jdk1.2.2 on Mandrake 7.0
>> 
>> However,
>> [root@linuxsam jdk1.2.2]# javac
>> Error: can't find libjava.so.
>> [root@linuxsam jdk1.2.2]#

(You might want to try 1.3.1.)

>> I just find the file on /home/sam/jdk1.2.2/jre/lib/i386/libjava.so.
>> 
>> What should I do?
> 
> You should:
> 
> - Be in a directory outside the jdk1.2.2 tree, and
> 
> - Run the executables found in the jdk1.2.2/bin subdirectory.
> 
> You can run those executables either by putting that directory in
> your path or by naming the full path of the executable. Two things
> that *do not work* are:
> 
> - Directly running the executables in the
>   jdk1.2.2/bin/i386/green_threads/ or
>   jdk1.2.2/bin/i386/native_threads/ directories, or

If this doesn't help, send the output of 
'sh -x <path to jdk1.2.2>/bin/java'.

> - Creating a symlink somewhere else to the executables.

Actually that should work:

,----
| % cd /tmp
| % ln -s ~/testbed/jdk1.2.2/bin/java
| % ./java -version
| java version "1.2.2"
| Classic VM (build Linux_JDK_1.2.2_FCS, native threads, sunwjit)
`----


        Juergen

-- 
Juergen Kreileder, Blackdown Java-Linux Team
http://www.blackdown.org/java-linux.html
Run Java 2 SE v1.3.1 on your iPAQ:
http://www.handhelds.org/pipermail/ipaq/2001-June/007221.html


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

Reply via email to