LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Fedora (https://www.linuxquestions.org/questions/fedora-35/)
-   -   Java - Driving me crazy (https://www.linuxquestions.org/questions/fedora-35/java-driving-me-crazy-250585/)

Peleus 11-03-2004 07:55 AM

Java - Driving me crazy
 
Trying to get java onto my machine is driving me absolutely insane.

Firstly long story I can't download any java from sun's sites or mirrors, I have no idea why but whenever I try and download from there my connection gets refused, this isn't only on this linux system but my windows partition as well and also on the other computer on the network, asked around but no one can figure out why.

So that leads me to trying to find other sources of downloads, mainly being blackhawk.org.

I download their bin file, execute it, export the path, then create the logical path between it and mozilla but still mozilla won't load up java.

Its driving me crazy, below is the console commands of what I did to create the path.

ln -s /usr/local/j2re1.4.2/plugin/i386/mozilla/libjavaplugin _oji.so \ /usr/lib/mozilla/plugins/
ln: `/usr/lib/mozilla/plugins//libjavaplugin_oji.so': File exists

Anyone with ANY help on this matter would be WONDERFUL, because as I said its driving me nuts.

P.s. Is there any way to make firefox a 'universal' command where I can type anywhere and get it to load as opposed to having to go into its folder and typing ./firefox to execute? Thank you.

acid_kewpie 11-03-2004 08:05 AM

try this:
Code:

ln -fs /usr/local/j2re1.4.2/plugin/i386/mozilla/libjavaplugin _oji.so /usr/lib/mozilla/plugins/
and to make sure your paths are valid, always use bash's tab completion rather than typing the file names in. e.g instead of typing "libjavaplugin_oji.so" type "libj" and then hit tab. if it doesn't fill in the rest, you've already gone wrong.

once it's there, in your browser go to "about:plugins" in the address bar, and you should see if java has been picked up or not.

for the path stuff.. i'd suggest creating a symlink from /opt/firefoz/firefox-bin (or whatever you have) to /usr/local/bin/firefox.

judge_neo 11-03-2004 09:00 AM

just downloaded the latest jre from SUN and got it working first time by:

cd /usr/lib/mozilla/plugins/

then

ln -s /usr/local/jre1.5.0/plugin/i386/ns7/libjavaplugin_oji.so

maybe this helps.

Peleus 11-04-2004 05:46 AM

Ok I am 95% sure I did it right, when I look in mozilla-1.4.1/plugins there is a red highlighted libjavaplugin_oji.so file which I assume means symbolic link.

However mozilla still says it doesn't have a java VM, please, H-E-L-P!!!

jolly1701 11-04-2004 02:25 PM

try here they have a RPM for it for FC...

http://tinyurl.com/5jxkk

toxiq 11-05-2004 11:03 AM

worked
 
Quote:

Originally posted by judge_neo
just downloaded the latest jre from SUN and got it working first time by:

cd /usr/lib/mozilla/plugins/

then

ln -s /usr/local/jre1.5.0/plugin/i386/ns7/libjavaplugin_oji.so

maybe this helps.

the above worked fot my firefox 0.10.1 (fedora core 2) :)
thank you

skog 11-06-2004 11:15 AM

Quote:

Ok I am 95% sure I did it right, when I look in mozilla-1.4.1/plugins there is a red highlighted libjavaplugin_oji.so file which I assume means symbolic link.
that means you made a broken link if it works it should be teal/light blue ... something like that

gcobb 11-07-2004 01:30 PM

I am having the same problems. I have the broken link too. My thing is that I never knew how to create a symbolic link. Can someone help me with this too?

jens 11-07-2004 10:10 PM

Install apt(as root):
Add this respo in /etc/apt/sources.list:
Code:

rpm http://ruslug.rutgers.edu macromedia/apt/fedora/2 macromedia
Next do (as root)
#apt-get update
#apt-get install flash-plugin


All times are GMT -5. The time now is 04:00 AM.