Share your knowledge at the LQ Wiki.
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 02-18-2005, 11:25 AM   #1
LQ Newbie
Registered: Feb 2005
Posts: 18

Rep: Reputation: 0
Issues with JAVA

I went to sun's website and downloaded the JRE 1.4 and installed it successfully. Every time I would try and load an application, it would tell me that it was the incorrect version of JAVA and to try SUN JRE 1.4 Well, I found out that I had the generic java ,gcc-java and everytime I was executing a java file, it would try and load it with that. So I did what any former windows user would do and I just deleted the files and directories under /usr/share/java Well, that didn't help, now it won't find java at all. I was wondering how I tell the system where the actual java is located, so that everytime I attempt to load any java app, it knows where JRE is. I am still getting used to the whole arrangement of directories and what they do. Is there a good site that kind of explaines the basics of the way the filesystem works in regards to each specific funtion of each directory? Anyway, Thanks for any help, you guys have been great!
Old 02-18-2005, 02:45 PM   #2
Registered: Jun 2004
Location: MD
Distribution: Fedora Core
Posts: 269

Rep: Reputation: 31
you need to add the java executables to your path, you can do that by editing your /etd/profile.

See here for detailed instructions:

Last edited by csfalcon; 06-09-2008 at 11:35 AM.


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
Azureus Java issues dreakon SUSE / openSUSE 1 10-03-2005 10:55 AM
Java issues mtecknology Linux - Software 2 07-01-2005 03:24 PM
java install issues scrag1979 Linux - Software 2 05-28-2005 02:13 PM
Java Issues odd Linux - Software 11 05-03-2004 03:34 PM
Netscape 6 Java issues d_ttrain Linux - General 2 01-06-2001 02:21 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:53 PM.

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