Re: java install

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi Michael,

> Yes I see them and it appears Java was already there before my yum/rpm
> failures:
> 
> mkb@veri:~$ java --version
> java version "1.5.0"
> gij (GNU libgcj) version 4.1.2 20070925 (Red Hat 4.1.2-27)
> 
> Copyright (C) 2006 Free Software Foundation, Inc.
> This is free software; see the source for copying conditions.  There is
> NO
> warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR
> PURPOSE.
> 
> 
> mkb@veri:~$ which -a java
> /usr/bin/java
> 
> mkb@veri:~$ ls -lt /usr/bin/java
> lrwxrwxrwx 1 root root 22 2007-07-19 17:06 /usr/bin/java
> -> /etc/alternatives/java*
> 
> 

If you have no qualms installing the Sun's jre, then after you have
installed the (bin+rpm) JRE, then look for the following directory:

/usr/java/

Under this you should find the JRE that you just installed (atleast this
is where it installs the files in the 32 bit versions).

The next things that you want to do is, add the JRE to the path. I
usually add the following lines to my /etc/profile file (just before the
unset calls)

# Adding extra paths.
pathmunge /usr/java/latest/bin


Then, you will need to symlink the JRE plugin to the mozilla plugins
directory.

(as root)
cd /usr/lib/mozilla/plugins
ln -s /usr/java/latest/jre/plugin/i386/ns7/libjavaplugin_oji.so .

/Check for the file location in your JRE. I usually install the JDK so
the above locations work for me/

Now just restart your browser and visit a site that is Java enabled :)

HTH,

later,
Rogue
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (GNU/Linux)

iD8DBQFHEOcXceS9IQvx51YRAsRWAJ9VEkCLKwE0MAaWBmg+xJzxD+YEngCfd7h2
+rapruzcoKj9v14OYQ47oPY=
=oD2m
-----END PGP SIGNATURE-----


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux