Red Hat Topics - Java virtual machine for Fedora?

This is Interesting: Free IT Magazines  
Home > Archive > Red Hat Topics > October 2004 > Java virtual machine for Fedora?





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Java virtual machine for Fedora?
Mark Healey

2004-10-04, 5:45 pm

I have Fedora2 installed and would like to visit some sites with Java
applets.

What RPM do I install and where do I get it?

--
Mark Heaely
marknews(at)healeyonline(dot)com
Paul Lutus

2004-10-04, 5:45 pm

Mark Healey wrote:

> I have Fedora2 installed and would like to visit some sites with Java
> applets.
>
> What RPM do I install and where do I get it?


It doesn't work that way. An appropriate Java runtime is not provided with
the typical Linux distribution.

1. Download and install an appropriate Java runtime package from
java.sun.com.

2. Make a symbolic link to the appropriate Java browser plugin from your
browser's plugin directory. Do not try to do this in any other way -- the
reasons you must do this in just this way are baroque and legion.

For example, I have a symbolic link ...

To: /usr/java/j2sdk1.4.2_01/jre/plugin/i386/ns610-gcc32/libjavaplugin_oji.so

From: /netbackup/downloads/Linux/firefox/firefox-installer/plugins

Your paths will almost certainly be different.

--
Paul Lutus
http://www.arachnoid.com

Mark Healey

2004-10-04, 5:45 pm

On Mon, 4 Oct 2004 07:42:20 UTC, Paul Lutus <nospam@nosite.zzz> wrote:

> Mark Healey wrote:
>
>
> It doesn't work that way. An appropriate Java runtime is not provided with
> the typical Linux distribution.
>
> 1. Download and install an appropriate Java runtime package from
> java.sun.com.


That's what I'm wondering about. My best guess is:

j2re-1_4_2_05-linux-i586-rpm.bin

which I found at java.com. The problem is that the only platforms
listed are:

Red Hat 7.3 or
Red Hat 8.0 or
Red Hat Enterprise Linux WS 2.1 or
Red Hat Enterprise Linux ES 2.1 or
Red Hat Enterprise Linux AS 2.1 or
SuSE 8.0 or
TurboLinux 7.0 or
SLEC 8

Do I have the right package?



--
Mark Heaely
marknews(at)healeyonline(dot)com
Lenard

2004-10-04, 5:45 pm

On Mon, 04 Oct 2004 15:57:15 +0000, Mark Healey wrote:

> That's what I'm wondering about. My best guess is:
>
> j2re-1_4_2_05-linux-i586-rpm.bin


> Do I have the right package?


Yes, you have the correct package, good guess!

As root (or equivalent) from the console or xterm session where the
downloaded package is stored at do;

$ chmod +x j2re-1_4_2_05-linux-i586-rpm.bin

$ j2re-1_4_2_05-linux-i586-rpm.bin

And follow the instructions for plug-in symbolic linking found here;

http://plugindoc.mozdev.org/faqs/java.html


--
Hi! I'm a .sig virus! Please copy me to your .sig! so I can spread
This E-mail is safe, no Microsoft products were used in creating me!

Mark Healey

2004-10-05, 2:47 am

On Mon, 4 Oct 2004 16:16:56 UTC, Lenard <lenard@127.0.0.1> wrote:

> On Mon, 04 Oct 2004 15:57:15 +0000, Mark Healey wrote:
>
>
>
> Yes, you have the correct package, good guess!
>
> As root (or equivalent) from the console or xterm session where the
> downloaded package is stored at do;
>
> $ chmod +x j2re-1_4_2_05-linux-i586-rpm.bin
>
> $ j2re-1_4_2_05-linux-i586-rpm.bin


Thanks. I managed to install it. The instructions are wrong though.
They don't tell you to rpm -ivh the resulting file from running
j2re.yadda.yaddda.yadda.bin.


--
Mark Heaely
marknews(at)healeyonline(dot)com
Lenard

2004-10-05, 5:45 pm

On Tue, 05 Oct 2004 06:56:39 +0000, Mark Healey wrote:

> On Mon, 4 Oct 2004 16:16:56 UTC, Lenard <lenard@127.0.0.1> wrote:
>
>
> Thanks. I managed to install it. The instructions are wrong though.
> They don't tell you to rpm -ivh the resulting file from running
> j2re.yadda.yaddda.yadda.bin.


Yes the instructions at the sun site do... from;
http://java.sun.com/j2se/1.4.2/jre/...tml#install-rpm

3. Become root by running the su command and entering the super-user
password.

4. Run the rpm command to install the packages that comprise the Java 2
Runtime Environment:

rpm -iv j2re-1_4_2_<version>-linux-i586.rpm


--
Hi! I'm a .sig virus! Please copy me to your .sig! so I can spread
This E-mail is safe, no Microsoft products were used in creating me!

Mark Healey

2004-10-05, 5:45 pm

On Tue, 5 Oct 2004 12:45:18 UTC, Lenard <lenard@127.0.0.1> wrote:

> On Tue, 05 Oct 2004 06:56:39 +0000, Mark Healey wrote:
>
>
> Yes the instructions at the sun site do... from;
> http://java.sun.com/j2se/1.4.2/jre/...tml#install-rpm
>
> 3. Become root by running the su command and entering the super-user
> password.
>
> 4. Run the rpm command to install the packages that comprise the Java 2
> Runtime Environment:
>
> rpm -iv j2re-1_4_2_<version>-linux-i586.rpm


I guess they just neet to update:

http://java.com/en/download/help/li...jsp#install-pkg



--
Mark Heaely
marknews(at)healeyonline(dot)com
Lenard

2004-10-05, 5:45 pm

On Tue, 05 Oct 2004 14:20:23 +0000, Mark Healey wrote:

> I guess they just neet to update:
>
> http://java.com/en/download/help/li...jsp#install-pkg



Scroll down the page and find the section;

To install the Linux RPM (self-extracting) file

step 7 reads;

# Run the RPM command at the terminal to install the packages. Type:

rpm -iv j2re-1_4_2_04-linux-i586.rpm


--
Hi! I'm a .sig virus! Please copy me to your .sig! so I can spread
This E-mail is safe, no Microsoft products were used in creating me!

Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com