Click to See Complete Forum and Search --> : java


Ineedhelplinux
04-06-2003, 05:04 PM
ok.....i got j2sdk-1-4-1_02-linux-i586-rpm.bin. im running red hat 8.0. now i went to this website http://members.shaw.ca/trollking/linux.html and followed the directions. I agreed to the licensing terms, then i installed the rpm. That all went fine.So i went on the configure and entered the command:
ln -s /usr/java/j2sdk1.4.1_02/jre/plugin/i386/ns610
/libjavaplugin_oji.so /usr/lib/mozilla-1.0.1/plugins/ . After that i went on the configure the executable path by using the command #

emacs $HOME/.bash_profile
and then putting this line at the bottom of the file:

#export PATH=/usr/java/j2sdk1.4.1_01/bin:$PATH
After all that i delted the ./bash_profile~ and left the new ./bash_profile without the ~. I restarted mozilla and typed javac in console and it doesnt recognize the command. Can anyone tell me what i did wrong.

lazy13
04-06-2003, 05:08 PM
Remove the # from the beginning of the command. That comments the command out. after that it should work fine.

Lazy13

Ineedhelplinux
04-06-2003, 05:34 PM
i didnt enter that symbol in the file....i dont know what it was doing there.....i just need to find out how to connect java to my browswer

homey
04-06-2003, 05:49 PM
/usr/lib/mozilla-1.0.1/plugins/


Do you have the right version of mozilla listed?

Mine is mozilla-1.2.1

madcompnerd
04-06-2003, 06:19 PM
"export PATH=/usr/java/j2sdk1.4.1_01/bin:$PATH"

"ok.....i got j2sdk-1-4-1_02-linux-i586-rpm.bin"

Your bin folder is in /usr/java/j2sdk1.4.1_02/bin
NOT:
/usr/java/j2sdk1.4.1_01/bin

Try changing it to that and see if it works.

Ineedhelplinux
04-06-2003, 08:11 PM
ok.....the mozilla version 1.0.1 is correct. and i checked the file and it is also written down as /usr/java/j2sdk1.4.1_02. I dont know what else i couldve done wrong. any linux geniuses with any suggestions out there???

GaryJones32
04-06-2003, 10:30 PM
hi,
this reminds me of the huge problem rh7.3 had with java

anyway the problem is you need java compiled with gcc3

go to blackdown.org and there you will find 2 jdk1.4.1
one compiled with gcc2 and one compiled with gcc3

in general rh8 needs all things compiled with gcc3

http://plugindoc.mozdev.org/whichjava.html

ftp://ftp.tux.org/pub/java/JDK-1.4.1/i386/01/

madcompnerd
04-07-2003, 12:15 PM
I have installed it on two RH8.0 systems and had no problems. One had 1.4.1_01 and the other 1.4.1_02.
I don't think Sun's binary is the problem. It didn't give me any problems. I had some difficulties, however, with entering the directories correctly into my path. I hate typos.

redcape
04-07-2003, 06:57 PM
If you only want to use the plugin, you don't need java in your path. Provided you symlink it, it can work out where to find java by itself.