[TriLUG] Fedora 7 (was Fedora core 8)

Robert Dale robdale at gmail.com
Sat Sep 29 12:10:54 EDT 2007


maybe something like this would work..

alternatives --install /etc/JAVA_HOME JAVA_HOME /usr/java/jdk1.6.0_01 1500

JAVA_HOME=/etc/JAVA_HOME

On 9/29/07, Tim Jowers <timjowers at gmail.com> wrote:
> Also can look at /etc/alternatives and setup a switcher for Java 1.5, Java
> 5, Java 6 but it doesn't change the JAVA_HOME. Argh! Anybody know the trick
> there?
>
>
> On 9/29/07, Robert Dale <robdale at gmail.com> wrote:
> >
> > On 9/29/07, WA Brown <brownwa at ftc-i.net> wrote:
> >
> > > > That isn't out yet. I suggest you stick with 7 unless you have a
> > > > powerful reason to need 8 and know what you're getting into. Also,
> > > > they've dropped the "core" bit. It's just Fedora Project now.
> > > >
> > > > > 1.Java does not work and I have installed it but it still doesn't
> > work.
> > > >
> > > > Which Java? Sun Java from the Sun website? All of Java? Just the JRE?
> > >
> > > JRE downloaded and installed from Sun Java. It still does not work.
> >
> > Without the details of what "doesn't work" means, it's hard to debug.
> > I use only Sun's java (1.5, 1.6) and have installed them on many
> > Fedora 7 machines (x86, 32-bit).  I have never seen any problems.
> >
> > Fedora comes with GNU's java (gcj) which I have seen many problems with.
> > java -version:
> > gij (GNU libgcj) version 4.1.2 20070502 (Red Hat 4.1.2-12)
> >
> > Make sure you've either uninstalled gcj and/or put Sun's first in the
> > PATH.  Neither the rpm nor the bin version do this for you!
> > What I typically do is create a profile file to set the environment.
> > /etc/profile.d/java.sh:
> > export JAVA_HOME=/path/to/java
> > export PATH=${JAVA_HOME}/bin:${PATH}
> >
> > (Load it - . /etc/profile.d/java.sh - or relogin)
> > java -version
> > java version "1.6.0_01"
> > Java(TM) SE Runtime Environment (build 1.6.0_01-b06)
> > Java HotSpot(TM) Client VM (build 1.6.0_01-b06, mixed mode, sharing)
> >
> > If you mean doesn't work in the browser, all I can say is that it's
> > probably using gcj and you'll have to do some extra configuration to
> > make the browser use sun's.
> >
> > > I just want to be able to listen to online radio programs, video news
> > > stories and the embedded video that is on some sites such as news sites.
> > > I am not trying to do anything illegal but you should be able to see an
> > > embeded video or online radio program.
> >
> > Point your yum at http://rpm.livna.org to get all the non-free stuff.
> >
> > --
> > Robert Dale
> > --
> > TriLUG mailing list        : http://www.trilug.org/mailman/listinfo/trilug
> > TriLUG Organizational FAQ  : http://trilug.org/faq/
> > TriLUG Member Services FAQ : http://members.trilug.org/services_faq/
> >
> --
> TriLUG mailing list        : http://www.trilug.org/mailman/listinfo/trilug
> TriLUG Organizational FAQ  : http://trilug.org/faq/
> TriLUG Member Services FAQ : http://members.trilug.org/services_faq/
>


-- 
Robert Dale



More information about the TriLUG mailing list