Subject: PATH problem with java (sun-1.5)
To: None <email@example.com>
From: None <Florence.Henry@obspm.fr>
Date: 10/20/2004 17:26:12
I cannot manage to make java working properly on my machine (NetBSD
2.0_RC4 on i386).
a simple "java -version" gives me : <<There was an error trying to
initialize the HPI library.>>
A ktrace shows that java does not find libhpi.so :
3010 java NAMI "/emul/linux/usr/native_threads/libhpi.so"
3010 java NAMI "/usr/native_threads/libhpi.so"
3010 java RET open -1 errno -2 No such file or directory 3010
3010 java CALL write(1,0xbfbfcaa0,0x39)
3010 java GIO fd 1 wrote 57 bytes
"There was an error trying to initialize the HPI library.
This file does exist in :
When I make a symbolic link of this file in a place where java is
searching it, the same "java -version" fails with
<< Error occurred during initialization of VM
Unable to load native library: /usr/libjava.so: cannot open shared object
file: No such file or directory >>
So I think that there is a problem of path somewhere, but which
environment variable is to be set to solve this problem ?
Thanks for any tip.