Re: Setting Default JDK Problem

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

 



On 8/13/06, Russ Kinter <pyth7@xxxxxxxxxxx> 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@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@localhost ~]# jar -V

produces:
jar (fastjar) 0.92-gcc

Copyright 1999, 2000, 2001  Bryan Burns
Copyright 2006 Free Software Foundation..........

Then typing: [root@localhost ~]# javac

produces:
Eclipse Java Compiler v_585_R31x, 3.1.2 release, Copyright IBM Corp
2000, 2006. All rights reserved.

Typing: [root@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@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list


Hi Russ!

Probably others will answer better, I have/do no Java developement currently.

These look promising:

First of all found these with:

http://java.sun.com/j2se/1.5.0/search.html

http://java.sun.com/j2se/1.5.0/scsl/build-linux.html

http://java.sun.com/j2se/1.5.0/jre/install-linux.html

http://www.blackdown.org/


I am just up too late and a bit nervous about the two interviews I
have tomorrow so I do silly things.  Yet, I hope they are helpful.

Good Hunting!

Tod

--
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