Click to See Complete Forum and Search --> : Redhat 7.1, Java 1.3.0_02 problems.
djmacken
04-29-2001, 10:08 PM
I cant get the plugin for netscape to work and whey i try to run the java command it says.
./java: /usr/bin/cut: No such file or directory.
/usr/java/jdk1.3.0_02/bin/i386/native_threads/java: error while loading shared libraries: libjvm.so: cannot load shared object file: no such file or directory.
Please help. I am new to linux and really want to be able to program in it.
Thanks
pwrhouse
04-29-2001, 11:51 PM
Find out where "cut" is on your system and make a symbolic link to it in /usr/bin/
You will also have to make a link for "head".
If you need to know how to make a sym link just ask.
Lack
djmacken
04-30-2001, 09:43 AM
Yeah, I dont know how to make a symbolic link. Also what env variables should I set up and where should I put them? (/etc/profile?)
Thanks
nanode
04-30-2001, 12:24 PM
You have an actual JRE or JDK installed or are you attempting to download a web browser plugin for use with Java 2? Either way see the JAVA NHF by Dru Lee. It covers just about everything. http://www.linuxnewbie.org/nhf/intel/programming/javaintro1.html
also
my variation on the previous (http://yunt.net/java_intro)
djmacken
04-30-2001, 02:33 PM
I created the symbolic links and added the environment variables exactly. Now when I type 'java' it just hangs? It does absoultely nothing?
nanode
04-30-2001, 03:31 PM
What exact java package did you download/install? Is this the jdkXXX.bin or .rpm or something else?
I have some deep personal issues with Redhat and won't even bother with it anymore. I'll be glad to help you out though, if possible.
djmacken
04-30-2001, 07:25 PM
It was the jdk1.3.0_02-linux.rpm.bin or something like that. It was what was on java.sun.com. The latest release for linux x86.
Could it be some kind of incomptability?