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

Re: Fedora and Java - just give us the facts

On Sun, Aug 12, 2007 at 02:17:00PM +0100, ne... wrote:
> On 8/12/07, Timothy Murphy <tim birdsnest maths tcd ie> 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: pgpQVGxDjjb1n.pgp
Description: PGP signature

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