JMule project forum

JMule - Java file sharing client
 

It is currently Tue Sep 26, 2017 11:06 am

Your Ad Here


Post new topic Reply to topic  [ 3 posts ] 
Author Message
Offline
 Post subject: jmule on linux 64bit
PostPosted: Wed Aug 31, 2011 1:52 pm 
 Profile

Joined: Wed Aug 31, 2011 1:16 pm
Posts: 2
Hi,

By defaut, under linux 64bit, you can not run jmule due to SWT library being for 32bit system.

Can we add 64 bit library http://maven.eclipse.org/nexus/content/ ... _64/3.6.2/
to lib/swt-linux/ and add a modification to the jmule.sh script so that it looks like :

Code:
#!/bin/bash
if [[ `uname -i` == "x86_64" ]]
   then java -Xmx128m -cp lib/swt-linux/org.eclipse.swt.gtk.linux.x86_64-3.6.2.jar:lib/swingx-0.9.3.jar:jmule.jar:. org.jmule.main.Main
   else java -Xmx128m -cp lib/swt-linux/swt.jar:lib/swingx-0.9.3.jar:jmule.jar:. org.jmule.main.Main
fi


What do you think?

t.


Top
 

Offline
 Post subject: Re: jmule on linux 64bit
PostPosted: Thu Sep 01, 2011 9:00 am 
JMule staff member
JMule staff member
 WWW  Profile

Joined: Fri Jul 11, 2008 4:34 pm
Posts: 43
Hello,

Very good suggestion :) We have limited resources and as a result JMule does not have a good support for 64bit systems

I will test your code, if everything will be ok I will add it to the main codebase

Thank you


Top
 

Offline
 Post subject: Re: jmule on linux 64bit
PostPosted: Thu Sep 01, 2011 8:33 pm 
 Profile

Joined: Wed Aug 31, 2011 1:16 pm
Posts: 2
cool, it works on ubuntu 11.04 (64bit), that's the system i'm on. t.


Top
 

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
cron
Contact : jmule [at] jmule.org
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group