LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices



Reply
 
Search this Thread
Old 01-12-2002, 05:56 PM   #1
Risc91
Member
 
Registered: Jan 2002
Location: Macomb, MI
Distribution: Ubuntu|Red Hat ES|AIX
Posts: 161

Rep: Reputation: 30
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??
 
Old 01-12-2002, 07:25 PM   #2
therion12
Member
 
Registered: Dec 2001
Location: chicago, IL
Distribution: Gentoo 1.4_rc1
Posts: 913

Rep: Reputation: 30
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.
 
Old 01-13-2002, 03:01 AM   #3
neo77777
LQ Addict
 
Registered: Dec 2001
Location: Brooklyn, NY
Distribution: *NIX
Posts: 3,704

Rep: Reputation: 55
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.
 
Old 01-14-2002, 04:23 PM   #4
linear
LQ Newbie
 
Registered: Oct 2001
Location: Somewhere on top of a red mountain looking down
Distribution: CMENOEor
Posts: 26

Rep: Reputation: 15
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:

code:
------------------------------------------------------------------------------------
PATH=/usr/java/jdk1.3.1_02/jre/lib/rt.jar:$PATH:$HOME/bin
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:

code:
------------------------------------------------------------------------------------
PATH=/usr/java/jdk1.3.1_02/jre/lib/rt.jar:$PATH:$HOME/bin:/opt/gnome/bin
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 ( .
 
Old 01-15-2002, 01:24 PM   #5
hughesjr
LQ Newbie
 
Registered: Jul 2001
Location: Corpus Christi, TX
Distribution: CentOS-4
Posts: 8

Rep: Reputation: 0
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)
 
Old 01-15-2002, 01:52 PM   #6
frkstein
Member
 
Registered: Jan 2002
Location: Livonia, MI
Distribution: Ubuntu 10.04
Posts: 126

Rep: Reputation: 15
Exclamation Spyware!

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.
 
Old 01-15-2002, 09:14 PM   #7
linear
LQ Newbie
 
Registered: Oct 2001
Location: Somewhere on top of a red mountain looking down
Distribution: CMENOEor
Posts: 26

Rep: Reputation: 15
Ladies and gentlemen java has left the Sandbox.
 
Old 01-16-2002, 03:26 AM   #8
Aussie
Senior Member
 
Registered: Sep 2001
Location: Brisvegas, Antipodes
Distribution: Slackware
Posts: 4,590

Rep: Reputation: 56
Re: Spyware!

Quote:
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
 
  


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 On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
LimeWire, JRE, $PATH morte313 Linux - Software 5 08-25-2005 05:03 PM
convert from jre-...-rpm.bin into jre-...rpm gimi_k2 Linux - Newbie 3 07-18-2005 07:34 PM
Install/Uninstall LimeWire...PATH...JRE joe6pack Linux - Software 7 03-07-2005 07:30 PM
How to Chnage Python's module search path (sys.path)? lramos85 Linux - Software 1 05-02-2004 07:10 PM
jre path in suse9.0 for oracle8 install gnicezw Linux - Newbie 1 04-20-2004 06:08 PM


All times are GMT -5. The time now is 10:54 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration