Latest LQ Deal: Latest LQ Deals
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 10-09-2003, 10:59 AM   #1
LQ Newbie
Registered: Oct 2003
Posts: 6

Rep: Reputation: 0
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.
Old 10-09-2003, 03:09 PM   #2
Senior Member
Registered: Apr 2003
Location: Toronto, Canada
Distribution: Ubuntu Jaunty (9.04)
Posts: 1,044

Rep: Reputation: 45
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
Old 10-09-2003, 04:17 PM   #3
LQ Newbie
Registered: Oct 2003
Posts: 6

Original Poster
Rep: Reputation: 0
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.



Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Need help with Java and Eclipse VE Veteq Programming 1 11-10-2005 07:01 PM
java and eclipse eng_raar Programming 4 01-08-2005 05:20 PM
Eclipse Can't Find Java jeffChuck Linux - Software 5 01-04-2005 06:06 AM
Java installation redhat 9 pooster Linux - Newbie 1 08-21-2003 11:59 PM
Java installation on Linux (redhat 7.2) baburaj Linux - General 2 08-08-2003 12:02 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:32 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration