LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   HELP: Java and Eclipse Installation 101 on RedHat 9 (https://www.linuxquestions.org/questions/linux-newbie-8/help-java-and-eclipse-installation-101-on-redhat-9-a-102094/)

prplant 10-09-2003 10:59 AM

HELP: Java and Eclipse Installation 101 on RedHat 9
 
Hello. I am a Linux newbie.
Could someone please spell it out for me, step by step and line by line how to install Java 2SE on my computer and then install the latest release of Eclipse. Ironically enough I am a software developer in Java and C# (on Windows) and I can't seem to figure this out.

This is what I have done so far:
- Downloaded the Java2SE 1.4.1 SDK
- Performed the following on my machine:

chmod a+x [package]
./ [package]
rpm -iv [package]

At this point it took it's sweet time and then that was it. It placed a java directory in the /usr directory and I set the path variable:

export PATH = $PATH:/ usr/java

As you can see I am lost.... HELP, please HELP.

ksgill 10-09-2003 03:09 PM

You path should be where your javasdk bin is installed..for example, mine is installed in /usr/java/j2sdk1.4.2_01/bin.
test it by typing whereis java.
if it works then add the line
export PATH = $PATH:/usr/java/j2sdk1.4.2_01/bin
to your .bashrc file by doing gedit .bashrc and editing the file. There are a lot of threads on this problem ....look at those too. Good Luck

prplant 10-09-2003 04:17 PM

Can't figure it out...
 
I am trying to create a new launcher in the Programs>Software Development menu that points to Eclipse which I moved from my home profile directory to /etc/eclipse but everytime I try to execute the launcher it says that it cannot find the JRE. Why is this when I have updated the path as I was directed?

When I open a terminal and actually go into the etc/eclipse directory I can issue the simple command ./eclipse and it lauches fine... But why is this not the same as the laucher in the menu?

Also, I am using the Ximian Desktop if that makes a difference.

Thanks


All times are GMT -5. The time now is 04:51 PM.