Re: Fedora and Java - just give us the facts

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

 



On Sun, Aug 12, 2007 at 02:17:00PM +0100, ne... wrote:
> On 8/12/07, Timothy Murphy <tim@xxxxxxxxxxxxxxxxxxxxxx> wrote:

> > What about the environment variable CLASSPATH?
> No clue.
> Having said all of that, take a look at
> http://stanton-finley.net/fedora_core_5_installation_notes.html#Java .
> These notes are applicable to FC7.
> They show how to get multple versions of java installed.

You can handle CLASSPATH while you edit /etc/profile.d/java.sh in the
stanton-finley.net instructions. Add, e.g.:

# Make Java happy.
export CLASSPATH=/usr/share/tomcat5/bin/:/usr/bin:/usr/share/java/servletapi5.jar:/usr/share/java/log4j.jar:.
export JAVA_HOME=/usr
export CATALINA_HOME=/usr/share/tomcat5
export ANT_HOME=/usr/local/ant
export PATH=${PATH}:${ANT_HOME}/bin
export PATH=${PATH}:${JAVA_HOME}/bin # duplicate

Modify to suit, especially as the stanton-finley.net instructions have
you put the Sun JRE/JDK in a different place.

You may also want to look at http://jpackage.org/.

-- 

Charles Curley                  /"\    ASCII Ribbon Campaign
Looking for fine software       \ /    Respect for open standards
and/or writing?                  X     No HTML/RTF in email
http://www.charlescurley.com    / \    No M$ Word docs in email

Key fingerprint = CE5C 6645 A45A 64E4 94C0  809C FFF6 4C48 4ECD DFDB

Attachment: pgpEkFkXryZOD.pgp
Description: PGP signature

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