LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Java and Linux (LimeWire) (https://www.linuxquestions.org/questions/linux-software-2/java-and-linux-limewire-125078/)

Doomhammer 12-11-2003 08:20 PM

Java and Linux (LimeWire)
 
Hi,

I just downloaded the file sharing application LimeWire.
The file is LimeWireLinux.bin. When i enter sh ./LimeWireLinux.bin,
i have the following error:
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 0x40268e17: java.lang.Throwable.Throwable(java.lang.String) (/usr/lib/./libgcj.so.3)
at 0x4025bc8e: java.lang.Error.Error(java.lang.String) (/usr/lib/./libgcj.so.3)
at 0x402691fa: java.lang.VirtualMachineError.VirtualMachineError(java.lang.String) (/usr/lib/./libgcj.so.3)
at 0x4025d62e: java.lang.InternalError.InternalError(java.lang.String) (/usr/lib/./libgcj.so.3)
at 0x4025ac2f: java.lang.ClassLoader.defineClass(java.lang.String, byte[], int, int, java.security.ProtectionDomain) (/usr/lib/./libgcj.so.3)
at 0x4025aa13: java.lang.ClassLoader.defineClass(java.lang.String, byte[], int, int) (/usr/lib/./libgcj.so.3)
) (/usr/lib/./libgcj.so.3)
...

...
at 0x08048910: __gcj_personality_v0 (java.compiler=NONE)
at 0x40696a67: __libc_start_main (/lib/i686/libc.so.6)
at 0x080486c1: _Jv_RegisterClasses (java.compiler=NONE)


I tried to get the j2sdk-1_4_2-nb-3_5_1-bin-linux.bin program and install it,
but i have the following error:

2sdk-1_4_2-nb-3_5_1-bin-linux.bin: cannot execute binary file

i cmod to 777, im su. What is my problem???
I dont have any mp3 on my linux and i want some!!

Any help would be appreciated
f

hw-tph 12-11-2003 08:44 PM

Try to run the Java installer not with sh but just ./j2sdk_blah (obviously replace the nonsense with the real name of the executable).

Håkan

Doomhammer 12-11-2003 08:45 PM

Shame on me, j2k is installed but i keep having the message no compiler found.

Dos it have something to do with the fact that the install dir of j2k.. is /opt and is not in my path??

Mugatu 12-11-2003 10:38 PM

i'm not sure if this has anything to do with what you're asking, but i recently installed limewire. first i installed java re (not java sdk):

j2re-1_4_2_01-linux-i586.rpm

then i put /usr/java/j2re1.4.2_01/bin in my $PATH

then i just installed limewire

chmod a+x LimeWireLinux.bin
./LimeWireLinux.bin

and it works fine.

Doomhammer 12-12-2003 08:07 PM

Thanks i have now the j2re... But, how can i put /usr/java/ in my path?

gnu noob 12-12-2003 08:20 PM

Try this-

ln -s /usr/j2re1.4.1_01/bin/java /usr/local/bin/java (will create the symlink for programs to use java)

ln -s /usr/j2re1.4.1_01/plugin/i386/ns600/libjavaplugin_oji.so /usr/path/to/browser/plugings/libjavaplugin_oji.so (will enable java for your browser)

Doomhammer 12-12-2003 08:33 PM

Ok, i did that, but when im trying to run the LimiwireLinux.bin
i still get this :
[root@dhcppc1 root]# 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.NoClassDefFoundError: com.zerog.lax.LAX
at 0x40268e17: java.lang.Throwable.Throwable(java.lang.String) (/usr/lib/./li
bgcj.so.3)
at 0x4025bc8e: java.lang.Error.Error(java.lang.String) (/usr/lib/./libgcj.so.
3)
at 0x4025d6b6: java.lang.LinkageError.LinkageError(java.lang.String) (/usr/li
b/./libgcj.so.3)
at 0x4025eb36: java.lang.NoClassDefFoundError.NoClassDefFoundError(java.lang.
String) (/usr/lib/./libgcj.so.3)
at 0x402ad075: gnu.gcj.runtime.FirstThread.run() (/usr/lib/./libgcj.so.3)
at 0x4024fc4c: _Jv_ThreadRun(java.lang.Thread) (/usr/lib/./libgcj.so.3)
at 0x4021c8ac: _Jv_RunMain(java.lang.Class, byte const, int, byte const, bool ean) (/usr/lib/./libgcj.so.3)
at 0x08048910: __gcj_personality_v0 (java.compiler=NONE)
at 0x40696a67: __libc_start_main (/lib/i686/libc.so.6)
at 0x080486c1: _Jv_RegisterClasses (java.compiler=NONE)

gnu noob 12-12-2003 09:04 PM

I believe that you should simply type: ./LimeWireLinux.bin

Doomhammer 12-12-2003 09:07 PM

Thanks for the help. it is really apreciated, but i got the same error :(

gnu noob 12-12-2003 09:17 PM

gtk-gnutella is a p2p app and doesnt require java.

http://gtk-gnutella.sourceforge.net/

Doomhammer 12-12-2003 09:18 PM

Im running RH9!!!

gnu noob 12-12-2003 09:21 PM

you might want to give gtk-gnutella a try


All times are GMT -5. The time now is 05:40 PM.