-   Linux - General (
-   -   jre not in path... (

Risc91 01-12-2002 04:56 PM

jre not in path...
i installed jre so that i could use limewire, but when i try to install limewire it says jre is not in my path. problem is, I installed the rpm package of jre and can't find it now. if someone could help me out so i'd know what dir to add to the path that be great. thanks! oh and has anyone used the VQF plugin for xmms? It just crashes when i try to play a vqf file. any ideas??

therion12 01-12-2002 06:25 PM

Don't know about the XMMS problem. But look to see if jre is in /usr/local/java/jre/bin

if so, then thats the directory you need to add to the PATH environment variable.

neo77777 01-13-2002 02:01 AM

If it's not there as Therion pointed, run
rpm -qs jre
it will list all the directories and executables that was created and installed.

linear 01-14-2002 03:23 PM

Heres some info I pulled up using a common search engine looks correct.
Each time bash starts up (ie. when you log into a text terminal, when you launch an xterm), two bash configuration files are automatically read by bash. One is .bashrc, and the other is .bash_profile. Both are located in the user's home directory, so the files can be configured differently for each user.
.bash_profile contains this:

export PATH
This will set your path to /usr/java/jdk1.3.1_02/jre/lib/rt.jar:$PATH:$HOME/bin
Therefore, everytime bash starts up, your path will be set to the above. In order to change the path, just modify the line in .bash_profile. Here's what you would change it to in order to add /opt/gnome/bin to the path:

export PATH
The $PATH variable references the current path, and the $HOME variable references the user's home directory. Also, the different directories in your path must be separated by colons ( :).

hughesjr 01-15-2002 12:24 PM

normally the rpm install is done to the directory /usr/java/jrexxxxxx where xxxxxx is a version number (like 1.3.1_02 so the path would be /usr/java/jre1.3.1_02/ for the install.

Normally there is a java file in the directory /usr/bin (the path is normally /usr/bin/java). If you have installed the jre you should be able to type the command

which java

and the result should be /usr/bin/java.

If you don't have a /usr/bin/java, you can link to the file /usr/java/jre1.3.1_02/bin/.java_wrapper from the /usr/bin directory like this...

cd /usr/bin

ln -s /usr/java/jre1.3.1_02/bin/.java_wrapper java

Then if you type

/usr/bin/java -version

you should get:

java version "1.3.1_02"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.1_02-b02)
Java HotSpot(TM) Client VM (build 1.3.1_02-b02, mixed mode)

frkstein 01-15-2002 12:52 PM

I can't say if it is true or not, but I have read that Limewire 1.8 installs spyware when you run the install. Use at your own risk.

linear 01-15-2002 08:14 PM

Ladies and gentlemen java has left the Sandbox.

Aussie 01-16-2002 02:26 AM

Re: Spyware!

Originally posted by frkstein
I can't say if it is true or not, but I have read that Limewire 1.8 installs spyware when you run the install. Use at your own risk.
That a problem that only effects windblows lusers :D

All times are GMT -5. The time now is 06:57 PM.