Sadly most Linux distros don't bundle the Sun Java JRE (Java Runtime
Engine) due to it's license. Here's a simpler solution on setting up
Sun Java VM on your favorite Linux distro:

1. Download the Sun Java JRE from http://java.sun.com. You can
download the self-extracting RPM or BIN file. My preference is the BIN
file for simplicity on installation.

2. For RPM packaged JRE, you do the usual RPM installation process.
For BIN files, just execute the file and it will extract the JRE
directory and binaries. I usually extract the BIN JREs at /opt
directory. You can create a java folder under /opt and extract
different version of JRE inside it.

3. Define the JAVA_HOME environment variable pointing it to the
absolute path location of the JRE, i.e. /opt/java/j2sdk-1.5.0, then
add it to your PATH variable something like this:

PATH=$PATH:$JAVA_HOME/bin

Make sure to export both PATH and JAVA_HOME inside your bash profile,
or the profile of your favorite console.

This approach has worked fine for me on Fedora, RHEL, Gentoo and
Ubuntu setups for running multiple Java apps using different versions
of Java JREs :-)

On Tue, 22 Mar 2005 15:50:30 -0800 (PST), Allen Umlas
<[EMAIL PROTECTED]> wrote:
> 
> 
> Gurus,
>      I just want to ask if java2-jre are bundle on
> this linux distro(redhat or fedora)?, im badly looking
> for this package for this distros, on SuSE linux, the
> java2-jre its a bundle packages, or anyone who tried
> and run jive_messenger a jabber server on a redhat or
> fedora? i had error on connecting to my database using
> mysql, its used driver "com.mysql.jdbc.Driver" <-- a
> java driver which is used by jive_messenger on
> connecting database.
>     Need an output badly, Thanks....
> 
> oninz
> 
> __________________________________
> Do you Yahoo!?
> Yahoo! Small Business - Try our new resources site!
> http://smallbusiness.yahoo.com/resources/
> --
> Philippine Linux Users' Group (PLUG) Mailing List
> [email protected] (#PLUG @ irc.free.net.ph)
> Official Website: http://plug.linux.org.ph
> Searchable Archives: http://marc.free.net.ph
> .
> To leave, go to http://lists.q-linux.com/mailman/listinfo/plug
> .
> Are you a Linux newbie? To join the newbie list, go to
> http://lists.q-linux.com/mailman/listinfo/ph-linux-newbie
> 


-- 
http://jojopaderes.multiply.com
--
Philippine Linux Users' Group (PLUG) Mailing List
[email protected] (#PLUG @ irc.free.net.ph)
Official Website: http://plug.linux.org.ph
Searchable Archives: http://marc.free.net.ph
.
To leave, go to http://lists.q-linux.com/mailman/listinfo/plug
.
Are you a Linux newbie? To join the newbie list, go to
http://lists.q-linux.com/mailman/listinfo/ph-linux-newbie

Reply via email to