LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices


Reply
  Search this Thread
Old 10-23-2005, 03:42 PM   #1
Berticus
Member
 
Registered: Jul 2005
Distribution: Arch
Posts: 159

Rep: Reputation: 31
Exclamation URGENT: JRE not found


I am working on a project, and I really need to get it going. I started Eclipse and this is what I get:

http://img115.imageshack.us/img115/2651/0000106yi.png

This is what I have in /usr/bin/java:
Code:
$su
Password:
#cd /usr/bin/java
#ls
bin      COPYRIGHT  lib      man     README                       Welcome.html
CHANGES  javaws     LICENSE  plugin  THIRDPARTYLICENSEREADME.txt
#ls bin
ControlPanel  javaws   klist  pack200     rmiregistry  unpack200
java          keytool  ktab   policytool  servertool
java_vm       kinit    orbd   rmid        tnameserv
is something misplaced??? Oh yeah, I should probably show the alternatives:
Code:
#/usr/sbin/alternatives --config java

There are 3 programs which provide 'java'.

  Selection    Command
-----------------------------------------------
   1           /usr/lib/jvm/jre-1.4.2-gcj/bin/java
   2           /opt/jre1.5.0_05/bin/java
*+ 3           /usr/lib/jvm/jre-1.5.0-sun/bin/java

Enter to keep the current selection[+], or type selection number:
I'd really, REALLY appreciate it if this problem could be fixed by today. It was working last night...

------------------------------------Edited------------------------------------
Not as urgent anymore. I can launch it through /usr/share/eclipse/eclipse, but I would really like to launch from the menu...

Last edited by Berticus; 10-23-2005 at 03:56 PM.
 
Old 10-23-2005, 05:17 PM   #2
spooon
Senior Member
 
Registered: Aug 2005
Posts: 1,755

Rep: Reputation: 51
"/usr/bin/java" should be a symlink to "/etc/alternatives/java"; try something like this:
Code:
/usr/sbin/alternatives --install /usr/bin/java java /opt/jre1.5.0_05/bin/java 2
 
Old 10-23-2005, 06:37 PM   #3
Berticus
Member
 
Registered: Jul 2005
Distribution: Arch
Posts: 159

Original Poster
Rep: Reputation: 31
Didn't work :/
 
  


Reply



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
boot sector and lilo collapse !!!!! URGENT URGENT URGEN !!!!! frelihm Linux - Software 21 12-02-2009 10:21 AM
URGENT!!! (apxs not found) Integrating Apache & Tomcat on RedHatLinux AS 4 amitkanodia Linux - General 5 12-01-2005 10:43 AM
convert from jre-...-rpm.bin into jre-...rpm gimi_k2 Linux - Newbie 3 07-18-2005 06:34 PM
Yoper; Network not found! URGENT! Bauke P. Linux - Networking 9 11-05-2004 04:21 PM
Urgent Urgent !!!! Mozilla Keeps All Your Deleted Emails !!!! odin123 Linux - Software 2 01-31-2004 02:22 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora

All times are GMT -5. The time now is 01:41 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
Open Source Consulting | Domain Registration