Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
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.
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.
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:
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...
I am talking about the Java Runtime environment. Find out where the runtime environment is installed. For example, if it was installed in /home/ryan/j2re1.2.4.whatever, you would do the following:
What you just did there was attempt to execute a file without executable permissions. You want to actually edit the file itself by opening it up in a text editor.
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.
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?
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)
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.