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 09-06-2004, 05:31 AM   #1
chidman
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.

Problem:

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.

Chris.

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, 05:58 AM   #2
mhearn
LQ Guru
 
Registered: Nov 2002
Location: Durham, England
Distribution: Fedora Core 4
Posts: 1,565

Rep: Reputation: 47
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, 04:21 PM   #3
chidman
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

Chris.
 
Old 10-14-2004, 11:39 PM   #4
vladacar
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
fi

# User specific environment and startup programs

PATH=/opt/IBMJava2-142/bin/:$PATH
export PATH

PATH=$PATH:$HOME/bin

export PATH
unset USERNAME
~

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


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