when installing limewire cant find jvm
I have already installed a JVM but when i try to install LimeWireLinux.bin i get the following error message:
[root@localhost root]# sh ./LimeWireLinux.bin Preparing to install... Extracting the installation resources from the installer Configuring the installer for this system's environment. No Java virtual machine could be found from your PATH environment variable. You must install a VM prior to running this program I think I have to configure some paths, but I do not know how. I am logged in as root and i am in the konsole if that has anything to do with it. |
Goto java.sun.com and make sure you download the Java runtime environment. Install that into a directory of your choosing. When you go to install limewire, edit your PATH as such: (using bash)
PATH=<path to java directory>:$PATH; export PATH try and run the installer once you have done that. It should work. |
i installed limewire in /home/ryan/
so then i typed: [root@localhost root]# PATH=/home/ryan/:$PATH;export PATH [root@localhost root]# sh ./LimeWireLinux.bin Preparing to install... Extracting the installation resources from the installer archive... Configuring the installer for this system's environment... No Java virtual machine could be found from your PATH environment variable. You must install a VM prior to running this program. the same message comes up. I am sure that i have downloaded and installed j2re-1.2.4.05-linux-i586.rpm.bin. I must be doing something wrong with the PATH. i thought I had to edit the path in something like /etc/profile, but i get this message: [root@localhost root]# /etc/profile bash: /etc/profile: Permission denied please help. |
here's the solution.. don't bother with limewire, it sucks... just because you might have used it in windows doesn't mean there is nothing else available for linux. try qtella, gtk-gnutella, gift, bittorrent... all NATIVE solutions that will work first time, with no frustrating java to get in the way.
seriously... a Newbies first hangup here is nearly always either LimeWire or Winex / Cedega... |
Actually i used Bearshare in windows. I have never heard of any of the sites you listed. I will try them though,
Thanks |
Quote:
PATH=/home/ryan/j2re1.2.4.whatever:$PATH;export PATH Quote:
|
okay i did what you told me and it still didn't work. I typed,
[root@localhost root]# PATH=/j2re1.2.4.05/j2re-1_4_2_05-linux-i586-rpm.bin:$PATH;export PATH which is the path for the java runtime environment. After i typed that, this [root@localhost root]# appears. Will something "happen" if exporting the path works? I think my computer hates me. |
From the looks of things you may need to install the actual software first. Follow the documentation or instructions on Suns website for installing the software. Find out where the software was installed, then set a path to the root directory of the program.
You just aren't doing it correctly. Steps you need to take: 1 - install the software as per the instructions Sun provides. you may have to change the permissions of the file first by running chmod u+x j2re-1_4_2_05-linux-i586-rpm.bin before continuing to install the software. 2 - Find where j2re was installed 3 - set the path. For example, after installing the software, if j2re was installed in /opt/j2re-1.4.2_05, then you would do PATH=/opt/j2re-1.2.4_05:$PATH;export PATH You won't see anything happen when you set the path, but if you type echo $PATH you should see the directory you added in there, among with other directories, such as /usr/bin and /usr/local/bin. Once this is done, then continue to install Limewire, without closing your terminal session, or you will have to reset the $PATH variable again. Sorry I can't be more exact for you. I am not in front of my linux box at the moment. |
Code:
chmod u+x j2re-1_4_2_05-linux-i586-rpm.bin Code:
rpm -Uvh j2re-1.4.2_05-linux-i586.rpm now to install Limewire...NOT AS ROOT! Code:
chmod u+x LimeWireLinux.bin |
enygma, what exactly do you mean by
Quote:
i know where i downloaded it from sun.java.com. Is that what you mean or would it ahve installed it another place? Is there a way for me to find where it is installed other than just looking through alll my files? |
nevermind i found where it created the new folder...I think
|
silly java creating its silly folders. doesnt it know tricks arer for kids? It works now just fine.
Thanks all for helping me out, but now its time to listen to some funky town! |
How about creating a launcher to that then?
By the help that you have given; i have installed LimeWire.
However, to run it; i still require the PATH prefix to the sh ./runLime.sh command. Is there a way i can configure this so that i no longer need to put the prefix in? Or can i create a launcher icon with the prefix? [Up till now, i can create a launcher to the runLime.sh file, but this doesn't work because it needs the PATH prefix] Thanks! |
You mean the PATH to the Java runtime? Yeah, put:
Code:
export PATH=$PATH:/path/to/java/bin obviously replacing the last bit with the path to your Java bin subdirectory. Open a new bash terminal and then try it. (cos changes won't take affect until next time you start bash) |
All times are GMT -5. The time now is 09:56 AM. |