Gnutella Forums  

Go Back   Gnutella Forums > Current Gnutella Client Forums > LimeWire+WireShare (Cross-platform) > Technical Support > General Linux Support
Register FAQ The Twelve Commandments Members List Calendar Arcade Find the Best VPN Today's Posts

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.)


Reply
 
LinkBack Thread Tools Display Modes
  #11 (permalink)  
Old January 21st, 2003
HwzrHlslndr
Guest
 
Posts: n/a
Default

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)
Reply With Quote
  #12 (permalink)  
Old January 21st, 2003
nDiScReEt's Avatar
_eLeCtRiFyInG MeMbRr_
 
Join Date: May 9th, 2002
Location: Chicago
Posts: 232
nDiScReEt is flying high
Default Simple Fix

Quote:
Originally posted by HwzrHlslndr
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) ....
Your problem is simple. You have another java program installed on your system that is a binary (perhaps /usr/bin/java).

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
Reply With Quote
  #13 (permalink)  
Old January 21st, 2003
Grasshoppa
 
Join Date: November 11th, 2002
Location: in front of a shell prompt
Posts: 6
Rahven is flying high
Default

Once again nDiScReEt rides in out of the sunset to save the day
Reply With Quote
  #14 (permalink)  
Old January 22nd, 2003
Apprentice
 
Join Date: January 22nd, 2003
Posts: 5
iflybyu is flying high
Default 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?
Reply With Quote
  #15 (permalink)  
Old January 24th, 2003
HwzrHlslndr
Guest
 
Posts: n/a
Default

You are correct, my friend.

jdkgcj-0.2.3-1
is what shows up. Do I simply rm it?
Reply With Quote
  #16 (permalink)  
Old January 24th, 2003
Apprentice
 
Join Date: January 22nd, 2003
Posts: 5
iflybyu is flying high
Default 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?
Reply With Quote
  #17 (permalink)  
Old January 24th, 2003
HwzrHlslndr
Guest
 
Posts: n/a
Default

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
Reply With Quote
  #18 (permalink)  
Old January 24th, 2003
Apprentice
 
Join Date: January 22nd, 2003
Posts: 5
iflybyu is flying high
Default 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.
Reply With Quote
  #19 (permalink)  
Old January 24th, 2003
HwzrHlslndr
Guest
 
Posts: n/a
Default

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
Reply With Quote
  #20 (permalink)  
Old January 25th, 2003
HwzrHlslndr
Guest
 
Posts: n/a
Default

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.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Install Problems on both Redhat 8 and Gentoo 1.4rc1 aathomas General Linux Support 1 March 3rd, 2003 12:53 PM
Redhat 7.3/LimeWire install lazy General Linux Support 1 September 24th, 2002 07:31 PM
Redhat 7.1 Install Problem Unregistered General Linux Support 16 October 20th, 2001 08:01 AM
RedHat 7.1 install Unregistered General Linux Support 0 June 8th, 2001 11:58 AM
Limewire install on RedHat Wolverine and RH 7.0 Palpatin3 General Linux Support 6 May 4th, 2001 05:14 AM


All times are GMT -7. The time now is 01:40 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
SEO by vBSEO 3.6.0 ©2011, Crawlability, Inc.

Copyright © 2020 Gnutella Forums.
All Rights Reserved.