LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 12-11-2003, 08:20 PM   #1
Doomhammer
Member
 
Registered: Oct 2003
Location: Montreal Qc, Canada
Posts: 105

Rep: Reputation: 15
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
 
Old 12-11-2003, 08:44 PM   #2
hw-tph
Senior Member
 
Registered: Sep 2003
Location: Sweden
Distribution: Debian
Posts: 3,032

Rep: Reputation: 58
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
 
Old 12-11-2003, 08:45 PM   #3
Doomhammer
Member
 
Registered: Oct 2003
Location: Montreal Qc, Canada
Posts: 105

Original Poster
Rep: Reputation: 15
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??

Last edited by Doomhammer; 12-11-2003 at 09:06 PM.
 
Old 12-11-2003, 10:38 PM   #4
Mugatu
Member
 
Registered: Dec 2003
Location: VA
Distribution: Ubuntu
Posts: 193

Rep: Reputation: 30
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.
 
Old 12-12-2003, 08:07 PM   #5
Doomhammer
Member
 
Registered: Oct 2003
Location: Montreal Qc, Canada
Posts: 105

Original Poster
Rep: Reputation: 15
Thanks i have now the j2re... But, how can i put /usr/java/ in my path?
 
Old 12-12-2003, 08:20 PM   #6
gnu noob
Member
 
Registered: Mar 2003
Location: CO
Distribution: Slackware 14
Posts: 138

Rep: Reputation: 15
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)
 
Old 12-12-2003, 08:33 PM   #7
Doomhammer
Member
 
Registered: Oct 2003
Location: Montreal Qc, Canada
Posts: 105

Original Poster
Rep: Reputation: 15
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)
 
Old 12-12-2003, 09:04 PM   #8
gnu noob
Member
 
Registered: Mar 2003
Location: CO
Distribution: Slackware 14
Posts: 138

Rep: Reputation: 15
I believe that you should simply type: ./LimeWireLinux.bin
 
Old 12-12-2003, 09:07 PM   #9
Doomhammer
Member
 
Registered: Oct 2003
Location: Montreal Qc, Canada
Posts: 105

Original Poster
Rep: Reputation: 15
Thanks for the help. it is really apreciated, but i got the same error
 
Old 12-12-2003, 09:17 PM   #10
gnu noob
Member
 
Registered: Mar 2003
Location: CO
Distribution: Slackware 14
Posts: 138

Rep: Reputation: 15
gtk-gnutella is a p2p app and doesnt require java.

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

Last edited by gnu noob; 12-12-2003 at 09:18 PM.
 
Old 12-12-2003, 09:18 PM   #11
Doomhammer
Member
 
Registered: Oct 2003
Location: Montreal Qc, Canada
Posts: 105

Original Poster
Rep: Reputation: 15
Im running RH9!!!
 
Old 12-12-2003, 09:21 PM   #12
gnu noob
Member
 
Registered: Mar 2003
Location: CO
Distribution: Slackware 14
Posts: 138

Rep: Reputation: 15
you might want to give gtk-gnutella a try
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LimeWire and Java loke137 Linux - Software 26 03-09-2007 05:42 AM
Java and Limewire astronerd Linux - Software 10 03-24-2005 04:41 PM
Linux won't read Java VM want limewire CONWON Linux - Newbie 5 09-05-2003 09:20 PM
Help with LimeWire/Java please. DarkGhost Linux - Software 21 06-04-2002 07:27 PM
Java/LimeWire for Linux Redhat 7.2 bax Linux - General 5 01-01-2002 12:45 AM


All times are GMT -5. The time now is 08:31 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration