|
Register | FAQ | The Twelve Commandments | Members List | Calendar | Arcade | Find the Best VPN | Today's Posts | Search |
General Linux Support For questions regarding use of LimeWire or WireShare or related questions on the Linux operating system. This includes installation questions and answers. (Check the Stickies marked in Red at top of this section.) |
| LinkBack | Thread Tools | Display Modes |
| |||
Re: Can't find libc.so.6 Quote:
|
| |||
RedHat 8.0 No Virtual Machine Thank you for this thread, nDiScReEt. I did not view it at first, because it was very long. I thought it would be a general discussion, but when I read it I was surprised to see how many different and specific installation problems were addressed. I'm afraid I may be misunderstanding some of the solutions. That's probably because I am a Linux novice and don't know the difference between Debian, Mandrake, and RedHat. I found a problem very similar to mine. It is the missing Virtual Machine line for RedHat 8.0. I recently installed the most recent version of java, j2re-1.4.1.01 . Here is what my terminal says when I try to install LimeWire: [root@localhost root]# /tmp [root@localhost tmp]# 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. [root@localhost tmp]# I downloaded my java to my /tmp directory rather than home. Was that a mistake? Maybe another problem would be my choice of terminal? I used the java -version command in my terminal (KDE X Terminal, Konsole 1.1.3) as "root." You mentioned a vi terminal, but I really don't know what it is. I tried to run vi in the run program,. but got nothing. When I ran the java -version command in KDE X Terminal, I got the following: bash: java: command not found That occurred before and after I ran the install line, which you suggested to Unregistered, but get a reply that the package is already installed! It is installed at /usr/java BUT - when I run java -version, I get the command not found line above. Have I made a fundamental error somewhere? Can you get me on track? Thanks in advance, ClayD Last edited by ClayD; December 20th, 2002 at 02:41 PM. |
| ||||
Re: RedHat 8.0 No Virtual Machine Quote:
vi is an editor like kate, kedit, emacs, and notepad. A terminal is similiar to a "dos prompt" and the linux equivalents are Konsole, rxvt, Eterm, and Gnome Terminal. Now onto your problem... Let us define "installed" first. When you "installed" java to the /tmp directory, do you mean that is where you downloaded the java package? ...or where you directed the installation of java? Is this by means of a tar.gz file or rpm? Let us assume that you are using a rpm. So, it is located in your /tmp directory. Let us avoid "forcing" an install of your program on your system and simply remove and then reinstall your program. Type this command into your kde terminal (as root): su -c "rpm -e j2sdk-1.4.1_01-fcs" (this assumes you used the latest sun java package *Note**Replace "j2sdk with j2re if that is the package you used* ***Addedd Note***su -c is a "super user" command to execute a command as root. With the added flag "-c", it only allows you to execute the command following it once. The """ quotes are added because they are needed when there are spaces in a command string.****) Now let us reinstall your package: su -c "rpm -ivh /tmp/j2sdk-1.4.1_01*.rpm" or su -c "rpm -ivh /tmp/j2re-1.4.1_01*.rpm" (Which one depends on if you downloaded the sdk (software development kit) or jre (java run-time environment). Thankfully, from this point we are finished with root! Next, your command: java -version This time it should spit out some happy output: Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_01-b01) Java HotSpot(TM) Client VM (build 1.4.1_01-b01, mixed mode We want to next create the necessary environment variables in your .bash_profile or .bashrc which is located in your home directory ($HOME, ~/, or /home/(username)) Continuing writing commands from the command line: kwrite $HOME/.bash_profile or kwrite $HOME/.bashrc Replace "kwrite" with "kate" if you don't have kwrite installed on your system. From there add the two lines: export JAVA_HOME=/usr/java/j2sdk1.4.1_01 export PATH=$JAVA_HOME/bin:$PATH Save and quit out of "kwrite" or "kate". Back to the terminal, type this command: source .bash_profile or source .bashrc Now, when you run this command: which java you should get: /usr/java/j2sdk1.4.1_01/bin/java NOw you can install LimeWire as usual. HTH altoine |
| |||
Java will NOT install right!!!!!!!!!!!!!!!! Hi, I did excatly what is posted, with the j2sdk file and i can not get it to install right, when i type: java -version I get not a vaild command when i type: which java I get a no java in ......................... So what am i doing wrong? I have tried to re-install the file but it keeps saying that the file (j2sdk) is already installed? Window user getting really mad a linux. thanks Daryl |
| |||
can't get mine working either, i have installed BOTH the jre and jdk versions. If i look in my browser plugins it says that i have java installed (i manually linked it to there). So i can use chat online and the like. However, when i type in "java -version" i get "command not found" I tried installing limewire and it says that there is no VM installed. I read a lot of the posts, but did't see anything that clearly answers this. Help would be appreciated. Thanks in advance! |
| ||||
ClayD and guyintoronto I would really much love to help you two but there is this serious lack of information. I don't have any idea as to what steps you have done to arrive at your delimma. I would appreciate if you two could mention line for line like I did in my instructions, the steps you did. Either that or create a symlink to your "/usr/bin" directory from your java binary. Example: ln -s /usr/java/j2sdk-1.4.1-01/bin/java /usr/bin/java I mention the use of this symlink because I think your system does not load your .bash_profile or .bashrc when you first login. I am currently experiencing this with my gentoo installation but It works nonetheless using the symlink above (Of course, link the java binary to your specific installation directory). I am hunting down the source of my problem with why my .bash_profile is not being used at logon. The only thing that troubles me is that even if your system doesn't use your .bash_profile at logon, the "source .bash_profile" or "source .bashrc" command should still setup your environment for useage with LimeWire. My only conclusion is that there is a typo and it needs to be ferreted out. The typo begins in either "export JAVA_HOME=/usr/java/" or in "export PATH=JAVA_HOME/bin/:$PATH". altoine |
| |||
problem installin' limewire i tried to install the limewire and i got this message: Preparing to install... Extracting the installation resources from the installer archive... Configuring the installer for this system's environment... Launching installer... Exception in thread "main" java.lang.NoClassDefFoundError: com/zerog/lax/LAX i've installed j2re-1_4_1_01-fcs-linux-i586.rpm pliz what should i do to get my problem solved? thx a lot |
| ||||
Re: problem installin' limewire Quote:
java -version or which java ? |
| |||
Java woes I've run through the process successfully (that is, gotten LimeWire to run just fine on several occasions); recently, though, and rather inexplicably, I've needed to "source /etc/.bash_profile" in order for "java -version" to work each time I run a new terminal. Also, after i get java recognized (it prints just what it should for both "java -version" and "which java") and run "sh /usr/LimeWire/runLime.sh", the following prints: "Exception in thread "main" java.util.zip.ZipException: No such file or directory at java.util.zip.ZipFile.open(Native Method) at java.util.zip.ZipFile.<init>(ZipFile.java:112) at java.util.jar.JarFile.<init>(JarFile.java:117) at java.util.jar.JarFile.<init>(JarFile.java:55)" I don't know anything about java (or that much regarding linux, for that matter), so I am quite puzzled by this. any thoughts? Thanks much |
| |
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
!!Solution!! to LW Problems!! | Panzer | Connection Problems | 26 | March 21st, 2009 07:24 PM |
An install problem that there is no solution for | 5tr4f3 | General Linux Support | 1 | August 28th, 2002 12:22 AM |
A possible solution for connection problems | Taliban | Connection Problems | 3 | May 9th, 2002 12:07 AM |
MRJ install problem... already tried given solution.. help! | Unregistered | Mac | 2 | April 2nd, 2002 07:59 AM |
Solution to Windows 2000 Install Problem | Unregistered | Windows | 1 | March 7th, 2002 05:07 PM |