[hcflinux] java in linux Redhat 8.0

stc USA stcusa at yahoo.com
Tue Apr 8 10:10:55 EDT 2003



Hi, 
I installed j2sdk-1_4_1-linux-ia64.bin in my RedHat
8.0 but still I could not run my java programs, it
says for example :

root> javac prgname
root> bash: there is no such a command

what I did is I followed these instructions:
--------------------------------------------------
Installation of Self-Extracting Binary
Use these instructions if you want to use the
self-extracting binary file to install the Java 2 SDK.
If you want to install RPM packages instead, see
Installation of RPM File. 

1. Check the download file size. 

Before you download a file, notice that its byte size
is provided on the download page on the web site. Once
the download has completed, check that you have
downloaded the full, uncorrupted software file. 

2. Copy j2sdk-1_4_1-linux-ia64.bin to the directory
into which you want to install the Java 2 SDK. 

3. Run j2sdk-1_4_1-linux-ia64.bin 

Launch the executable file you downloaded,
j2sdk-1_4_1-linux-ia64.bin, by using the following
commands from the directory in which it is located: 

chmod a+x j2sdk-1_4_1-linux-ia64.bin

./j2sdk-1_4_1-linux-ia64.bin

The script displays a binary license agreement, which
you are asked to agree to before installation can
proceed. Once you have agreed to the license, the
install script installs the Java 2 SDK in a directory
named j2sdk1.4.1 in the current directory. 

Note about Root Access - Unbundling the software
automatically creates a directory called j2sdk1.4.1.
Note that if you choose to install the Java 2 SDK into
system-wide location such as /usr/local, you must
first become root to gain the necessary permissions.
If you do not have root access, simply install the
Java 2 SDK into your home directory, or a subdirectory
that you have permission to write to. 

Note about Overwriting Files - If you unpack the
software in a directory that contains a subdirectory
named j2sdk1.4.1, the new software overwrites files of
the same name in that j2sdk1.4.1 directory. Please be
careful to rename the old directory if it contains
files you would like to keep. 
------------------------------------------------

what is wrong?  Please email me
Thanks

STC

__________________________________________________
Do you Yahoo!?
Yahoo! Tax Center - File online, calculators, forms, and more
http://tax.yahoo.com



More information about the hcflinux mailing list