LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 10-09-2003, 11:59 AM   #1
prplant
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, 04:09 PM   #2
ksgill
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, 05:17 PM   #3
prplant
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.

Thanks
 
  


Reply


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 08:01 PM
java and eclipse eng_raar Programming 4 01-08-2005 06:20 PM
Eclipse Can't Find Java jeffChuck Linux - Software 5 01-04-2005 07:06 AM
Java installation redhat 9 pooster Linux - Newbie 1 08-22-2003 12:59 AM
Java installation on Linux (redhat 7.2) baburaj Linux - General 2 08-08-2003 01:02 AM


All times are GMT -5. The time now is 08:51 AM.

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