I think people have gotten confused about what you are trying to accomplish.
My understanding is that all you care about is getting java to work in your
Mozilla browser so that you can run applets. If this is correct, see below.
If not, feel free to correct me and we'll go from there.

By way of background:

Java is a closed-source program. For good or bad, this means Mandrake will
not distribute it. In place of Java (again for good or bad) Mandrake
distributes a Free clone of Java called Kaffee. Kaffee is good for what it
does (non-gui JDK 1.1 stuff) but is totally inappropriate for any modern
Java application that expects Java 2+ features like the Swing toolkit.

The problem with this solution is that people think they have Java installed
(I type "java" at the command line and it comes back, what else do I need?)
and expect to be able to run the latest and greatest Java programs. Sadly,
Kaffe (more often than not) doesn't work with those programs and people are
left to wonder why.

If you want to run java applets in Mozilla, Kaffee will not work at all
since it doesn't support (to my knowledge) the Mozilla plugin architecture.
This means that you will have to download a new JVM.

The JVM's you can download from SUN *do* contain the necessary plug-ins to
run Java applications inside Mozilla. However, I don't believe they actually
install the JRE into your browser. This means that you need to take
additional steps to install the plugins before you can get applets to work.
This isn't a hard process and is well documented on the net.
http://www.brandonhutchinson.com/mozilla_java_plugin.html has some straight
forward instructions on how to do this for Java 1.4. It will work the same
(with slightly different paths) for Java 1.3 as well. Even though the
process isn't very hard, SUN *really* should fix this so that it auto
installs if they haven't already.

There is, however, an easier way to install the Java plugin into Mozilla
directly. Since Mozilla and Netscape use the same plug-in architecture, you
can download the Netscape-specific java installer and install it into your
Mozilla browser.

>From ftp://ftp.netscape.com/pub/netscape6/english/6.2.3/unix/linux22/xpi
download jre.xpi. It's not small, coming in at around 15Mb. If you are using
the default version of Mozilla that Mandrake installed for you, you will
probably need to perform the following steps as root. If you're using a
version you've downloaded and have in your home directory, you can proceed
logged in as yourself. Once the file has been downloaded, open Mozilla and
choose file->open file. Then select "all files (*)" in the "files of type"
drop down and select the jre.xpi file you just downloaded. It will ask you
for permission to install the file and once you give it, will do it's magic.
After that, I would recommend closing and re-opening Mozilla. At that point,
you should have a fully functional JRE 1.3 installation.

I don't see any reason now why you would need a JRE 1.4 installation. If for
some weird reason you do, I'm sure there's a 1.4 JRE xpi on the net
somewhere. 

Which process should you follow? It depends on what you want. The xpi method
is much easier, but it only installs the JRE. If you need Java for other
things than applets, you may want to try downloading the JDK from SUN and
then following the instructions to get it bolted into Mozilla.

I hope this helps. If not, please let us know what else we can do to help!

Best regards,

David

-----Original Message-----
From: Felix Miata [mailto:[EMAIL PROTECTED]]
Sent: Friday, December 13, 2002 11:29 AM
To: [EMAIL PROTECTED]
Subject: Re: [expert] Java


Tibbetts, Ric wrote:
 
> From: Felix Miata [mailto:[EMAIL PROTECTED]]
 
> Tibbetts, Ric wrote:
 
> > Just a hunch...
> > My Mandrake installations have always installed Kaffe instead of java.
 
> > Try:
 
> >         rpm -qa | grep kaffe
 
> A real cute bunch of developers. How does a user relate the version this
> reports to the standard Java versions, like 1.1, 1.3, 1.4 & 2.0?

> #> rpm -e `rpm -qa | grep kaffe`  To remove it.

Is this necessary?

> Then go get java and install it.

Which?

http://java.sun.com/j2se/1.4.1/download.html ->
http://java.sun.com/webapps/download/DisplayLinks ->


http://java.sun.com/webapps/download/Redirect/14416992/584747937728280705350
5607246086069333228071972022813600060132859339008063305596058473206-3865/j2r
e-1_4_1_01-linux-i586-rpm.bin
or

http://java.sun.com/webapps/download/Redirect/14417324/584747937728280705350
5607246086069333228071972022813600060132859339008063305596058473206-3865/j2r
e-1_4_1_01-linux-i586.bin

Or something else?
-- 
"If you are wise, your wisdom will reward you. . . ." Proverbs 9:12 NIV

 Team OS/2 ** Reg. Linux User #211409

Felix Miata  ***  http://members.ij.net/mrmazda/



Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com

Reply via email to