Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
|
02-20-2005, 06:58 PM
|
#1
|
LQ Newbie
Registered: Feb 2005
Location: Vt
Distribution: linux redhat 9
Posts: 19
Rep:
|
linking JRE 5.0 to firefox and limewire
I'm running Fedora core 3, Trying to get limewire up and running. I've installed the JRE 5.0 and lime wire. When I try to launch limewire from the terminal it says it "cant find java" also when I go to the java test webpage, no steaming joe This is becuase the pluggin isent "soft linked" right? now I'm asuming the same needs to be done for limewire?
This is my second distro install to get limewire up and running on a linux box
Any time and energy in this matter is GREATLY apricaited
feel free to email me!
thanks
|
|
|
02-20-2005, 09:40 PM
|
#2
|
LQ Guru
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298
Rep:
|
If you installed the rpm, you need to add the lines below to you .bash_profile, then log out and back in again.
export PATH=$PATH:/usr/java/jdk1.5.0_01/bin
export PATH=$PATH:/usr/java/jdk1.5.0_01/jre/bin
|
|
|
02-21-2005, 12:10 AM
|
#3
|
LQ Newbie
Registered: Feb 2005
Location: Vt
Distribution: linux redhat 9
Posts: 19
Original Poster
Rep:
|
Did I not mention I'm a newb?
what is my ".bash_profile" and how do I update it with the lines you gave me? I dont even know how to "cd"
I unnderstand the comands, but dont understand the "DIR" enough to go from one place to the next in the terminal. Can I update my .bash_profile from a GUI ? or from the terminal. Sorry for my lack of understanding, but your time, energy and patience is verry much needed and put 2 good use!
thank you!
|
|
|
02-21-2005, 12:39 AM
|
#4
|
LQ Newbie
Registered: Dec 2004
Distribution: Mandrake 9.0 Dolphin Release 2.4.19-16mdk
Posts: 24
Rep:
|
show hidden files in the user that you will use for the program you want
open the .bash_profile in your faorite text editor
add the line PATH=$PATH:/yourjavalocation/bin
example PATH=$PATH:/home/johnsmith/jre1.5.0_01/bin
save exit and install it should now find it.
|
|
|
02-21-2005, 01:18 AM
|
#5
|
LQ Guru
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298
Rep:
|
As mentioned your .bash_profile is a hidden file in your home directory (/home/username) that contains certain settings used by the bash shell. All you need to do is edit it using and editor such as pico, emacs or vi, by starting a console and doing something like,
$emacs .bash_profile
or with a gui text editor such as gedit or kwrite as follows
$kwrite .bash_profile
Add the two lines from my previous posts to the end of the file, log out and back in again and java should be recognised as installed.
|
|
|
02-21-2005, 01:53 AM
|
#6
|
LQ Newbie
Registered: Feb 2005
Location: Vt
Distribution: linux redhat 9
Posts: 19
Original Poster
Rep:
|
still no luck
# .bash_profile
# Get the aliases and functions
if [ -f ~/.bashrc ]; then
. ~/.bashrc
fi
# User specific environment and startup programs
PATH=$PATH:$HOME/bin
export PATH
unset USERNAME
export PATH=$PATH:/techmaster/java/jdk1.5.0_01/bin
export PATH=$PATH:/techmaster/java/jdk1.5.0_01/jre/bin
This is what I've done it doesent work YET (it will!!) so SOMTHING is still wrong? Now the funny thing is when I follow the "path" through the GUI (you know home, java, etc..) all i find in my .java folder is a sub-DIR "deployment" and within that DIR a "deployment.properties" text file and from there: tmp/si/EMPTY. I changed the folder options to "view hidden files" still not seeing the "path" ? I dont get it?!? can I not browse some file sys from a GUI in linux?
I'm 98.9% positive java is installed! the rpm was green after install, ran --test and it said it was installed. and I can open the JRE through the GUI?
owe one more thing, since the changes I've made to this file firefox seems to be loading slow? could just be my connection?
Thank you all VERRY much for your help! I'm learning alot and loving my new OS FC3 !
|
|
|
02-21-2005, 03:09 AM
|
#7
|
LQ Guru
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298
Rep:
|
Did you install the java rpm from the Sun website and if so whats the exact version? Also what version of limewire are you trying to install, is it the rpm or some other file? To find out if java is installed properly, run the command,
$java -version
|
|
|
02-21-2005, 09:52 AM
|
#8
|
LQ Newbie
Registered: Feb 2005
Location: Vt
Distribution: linux redhat 9
Posts: 19
Original Poster
Rep:
|
command didnt work?
when I go to prefrences/java it says the version is 1.5.0 (build 1.5.0_01-b08) but when I attempt t use the command you provided I get a command not found error? and the the version of limewire I'm trying to install is LimeWireLinux.rpm directly from there website! its icon is listed in the main menue (applications) under internet. But when I click on it nothing happens. but when I run from console it says "error: cannot find java"
I'm not giving up !!!!
JHONY NEEDS INPUT!!!!!!
|
|
|
02-21-2005, 10:21 AM
|
#9
|
LQ Guru
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298
Rep:
|
There is something wrong with the path you printed in the .bash_profile. Did you install the java rpm or did you install the bin file. If you installed the bin file, where exactly did you install it (full path).
Last edited by reddazz; 02-21-2005 at 10:23 AM.
|
|
|
02-21-2005, 10:28 AM
|
#10
|
LQ Newbie
Registered: Feb 2005
Location: Vt
Distribution: linux redhat 9
Posts: 19
Original Poster
Rep:
|
Extracting...
UnZipSFX 5.42 of 14 January 2001, by Info-ZIP (Zip-Bugs@lists.wku.edu).
inflating: jre-1_5_0_01-linux-i586.rpm
Preparing... ########################################### [100%]
package jre-1.5.0_01-fcs is already installed
this is the version I've installed (so it says)
but when I go to usr/java I cant find the version? but I cant get there through a console I haved mastered the file system yet. I nav through the GUI (home/.java/etc.....)
Do i need the JDK or will the JRE do what I need?
|
|
|
02-21-2005, 10:32 AM
|
#11
|
LQ Guru
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298
Rep:
|
Ok, I have read through the posts again and your .bash_profile is definitely wrong. You said you installed the rpm right. Well the rpm installs java in /usr/java, so the path you need to add to you .bash_profile if you installed jdk1.5.0_01 is the one I posted above as it is. If you installed any other version, adjust the paths accordingly.
|
|
|
02-21-2005, 10:32 AM
|
#12
|
LQ Newbie
Registered: Feb 2005
Location: Vt
Distribution: linux redhat 9
Posts: 19
Original Poster
Rep:
|
[root@localhost techmaster]# limewire
******************************************************************
Error: Unable to find java.
Please make sure that java is in your PATH.
Visit http://www.java.com/en/download/manual.jsp for more information.
(LimeWire is tested against and works best with with Sun's JRE, Java 1.4+)
this is what I get when I try to launch limewire from within a console
|
|
|
02-21-2005, 10:39 AM
|
#13
|
LQ Guru
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298
Rep:
|
Right, it seems like you installed the jre and not the jdk my fault for not reading your posts properly. The jre should be located in /usr/java/jre1.5.0_01, so you .bash_profile should be like so
export PATH=$PATH:/usr/java/jre1.5.0_01/bin
|
|
|
02-21-2005, 10:54 AM
|
#14
|
LQ Guru
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298
Rep:
|
For firefox, you need to create a symlink, as follows
#ln -s /usr/java/jre1.5.0_01/plugin/i386/ns7/libjavaplugin_oji.so /usr/lib/firefox-version/plugins/.
Make sure you put in the right path to you firefox installation. As I posted above disregard the previous instructions coz they related to the jdk and just put into your .bash_profile the single line that relates to the jre thats in my last post.
|
|
|
02-21-2005, 11:30 AM
|
#15
|
LQ Newbie
Registered: Feb 2005
Location: Vt
Distribution: linux redhat 9
Posts: 19
Original Poster
Rep:
|
[techmaster@localhost ~]$ whereis java
java: /etc/java /usr/share/java
[techmaster@localhost ~]$ whereis limewire
limewire: /usr/bin/limewire
[techmaster@localhost ~]$ whereis jre1.5.0_01
jre1.5:
[techmaster@localhost ~]$
Does this help? console cant seem to find "jre1.5.0_01" ? also I put the lines you gave me for firefox into console (is that what I was supposed 2 do) and still no steeming joe and limewire still cant fing java. thank you for all your help man! really I wont give up if you dont give up on me what the hell am I doing wrong/not doing?
|
|
|
All times are GMT -5. The time now is 08:54 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|