Setting Default JDK Problem

Tod Merley todbot88 at gmail.com
Mon Aug 14 10:17:47 UTC 2006


On 8/14/06, Russ Kinter <pyth7 at verizon.net> wrote:
> NM I fixed the problem with the info I found here:
> http://ccl.net/cca/software/SOURCES/JAVA/JSDK-1.5/index.shtml
> The google really is my friend :)
>
> Thanks
> Russ Kinter
>
> On Mon, 2006-08-14 at 02:15 -0400, Russ Kinter wrote:
> > Hi All,
> > I am relatively new to both Linux and Fedora 5 x84_64 and I can't seem
> > to get the tools of the Sun JDK working via command line. The
> > installation of the JDK seemed to go fine.
> >
> > Typing: [root at localhost ~]# java -version
> >
> > Produces:
> > java version "1.5.0_07"
> > Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_07-b03)
> > Java HotSpot(TM) Client VM (build 1.5.0_07-b03, mixed mode, sharing)
> >
> > (The Sun JDK package was installed not just the JRE....in theory
> > anyway :)
> >
> > However typing: [root at localhost ~]# jar -V
> >
> > produces:
> > jar (fastjar) 0.92-gcc
> >
> > Copyright 1999, 2000, 2001  Bryan Burns
> > Copyright 2006 Free Software Foundation..........
> >
> > Then typing: [root at localhost ~]# javac
> >
> > produces:
> > Eclipse Java Compiler v_585_R31x, 3.1.2 release, Copyright IBM Corp
> > 2000, 2006. All rights reserved.
> >
> > Typing: [root at localhost ~]# appletviewer
> > produces:
> > bash: appletviewer: command not found
> >
> > As you can see the problem is simply Sun JDK is not the default!
> > How do I make the Sun JDK the default? Which environment/configuration
> > file do I modify?
> >
> > Thanks!
> > Russ Kinter
> >
> >
> >
> >
>
> --
> fedora-list mailing list
> fedora-list at redhat.com
> To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
>

Hi Russ!

All of this may well be for me, hinting that I should be doing a bit
more Java!  Lots to learn with Linux and friends.

Thanks for the note, I have bookmarked the page and will read for my
own benafit later.

Thanks!

Tod




More information about the fedora-list mailing list