Re: java install

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

 



On Fri, 2007-10-19 at 13:13 +0100, michael wrote:
> On Sat, 2007-10-13 at 21:11 +0530, Rogue wrote:
> > -----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
> 
> For some reason my /usr/java looks very different:
> 
> mkb@veri:/usr/lib/mozilla/plugins$ file /usr/java/*
> /usr/java/default:     symbolic link to `/usr/java/latest'
> /usr/java/jre1.6.0_03: directory
> /usr/java/latest:      symbolic link to `/usr/java/jre1.6.0_03'
> 
> mkb@veri:/usr/lib/mozilla/plugins$ ls /usr/java/jre1.6.0_03/
> bin/  COPYRIGHT  lib/  LICENSE  man/  README
> THIRDPARTYLICENSEREADME.txt  Welcome.html
> 
> mkb@veri:/usr/lib/mozilla/plugins$ ls /usr/java/jre1.6.0_03/bin
> java*  keytool*  orbd*  pack200*  policytool*  rmid*  rmiregistry*
> servertool*  tnameserv*  unpack200*
> 
> ie no JRE!
> 

I tried the other (non-RPM) approach too and it gives same
directoriess.... maybe JRE1.6 is different??!?

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux