Re: How to install Java compiler and configure it
From: Laurenz Albe (albe_at_culturallNOSPAM.com)
Date: 04/11/05
- Next message: ArunJ: "cp $(ATTACHED t-linux file) gcc/config/arm/"
- Previous message: Durgesh Sharma: "Looking for GNU-GPL (Excel like) Spread*** package for my customized live Linux CD solution"
- In reply to: upulDI: "How to install Java compiler and configure it"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Mon, 11 Apr 2005 07:57:51 +0000 (UTC)
upulDI <upuldi@gmail.com> wrote:
> i am a Linux user (Red Hat 9.0). Can anybody tell me how to setpath in
> Linux.
I assume that you use the bash shell.
If not, consult the man page for your shell.
Edit the file .profile in your home directory, and add a line like this:
export PATH=/usr/bin:/bin:/usr/local/bin:/my/favourite/directory
If you want to add to your existing path,
export PATH=$PATH:/my/favourite/directory
The new path will be in effect next time you login.
> & where can i download JDK RPM file.
You can get Java SDK 1.4 from Sun:
http://java.sun.com/j2se/1.4.2/download.html
http://java.sun.com/j2se/1.4.2/system-configurations.html
There is also a JDK by Blackdown:
http://www.blackdown.org/java-linux/java2-status/jdk1.4-status.html
The Sun version is less specific concerning the system requirements,
but I assume that your RedHat 9.0 system does not have the necessary
prerequisites installed for any of the two.
You might try older versions of Java from
http://java.sun.com/products/archive/index.html
or, what I would recommend, you could upgrade your operating system.
> i would like to know whether Linux is a good platform to Java.& why a
> programmer should use linux like os insted of using Windows platform?
> are there any benifits ?
Linux is a good platform for Java.
A programmer should use Linux instead of Windows for developing Java if
any of the following applies:
- The programmer likes a cheap and stable operating system.
- The hardware in question is too 'old' to run a recent Windows.
- The software developed will be used in a UNIX environment.
- The programmer likes UNIX.
Actually, when you use Java, the operating system you develop on is less
important than when you use other programming languages, so you can
follow your taste here. Your programs will (probably) run on a different
operating system just as well if you avoid hard-coding platform specific
things, like path separators or newlines.
Yours,
Laurenz Albe
- Next message: ArunJ: "cp $(ATTACHED t-linux file) gcc/config/arm/"
- Previous message: Durgesh Sharma: "Looking for GNU-GPL (Excel like) Spread*** package for my customized live Linux CD solution"
- In reply to: upulDI: "How to install Java compiler and configure it"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]