ilughyd  

RE: [TwinCLinG] how to install java in linux

Srinivas G.
Thu, 02 Feb 2006 02:52:47 -0800

Rakesh wrote: 
> hello i want to know how to install java in linux. iam having redhat
> enterprise linux.
>

By default gcj compiler will be installed while installing the Linux OS
itself.

But for having many options like in DOS using Java and Javac commands,
we will generally download the Java SDK for Linux directly from the SUN
micro systems web site mentioned below:
 
https://jsecom15k.sun.com/ECom/EComActionServlet;jsessionid=AC5A49825DB4
65D412B536705545507F

The file name is jdk-1_5_0_06-linux-i586.bin. It is a self extracting
bin file.

First we have to change its permission using chmod 777 to make it
executable and then run it using ./filename.bin

It will install the required Java software on the system.

To run commands Java and Javac, we should use complete path. They will
be located in the bin directory inside Java directory created while
extracting the above bin file.

Later we can set classpaths and paths.

The traditional hello world program is also attached.

Regards,
Srinivas G

 



-----------------------------------------------
Next Meeting as on our Website: http://ilughyd.org.in
----------------------------------------------- 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/ilughyd/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/