Main menu

SmartFeed by FeedBurner Subscribe to the site feed.


If you find the information here useful, then please consider a small donation, or linking to this site.

Recent Comments

Recent Tweets

  • @wilhil Try Dorset... at least in London you expect drivers to do stupid things...
  • Just stumbled on http://www.wherestheanykey.co.uk/ - some funny cartoons on there :-) Kind of reminds me of the BOFH series...
  • @GuySmithFerrier Thanks for that Guy... interesting stuff!
  • RT @JayOatway: Email is back: The Three Key Elements of Irresistible Email Subject Lines - http://bit.ly/cD5ZQH
  • @GuySmithFerrier Is that for UK? I could see using film stills being Fair Use in the US, but we don't have a notion of Fair Use over here...

Calendar

September 2006
M T W T F S S
« Aug   Oct »
 123
45678910
11121314151617
18192021222324
252627282930  

Archive

Installing the Sun Java runtime environment on Fedora Core 5

Written by: Mark Wilson

Fedora logo Java logo
It’s no secret that I’m no fan of Java applications, but its also a necessary evil that I generally need to have installed on my PC. I had a few problems getting it working on my Linux (Fedora Core 5) PC though – this is what I had to do.

The Unofficial Fedora FAQ got me started; however as I didn’t want the whole Java development kit (JDK) installed – just the Java runtime environment (JRE) I downloaded the RPM installer from the Sun Java download site.

Next, I entered the following commands:

su -
chmod +x jre-1_5_0_08-linux-i586-rpm.bin
./jre-1_5_0_08-linux-i586-rpm.bin
yum –enablerepo=jpackage-generic-nonfree install java-1.5.0-sun-compat
ln -s /usr/java/jre1.5.0_08/plugin/i386/ns7/libjavaplugin_oji.so /usr/lib/mozilla/plugins/

I’m not sure why the link is from the mozilla plugins folder, not from /usr/lib/firefox-1.5.0.6/plugins/ (as I would have expected from a LinuxQuestions.org forum post on the subject) but after a browser restart, I was able to successfully test the Java installation, which was correctly identified as Sun Microsystems Inc. Java version 1.5.0_08 on Linux OS version 2.6.17-1.2174_FC5.

Comments

1

Comment from Mark
Time: Wednesday 20 December 2006, 10:03

The trouble with advice like this is that it quickly becomes out of date so it may be useful to read Shaun Marolf’s experience of getting JRE 5.0 update 9 working.

2

Comment from Anonymous
Time: Friday 9 February 2007, 7:06

The reason why the symbolic links points to /usr/lib/mozilla/plugins/ and not to the firefox’s one is so that an upgrade in firefox will not break the use of Java in firefox. Also, if you use seamonkey or mozilla, they can use the java plugin.

3

Comment from Mark Wilson
Time: Friday 9 February 2007, 9:19

Thanks for that clarification. Mark.

Write a comment

Please note the rules for comments and the privacy policy and data protection notice. I'm sorry but, because not everyone sticks to the rules, I've had to implement some spam prevention measures - if you're experiencing difficulties leaving a comment, please let me know.





The following XHTML tags may be used: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>