l i n u x - u s e r s - g r o u p - o f - d a v i s
Next Meeting:
July 7: Social gathering
Next Installfest:
Latest News:
Jun. 14: June LUGOD meeting cancelled
Page last updated:
2004 Dec 29 13:39

The following is an archive of a post made to our 'vox-tech mailing list' by one of its subscribers.

Report this post as spam:

(Enter your email address)
Re: [vox-tech] Installing Java
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [vox-tech] Installing Java

On Wed, Dec 29, 2004 at 10:31:02AM -0600, Jay Strauss wrote:
> Hi,
> Simple question(s).  When you install both the java jdk & jre on the 
> same machine, what do you name the links to the distribution?
> that is, I did it like:
> I installed:
> /usr/local/jdk1.5.0
> /usr/local/jre1.5.0
> then did links:
> ln -s /usr/local/jdk1.5.0 /usr/local/java_jdk
> ln -s /usr/local/jre1.5.0 /usr/local/java_jre
> maybe I should get rid of the "java_", like:
> /usr/local/jre
> /usr/local/jdk
> Question 2: can I install the jre and jdk into the same area instead of 
> putting them in different directories?

When you install the jdk, it comes with everything from the jre
included, so you don't need to install the jre separately. Then all
you need to do after that is set an environment variable
JAVA_HOME=/usr/local/jdk1.5.0, and either add $JAVA_HOME/bin to your
path or symlink the appropriate binaries into /usr/local/bin

On Debian, the best way to install Java is to download the binary
installer and then use make-jpkg from java-package to create .debs of
Java that do the right thing.

On RPM based distros, the best way to install Java is to install the

--Ken Bloom

I usually have a GPG digital signature included as an attachment.
See http://www.gnupg.org/ for info about these digital signatures.

Attachment: signature.asc
Description: Digital signature

vox-tech mailing list

LUGOD Group on LinkedIn
Sign up for LUGOD event announcements
Your email address:
LUGOD Group on Facebook
'Like' LUGOD on Facebook:

Hosting provided by:
Sunset Systems
Sunset Systems offers preconfigured Linux systems, remote system administration and custom software development.

LUGOD: Linux Users' Group of Davis
PO Box 2082, Davis, CA 95617
Contact Us

LUGOD is a 501(c)7 non-profit organization
based in Davis, California
and serving the Sacramento area.
"Linux" is a trademark of Linus Torvalds.

Sponsored in part by:
Appahost Applications
For a significant contribution towards our projector, and a generous donation to allow us to continue meeting at the Davis Library.