Visit Jeremy's Blog.
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 09-06-2004, 04:31 AM   #1
LQ Newbie
Registered: Sep 2004
Location: Lincolnshre (UK)
Distribution: How do I find out? Would Red Hat be it? Like I said, I know nothing :-)
Posts: 5

Rep: Reputation: 0
VM not in PATH - Cannot locate installed components

I have installed a Java VM using rpm -i as root. This was necessary to install LimeWireLinux.bin as downloaded from the net. LimeWireLinux states on install that no VM could be found on the path.


1. The Java VM (j2sdk-1_4_2_05-linux-i586.rpm) is not installed when I use the rpm -q query. However, attempts to reinstall state that it is already installed.

2. I cannot locate the allegedly-installed component to find out what additional directories I need to add to my path.

Any help would be appreciated.


PS -- To the guys that helped me with my last query, I have learned lots just by following your links. Many, many thanks.
Old 09-06-2004, 04:58 AM   #2
LQ Guru
Registered: Nov 2002
Location: Durham, England
Distribution: Fedora Core 4
Posts: 1,565

Rep: Reputation: 57
Rpm -q takes the package shortname not the filename. Yes it's very unintuitive and *everybody* gets tripped up by it.

So try "rpm -ql j2sdk-1_4_2_05-linux" or something

The JVM is installed to /usr/java/j2sdk-something, you may need to point LimeWire to it.
Old 09-06-2004, 03:21 PM   #3
LQ Newbie
Registered: Sep 2004
Location: Lincolnshre (UK)
Distribution: How do I find out? Would Red Hat be it? Like I said, I know nothing :-)
Posts: 5

Original Poster
Rep: Reputation: 0
Thanks Mike - I found the directory and eventually realised that I needed to include that directoy's /bin/ subdir to PATH.

It is installed now (after days of trying) and hopefully it is about to work (fingers crossed).

Thanks Again

Old 10-14-2004, 10:39 PM   #4
LQ Newbie
Registered: Oct 2004
Posts: 9

Rep: Reputation: 0
the same thing

i am trying the same thing and under my own user name i edited /bash_profile and this is how it looks like:
this is my user name's bash profile

# .bash_profile

# Get the aliases and functions
if [ -f ~/.bashrc ]; then
. ~/.bashrc

# User specific environment and startup programs

export PATH


export PATH

should i change the root's profile too?
still it seems that the java is not in the path? i cannot compile limewire..
can somebody tell me what is the problem?


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
Unable to locate 'cc' utility in path SEATU Linux - Newbie 2 10-05-2005 12:22 AM
Program installed, now can't locate or start it rollo Linux - Newbie 24 12-29-2004 09:22 PM
can't get icewm installed because it cant locate a file simpletoker Slackware 5 03-17-2004 12:21 AM
where the applications locate installed in rpm way? cnwillow Linux - Newbie 1 11-18-2003 02:46 AM
how do i locate or point the location of installed libraries? kublador Linux - Newbie 7 03-01-2003 12:33 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:13 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