installing java on Linux

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: liberty young
Date:  
Subject: installing java on Linux
The RPM's from java.sun.com should work. If you install the root of the
java package at /usr/, then it will put things in /usr/j2se-version/,
where you will find bin, lib, and other stuff... Biggest thing to
remeber, is that all those binaries and libraries are use relative
paths to find each other...so just don't blindly copy things from bin/
into /usr/bin...it will break. Your problem of not finding the java
binary is as others said..it is not in your path.

Installing the java RE or J2SE with netbeans IDE "from scratch" is
rather easy...just execute the binary and specify where to install it..i
usually do /usr/local and then symlink java to the java top directory
that the install made..that way, i can have multiple java versions
installed, and if I'm doing a project that needs to downgrade, then i
point the symlink to another java version...my ~/.bashrc file still
points to /usr/local/java/bin/


On Wed, 2003-08-13 at 01:33, David Huerta wrote:
> I have recently installed the Linux java RE rpm from Sun's website, or
> at least I thought I did. after trying to run a java program I've
> written, the command "java" could not be found. I tried the "which
> java" command, which told me java was not installed. I made my way to
> /usr/java, where the RE and SDK packages had all sorts of binary files
> and system libraries. Unfortunately, I don't know where they all go,
> although I thought the rpm would have taken care of that. A friend of
> mine said I should install java "from scratch," but I don't know where
> to start. Any suggestions?
>
> + David Huerta
>
> ---------------------------------------------------
> PLUG-discuss mailing list -
> To subscribe, unsubscribe, or to change you mail settings:
> http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss
>