![]() |
Java problem or am I just nuts?? When trying to install Limewire, I get this error in the console: [shane@bauman02 shane]$ su [root@bauman02 shane]# chmod a+x /home/shane/LimeWireLinux.bin [root@bauman02 shane]# /home/shane/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 proior to running this program. [root@bauman02 shane]# I just reinstalled J2RE from Sun's website and it still doesn't work. It says I need a Java "Virtual Machine".. Where can I find one of those and why didn't that install with the J2RE RPM from Sun's website? Any help is GREATLY appreaciated and is rewarded with a cookie! |
You need to put in your /usr/bin... Sun's j2re installs in a very stupid place, you'll have to make a symlink from the java executable to your /usr/bin directory. First log in as root "su" then ln -s <directory to java executable here, i.e: /usr/java/j2re1.4.1_01/bin/java> /usr/bin. That will allow limewire to find your jvm. |
Installation does not complete because Jvm not found This discussion group has described my problem. I am running redhat 2.4 18-14. I've attempted to install Java 1.4.1 using the self extracting binary, I've even tried to follow the instructions in this forum without success. I have only been up and running my os for only a month or so. I am as newbie as they come, so can someone hold my hand for a minute or two? |
screenshot of my attempt [root@localhost root]# ln -s /root/java/j2re1.4.1_01/bin/java /usr/bin/java [root@localhost root]# ln -s /root/java/j2re1.4.1_01/bin/java /root/bin/java ln: creating symbolic link `/root/bin/java' to `/root/java/j2re1.4.1_01/bin/java': No such file or directory [root@localhost root]# ln -s /root/java/j2re1.4.1_01/bin/java /usr/bin/java ln: `/usr/bin/java': File exists [root@localhost root]# ln -s /usr/java/j2re1.4.1_01/bin/java /usr/bin/java ln: `/usr/bin/java': File exists [root@localhost root]# cd /root/Limewire [root@localhost Limewire]# export J2SE_PREEMPTCLOSE=1 [root@localhost Limewire]# sh runLime.sh runLime.sh: line 14: java: command not found [root@localhost Limewire]# java -jar RunLime.jar bash: java: command not found :confused: |
same problem I am having the same problem. I have installed LimeWire to /root/bin, I have jre installed (under Suse8.1) to /usr/lib/java/jre/bin and have tried making a link with "ln -s /usr/lib/java/jre/bin/java /usr/bin/LimeWire" but get the same message: " java: command not found" If anyone has an answer to this, I would be glad to hear |
Java system variables need to be set I had the same problem (Redhat 7.3). You need to set a system enviorment variable and add it to your profile file. Step 1: Find out the file location for java. Mine is: /usr/java/j2re1.4.1_01 Step 2: You need to add some lines to your login profile file located at /etc/profile Open the profile file with a text editor and add the following lines (add it as the first few lines of the file): JAVA_HOME=/usr/java/j2re1.4.1_01 PATH=$PATH:$JAVA_HOME/bin Step 3: Restart your computer, open up a shell console, and type in java. You should get a listing of availible commands for java. This should solve your problem. P.S. Also, FYI, if you install Java Web Start you need to do this same thing. Add the following text to the profile file: JAVAWS_HOME=/usr/java/j2re1.4.1_01/javaws PATH=$PATH:$JAVAWS_HOME |
solved thanks nordicart for your help. I solved the problem however by installing LimeWire under my user account rather than root, and everything worked fine. I had thought that programs should be installed under root, but in this case it seems not. Anyway, everything now works fine. Happy New Year |
Success My problem was solved by looking at the solution to all installtion problems, thanks. I errantly was trying to edit the .etc/conf but omitting the dot. Duh. Please check out my new thread winmodem under Linux, any suggestions you have would help.javascript:smilie(':)') |
All times are GMT -7. The time now is 08:40 AM. |
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
SEO by vBSEO 3.6.0 ©2011, Crawlability, Inc.
Copyright © 2020 Gnutella Forums.
All Rights Reserved.