LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
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 09-17-2005, 03:26 PM   #1
eagle63
LQ Newbie
 
Registered: Mar 2005
Posts: 29

Rep: Reputation: 15
locating java install on FC3


Hey guys, today I downloaded a linux j2re runtime from Sun's website, and then attempted to install it. It was an rpm.bin file, so per some posts I found on this site I did a chmod =+x to the file, and then executed it. However, all it really did was just leave me with a standard rpm file when it was done. I then installed the rpm using yum. (yum install j2re-1_4_2_09-linux-i586.rpm) This seemed to work in that yum didn't give any errors and said Complete! when it was finished.

So here's my question: Where the heck did it install it?? typing "java" at a command line brings back a "command not found" message. I'm assuming I have to setup some classpath stuff, but I don't think I can do that yet since I don't even know where to tell Linux the path of it is. I did a locate on java, j2re, etc, and all I found was a bunch of unrelated stuff. So I'm really scratching my head as to where it could have installed it.

I tried doing a rpm -qa | grep j2re, and it returned this: j2re-1.4.2_09-fcs. That appears to be the one I installed, so I guess that's good news...


Any ideas or suggestions would be greatly appreciated!!
 
Old 09-18-2005, 08:09 AM   #2
polemon
Member
 
Registered: Jun 2005
Distribution: Fedora 18, Ubuntu 11.10, Ubuntu Server 11.10, DamnSmallLinux 3.4.4, FreeDOS 1.1, OpenBSD 5.0
Posts: 194

Rep: Reputation: 31
Actually, i did it all different.

Once the .bin extracted to an RPM, i cp-ed it into /usr/java .
There i installed it with rpm -iv <.rpm> as root.

Now there's a subdirectory in java: /usr/java/j2re1.4.2_09

I suggest you take a look into /usr/java maybe it's there...

btw: I installed the jre1.5.0_04 into /usr/java too...

regards, polemon

PS: Oh, and in case you want to search for it, id suggest the search thingy under GNOME (Places>Search for files).

Last edited by polemon; 09-18-2005 at 08:20 AM.
 
  


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
what directory is java install? what CMD determined where java is install? Thks. suse2166 Linux - Newbie 2 09-04-2005 09:24 PM
Java IDE in FC3? ur-unholyness Linux - Software 1 04-12-2005 07:28 PM
FC3 and java packs priority johnnydangerous Fedora 5 02-05-2005 02:47 PM
Java installation in FC3 Hockeyfan Fedora 1 11-25-2004 03:18 PM
locating and edition .profile for java paths Madaize Linux - Newbie 1 11-07-2004 12:41 AM


All times are GMT -5. The time now is 07:35 PM.

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