![]() |
Install Problem(s) with RedHat 8. When i try to install Limewire i get the is: ./LimeWireLinux.bin Preparing to install... Extracting the installation resources from the installer archive... Configuring the installer for this system's environment... Launching installer... Warning: -Xmx100331648 not understood. Ignoring. Warning: -Xms16777216 not understood. Ignoring. Exception in thread "main" java.lang.InternalError: Unexpected exception while d efining class ZeroGq: java.lang.ClassNotFoundException: javax.swing.JDialog at 0x4028115f: java.lang.Throwable.Throwable(java.lang.String) (/usr/lib/libg cj.so.3) at 0x4027408e: java.lang.Error.Error(java.lang.String) (/usr/lib/libgcj.so.3) at 0x40281542: java.lang.VirtualMachineError.VirtualMachineError( java.lang.St ring) (/usr/lib/libgcj.so.3) at 0x40275a92: java.lang.InternalError.InternalError(java.lang.St ring) (/usr/ lib/libgcj.so.3) at 0x40272ff2: java.lang.ClassLoader.defineClass(java.lang.String , byte[], in t, int, java.security.ProtectionDomain) (/usr/lib/libgcj.so.3) at 0x40272dbb: java.lang.ClassLoader.defineClass(java.lang.String , byte[], in t, int) (/usr/lib/libgcj.so.3) at 0x4030b29b: java.net.URLClassLoader.findClass(java.lang.String ) (/usr/lib/ libgcj.so.3) at 0x402606d7: gnu.gcj.runtime.VMClassLoader.findClass(java.lang. String) (/us r/lib/libgcj.so.3) at 0x40272cac: java.lang.ClassLoader.loadClass(java.lang.String, boolean) (/u sr/lib/libgcj.so.3) at 0x40260dcc: _Jv_FindClass(_Jv_Utf8Const, java.lang.ClassLoader) (/usr/lib/ libgcj.so.3) at 0x4025d1fd: java.lang.Class.forName(java.lang.String, boolean, java.lang.C lassLoader) (/usr/lib/libgcj.so.3) at 0x40253809: _Jv_BytecodeVerifier.verify_instructions_0() (/usr/lib/libgcj. so.3) at 0x40249697: _Jv_VerifyMethod(_Jv_InterpMethod) (/usr/lib/libgcj.so.3) at 0x40241a24: _Jv_PrepareClass(java.lang.Class) (/usr/lib/libgcj.so.3) at 0x40260568: java.lang.ClassLoader.linkClass0(java.lang.Class) (/usr/lib/li bgcj.so.3) at 0x40273073: java.lang.ClassLoader.resolveClass0(java.lang.Clas s) (/usr/lib /libgcj.so.3) at 0x4025e99c: java.lang.Class.initializeClass() (/usr/lib/libgcj.so.3) at 0x4025d224: java.lang.Class.forName(java.lang.String, boolean, java.lang.C lassLoader) (/usr/lib/libgcj.so.3) at 0x4025d2bf: java.lang.Class.forName(java.lang.String) (/usr/lib/libgcj.so. 3) at 0x402c60a0: gnu.gcj.runtime.FirstThread.run() (/usr/lib/libgcj.so.3) at 0x40267fdc: _Jv_ThreadRun(java.lang.Thread) (/usr/lib/libgcj.so.3) at 0x4023478c: _Jv_RunMain(java.lang.Class, byte const, int, byte const, bool ean) (/usr/lib/libgcj.so.3) at 0x08048900: __gcj_personality_v0 (java.compiler=NONE) at 0x40675914: __libc_start_main (/lib/libc.so.6) at 0x080486c1: _Jv_RegisterClasses (java.compiler=NONE) Does anyone have any idea what problem is? Thanks in advance, Greg |
I also have j2sdk 1.4.0.02 and j2re1.4.0.02 from sun installed. Greg |
Quote:
-Chuck |
I have also tried the modifing the bash_profile file several times, but to no affect. Greg |
Also I search for kaffe and it is not on my system. I used rpm -q kaffe. Greg |
Problem Installing on RedHat 8.0 I was able to run LimeWire (not install) on my RedHat 8.0 system. I downloaded the tarball instead of the rpm and changed the last line of runLime.sh to: /usr/java/j2re1.4.0_02/bin/java -jar RunLime.jar to use the new java version. Then just execute runLime.sh |
Re: Install Problem(s) with RedHat 8. Quote:
altoine |
no kaffe I get the exact same thing. All my classpaths and everything are set up correctly...cant figure out why it wont work. And I dont have kaffe installed. Ideas? |
If you installed java correctly in .bash_profile. Run this command to see if it solves or fixes your problem: source .bash_profile If that works then the solution is due to the fact that your system only runs your .bash_profile once (at boot up which is normal and makes perfect sense). Unless, of course, you are in a GUI environment and open up a new terminal window which would do the same effect as logging in again to use the new changes to your profile. HTH altoine |
I'm running Redhat 8 with kernel 2.4.18-17.8.0 Here's what I did: Download the Java 2 JRE from here: http://java.sun.com/j2se/1.4.1/download.html (note: download the self extracting file, not the RPM) Open a terminal and at the prompt type: Code: $ sh j2re-1_4_1_01-linux-i586.bin the next thing you may want to do is cd to the directory you installed the j2re in, and rename the file to something other than j2re-1.4.1_01. If you installed into your home directory, do this: Code: $ mv j2re-1.4.1_01 j2re 1) at the shell prompt type: Code: $ vi .bash_profile 3) use the arrow keys to move down to this line: Code: PATH=$PATH:$HOME/bin Code: PATH=$PATH:$HOME/bin:$HOME/j2re1.4.1_01/bin Code: PATH=$PATH:$HOME/bin:$HOME/j2re/bin 4) Hit Esc to quit inserting text 5) type :wq to write the changes and quit vi 6) at the next shell prompt type: Code: $ source .bash_profile here. 8) now once again at your shell prompt, type: Code: $ sh LimeWireLinux.bin |
Rahven, I did this once before, but recently re-installed RH8 for various reasons. This time I am not so successful. I follwed all of your instructions to a "tee" and then when I try to run sh LimeWireLinux.bin I get the following: [Thomas@localhost Thomas]$ sh LimeWireLinux.bin Preparing to install... Extracting the installation resources from the installer archive... Configuring the installer for this system's environment... Launching installer... Warning: -Xmx100331648 not understood. Ignoring. Warning: -Xms16777216 not understood. Ignoring. Exception in thread "main" java.lang.InternalError: Unexpected exception while defining class ZeroGq: java.lang.ClassNotFoundException: javax.swing.JDialog at 0x4028115f: java.lang.Throwable.Throwable(java.lang.String) (/usr/lib/libgcj.so.3) at 0x4027408e: java.lang.Error.Error(java.lang.String) (/usr/lib/libgcj.so.3) at 0x40281542: java.lang.VirtualMachineError.VirtualMachineError( java.lang.String) (/usr/lib/libgcj.so.3) at 0x40275a92: java.lang.InternalError.InternalError(java.lang.St ring) (/usr/lib/libgcj.so.3) at 0x40272ff2: java.lang.ClassLoader.defineClass(java.lang.String , byte[], int, int, java.security.ProtectionDomain) (/usr/lib/libgcj.so.3) at 0x40272dbb: java.lang.ClassLoader.defineClass(java.lang.String , byte[], int, int) (/usr/lib/libgcj.so.3) at 0x4030b29b: java.net.URLClassLoader.findClass(java.lang.String ) (/usr/lib/libgcj.so.3) at 0x402606d7: gnu.gcj.runtime.VMClassLoader.findClass(java.lang. String) (/usr/lib/libgcj.so.3) at 0x40272cac: java.lang.ClassLoader.loadClass(java.lang.String, boolean) (/usr/lib/libgcj.so.3) at 0x40260dcc: _Jv_FindClass(_Jv_Utf8Const, java.lang.ClassLoader) (/usr/lib/libgcj.so.3) at 0x4025d1fd: java.lang.Class.forName(java.lang.String, boolean, java.lang.ClassLoader) (/usr/lib/libgcj.so.3) at 0x40253809: _Jv_BytecodeVerifier.verify_instructions_0() (/usr/lib/libgcj.so.3) at 0x40249697: _Jv_VerifyMethod(_Jv_InterpMethod) (/usr/lib/libgcj.so.3) at 0x40241a24: _Jv_PrepareClass(java.lang.Class) (/usr/lib/libgcj.so.3) at 0x40260568: java.lang.ClassLoader.linkClass0(java.lang.Class) (/usr/lib/libgcj.so.3) at 0x40273073: java.lang.ClassLoader.resolveClass0(java.lang.Clas s) (/usr/lib/libgcj.so.3) at 0x4025e99c: java.lang.Class.initializeClass() (/usr/lib/libgcj.so.3) at 0x4025d224: java.lang.Class.forName(java.lang.String, boolean, java.lang.ClassLoader) (/usr/lib/libgcj.so.3) at 0x4025d2bf: java.lang.Class.forName(java.lang.String) (/usr/lib/libgcj.so.3) at 0x402c60a0: gnu.gcj.runtime.FirstThread.run() (/usr/lib/libgcj.so.3) at 0x40267fdc: _Jv_ThreadRun(java.lang.Thread) (/usr/lib/libgcj.so.3) at 0x4023478c: _Jv_RunMain(java.lang.Class, byte const, int, byte const, boolean) (/usr/lib/libgcj.so.3) at 0x08048900: __gcj_personality_v0 (java.compiler=NONE) at 0x420158d4: __libc_start_main (java.compiler=NONE) at 0x080486c1: _Jv_RegisterClasses (java.compiler=NONE) |
Simple Fix Quote:
To find out for certain try three things first to confirm if my conjecture is correct. First type: java -version Is the output the correct java program that you want to use? Secondly, type: which java Did it output "/usr/bin/java"? Lastly, type: rpm -q --whatprovides /usr/bin/java If that shows a program other than what you want to use, remove the offending program. It could be kaffe or jdkgcj. I will later add this touch to my own topic "The Solution To All Install Problems" so thank you for bring this to my attention. altoine |
Once again nDiScReEt rides in out of the sunset to save the day :) |
help with .. this is what i get after your instructions altione .. [david@localhost david]$ java -version java version "1.3.1" jdkgcj 0.2.3 (http://www.arklinux.org/projects/jdkgcj) gcj (GCC) 3.2 20020903 (Red Hat Linux 8.0 3.2-7) Copyright (C) 2002 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. [david@localhost david]$ which java /usr/bin/java So obviously I have a problem with it running jdkgcj .. so how do I point it to the correct java re that I installed? |
You are correct, my friend. jdkgcj-0.2.3-1 is what shows up. Do I simply rm it? |
fixed my issues I fixed mine by editing the /home/username/.bash_profile and /etc/profile then making the link ln -s /usr/java/j2re1.4.1_01/.java_wrapper /usr/bin/java after removing the existing /usr/bin/java to another directory (moved it in case something went wrong) then did source /home/username/.bash_profile Confusing? |
Very. I don't suppose you could provide some step-by-steps could you? I do think my problem is the same as what you had. What confuses me is I installed java in /home/Thomas/java |
ok.. Lemme see if I can help This all is assuming you used the rpm's to install - which I suggest if you are struggling with this. First open /home/Thomas/.bash_profile with vi by typing: vi /home/Thomas/.bash_profile Press "i" to insert Enter in these lines near (above or below) the other line(s) starting with "export" (make a new line): export CLASSPATH=$CLASSPATH: export JAVA_HOME=/usr/java/j2re1.4.1_01 export PATH=$JAVA_HOME/bin:$PATH (you can cut/paste if you like - should work the way I entered it) then press "Esc", then a : then qw to quit and save then: vi /etc/profile then "i" to insert then insert the line: export JAVA_HOME="/usr/java/j2re1.4.1_01/" (make sure this directory exists - if you aren't using v1.4.1_01 of Sun Java then point it to the directory that it is installed in (same for above entries)) then move /usr/bin/java to some other location (save it in case I help mess things up for you) You can do this by doing something like mkdir /home/Thomas/javabackup then typing mv java /home/Thomas/javabackup which will move that file to the newly created folder. then type (I'm not sure, but I think you have to be su): [root@localhost usr]# ln -s /usr/java/j2re1.4.1_01/.java_wrapper /usr/bin/java This should create a link then to your new installed java (again make sure that the directory I made for an example is the same as what you have). and I think LASTLY you need to do this to update the paths: source .bash_profile then type: sh LimeWireLinux.bin from the installed dir and pray. Lemme know if I missed something. |
iflybyu, I appreciate very much your details. I have been performing an upgrade push to our company's CRM system this evening and am spent right now, so will not be attempting your instructioins until tomorrow morning. I did, however, want to say thank you in advance. I'll be sure to let you know how I make out tomorrow. Cheers, mate! Your friend, Thomas |
hmmm... The /etc/profile is giving me trouble. Cannot get out of it gracefully. Have edited home/Thomas/.bash_profile, but no further. This seems awfully involved compared to the last time I got this installed and working. |
editing w/ vi Quote:
That should be all you need to exit it - if you have serious issues with vi, use emacs or something else - I like emacs too. If in doubt, do a man vi or man emacs for more detailed instructions on each editors operation. |
ok Quote:
Well, I think it may be too much to say that I fixed anyone's problems, since the guy who helped me was the one who started this topic. Thanks be to him instead. |
LimeWire on RH8.0 I found a simple solution to your problem. If you've had a previous version of java, i.e j2re1.3.1, then go to your /usr/bin directory and delete any java or javac shell script you may find. Worked for me. |
OK, Guys, I have been away for a week. Work required 200+ hours of my time. I really want to forget about work for a while and get back to this, but I am very lost due to the time elapsed. When I run sh ./LimeWireLinux.bin I get this: [Thomas@localhost LimeWire]$ sh ./LimeWireLinix.bin ./LimeWireLinix.bin: ./LimeWireLinix.bin: No such file or directory [Thomas@localhost LimeWire]$ sh ./LimeWireLinux.bin Preparing to install... Extracting the installation resources from the installer archive... Configuring the installer for this system's environment... Launching installer... Warning: -Xmx100331648 not understood. Ignoring. Warning: -Xms16777216 not understood. Ignoring. Exception in thread "main" java.lang.InternalError: Unexpected exception while defining class ZeroGq: java.lang.ClassNotFoundException: javax.swing.JDialog at 0x4028115f: java.lang.Throwable.Throwable(java.lang.String) (/usr/lib/libgcj.so.3) at 0x4027408e: java.lang.Error.Error(java.lang.String) (/usr/lib/libgcj.so.3) at 0x40281542: java.lang.VirtualMachineError.VirtualMachineError( java.lang.String) (/usr/lib/libgcj.so.3) at 0x40275a92: java.lang.InternalError.InternalError(java.lang.St ring) (/usr/lib/libgcj.so.3) at 0x40272ff2: java.lang.ClassLoader.defineClass(java.lang.String , byte[], int, int, java.security.ProtectionDomain) (/usr/lib/libgcj.so.3) at 0x40272dbb: java.lang.ClassLoader.defineClass(java.lang.String , byte[], int, int) (/usr/lib/libgcj.so.3) at 0x4030b29b: java.net.URLClassLoader.findClass(java.lang.String ) (/usr/lib/libgcj.so.3) at 0x402606d7: gnu.gcj.runtime.VMClassLoader.findClass(java.lang. String) (/usr/lib/libgcj.so.3) at 0x40272cac: java.lang.ClassLoader.loadClass(java.lang.String, boolean) (/usr/lib/libgcj.so.3) at 0x40260dcc: _Jv_FindClass(_Jv_Utf8Const, java.lang.ClassLoader) (/usr/lib/libgcj.so.3) at 0x4025d1fd: java.lang.Class.forName(java.lang.String, boolean, java.lang.ClassLoader) (/usr/lib/libgcj.so.3) at 0x40253809: _Jv_BytecodeVerifier.verify_instructions_0() (/usr/lib/libgcj.so.3) at 0x40249697: _Jv_VerifyMethod(_Jv_InterpMethod) (/usr/lib/libgcj.so.3) at 0x40241a24: _Jv_PrepareClass(java.lang.Class) (/usr/lib/libgcj.so.3) at 0x40260568: java.lang.ClassLoader.linkClass0(java.lang.Class) (/usr/lib/libgcj.so.3) at 0x40273073: java.lang.ClassLoader.resolveClass0(java.lang.Clas s) (/usr/lib/libgcj.so.3) at 0x4025e99c: java.lang.Class.initializeClass() (/usr/lib/libgcj.so.3) at 0x4025d224: java.lang.Class.forName(java.lang.String, boolean, java.lang.ClassLoader) (/usr/lib/libgcj.so.3) at 0x4025d2bf: java.lang.Class.forName(java.lang.String) (/usr/lib/libgcj.so.3) at 0x402c60a0: gnu.gcj.runtime.FirstThread.run() (/usr/lib/libgcj.so.3) at 0x40267fdc: _Jv_ThreadRun(java.lang.Thread) (/usr/lib/libgcj.so.3) at 0x4023478c: _Jv_RunMain(java.lang.Class, byte const, int, byte const, boolean) (/usr/lib/libgcj.so.3) at 0x08048900: __gcj_personality_v0 (java.compiler=NONE) at 0x420158d4: __libc_start_main (java.compiler=NONE) at 0x080486c1: _Jv_RegisterClasses (java.compiler=NONE) [Thomas@localhost LimeWire]$ Can someone assist please? Thank you in advance |
Crap! Now I've got it all screwed up. I copied my java directory from home to usr/bin and now when I do which java I get this: which java /usr/bin/which: no java in (/home/Thomas/java/j2re/j2re1.4.1_01/bin:/usr/ kerberos/bin:/usr/local/bin:/usr/bin:/bin:/usr/X11R6/ bin) I get the same thing after cd'ing to the /usr/bin/java directory. |
I got it guys! I just had to find the post that helped me when I went through this the last time I set up LimeWire. This works for me EVERY TIME so I hope it can help someone else who is feeling frustrated out there. $ export JAVA_HOME=/usr/bin/java/j2re $ export PATH=$PATH:/usr/bin/java/j2re/bin $ sh LimeWireLinux.bin The above has gotten me thru the "No Virtual Machine" message three times now. Kind regards, Thomas |
All times are GMT -7. The time now is 07:38 PM. |
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.