JMule project forum

How do I start the program?
Page 1 of 1

Author:  guenni68 [ Sat Jul 21, 2012 12:09 am ]
Post subject:  How do I start the program?


I'm using Mac OS X.

On the command line I typed:
java -cp swt.jar -jar jmule.jar

but I still got a ClassNotFound Error, it can't find org.eclipse.swt.widgets.Display eventhough the Classpath is correct.

Does anybody else experience similar problems?

Author:  javajox [ Sat Jul 21, 2012 3:42 pm ]
Post subject:  Re: How do I start the program?

Hi guenni68,

You should use the mac version of swt. It is not bundled with the default archive which you've downloaded from the site

Have a nice time

Author:  christian [ Fri Oct 26, 2012 1:18 pm ]
Post subject:  Re: How do I start the program?

sorry , i have a Mac osx and i was trying to start your project with no effects.

I know that i need the following class with your jar to start it :

-rw-r--r-- 1 hellfire73 staff 512653 17 Gen 2012 jface.jar
[email protected] 1 hellfire73 staff 2370408 14 Set 20:15 swt-debug.jar
[email protected] 1 hellfire73 staff 1760744 14 Set 20:15 swt.jar
[email protected] 1 hellfire73 staff 2861940 26 Ott 11:37 jmule-0.5.8.jar
[email protected] 1 hellfire73 staff 1290685 26 Ott 14:58 swingx.jar

using this command

java -cp $CLASSPATH -Djava.library.path=./swt.jar:./swt-debug.jar -jar jmule-0.5.8.jar

the error is always the same :

java.lang.ClassNotFoundException: org.eclipse.swt.widgets.Display
at Method)
at java.lang.ClassLoader.loadClass(
at sun.misc.Launcher$AppClassLoader.loadClass(
at java.lang.ClassLoader.loadClass(
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(
at org.jmule.main.Main.main(
REMARK: It seems you don't have one of the following .jar files in classpath : swt.jar, swingx.jar
you can found these jars on and
If you need open support don't hesitate to contact us on

Are you sure Does it works under mac osx?

i don't know but i suppose it's better you prepare some install packages for the different platform to help user to play with it

Author:  binary256 [ Tue Oct 30, 2012 7:08 pm ]
Post subject:  Re: How do I start the program?

Hello christian,

The SWT UI is not working on MacOS, here are the steps in order to start SWING UI :
1. Download SWT from
2. Extract the archive and place swt.jar into lib directory of {jmule home}
3. Create a txt file {jmule home}/settings/ with following content :

4. Start jmule in following way :
java  -Xmx128m -cp lib/swt.jar:lib/swingx-0.9.3.jar:jmule.jar:. org.jmule.main.Main

Thank you

Page 1 of 1 All times are UTC
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group