First step is to install JDK on the system:
JDK INSTALLATION
1. To install JDK 1.5 download the self extracting rpm from the sun download site:
2. Save the file to your local directory, for example /home/ganesh/
3. Now login as root user and make the rpm.bin executable.
4. Start the installtion process:
5. Executing the above binary will display the license agreement, scroll through it till the end, type yes and press enter.
6. This will install jdk in the directory /usr/java/jdk1.5.0_17
CONFIGURATION:
1. To make this JDK available to all users of the system. The JAVA_HOME environment variable has to be set. To do this edit the profile file.
[root@myredhat]#vi /etc/profile
2. Then put the below entires to the bottom of the file
JAVA_HOME=/usr/java/jdk1.5.0_17; export JAVA_HOME
PATH=$JAVA_HOME/bin:$PATH; export PATH
3. Logout and then login again.
4. To verify that the installation and configuration are done perfectly, test it using the commands:
[root@myredhat]#java -version
which will give an output like the one below:
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_17-b04)
Java HotSpot(TM) Client VM (build 1.5.0_17-b04, mixed mode, sharing)
-------------------------------------------------------------------------------
and also using
[root@myredhat]#which java
/usr/java/jdk1.5.0_17/bin/java
5. With this JDK instllation is complete and we'll now proceed on to the Eclipse intallation.
ECLIPSE INSTALLATION:
For example: eclipse-cpp-ganymede-SR1-linux-gtk.tar.gz --> /home/ganesh/
2. Move to /home/ganesh directory and untar the file using command
[root@myredhat]# tar -xzvf eclipse-cpp-ganymede-SR1-linux-gtk.tar.gz
3. This will unzip the contents in to eclipse directory in /home/ganesh/eclipse
4. Now move this directory to /opt/
[root@myredhat]#mv /home/ganesh/eclipse /opt/
5. Edit the /etc/profile file and add the below entries to the end of the file:
ECLIPSE_HOME=/opt/eclipse; export ECLIPSE_HOME
6. Edit the already existing entry which had JAVA_HOME appended to the PATH to:
PATH=$JAVA_HOME/bin:$ECLIPSE_HOME:$PATH; export PATH
7. Save the file, logout and relogin to the system.
8. Now type eclipse from the terminal and eclipse will startup by with a default workspace in the user's home directory.
SVN PLUGIN INSTALLATION:
Refer to the below link for detailed installation instructions:
ANT INSTALLATION:
1.