LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   VM not in PATH - Cannot locate installed components (https://www.linuxquestions.org/questions/linux-newbie-8/vm-not-in-path-cannot-locate-installed-components-227225/)

chidman 09-06-2004 04:31 AM

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.

mhearn 09-06-2004 04:58 AM

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.

chidman 09-06-2004 03:21 PM

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.

vladacar 10-14-2004 10:39 PM

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


All times are GMT -5. The time now is 02:16 AM.