JMule project forum http://forum.jmule.org/ |
|
How do I start the program? http://forum.jmule.org/viewtopic.php?f=8&t=2812 |
Page 1 of 1 |
Author: | guenni68 [ Sat Jul 21, 2012 12:09 am ] |
Post subject: | How do I start the program? |
Hi, 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 : ::/Users/hellfire73/Desktop/JMule/jface.jar:/Users/hellfire73/Desktop/JMule/jmule-0.5.8.jar:/Users/hellfire73/Desktop/JMule/swingx.jar:/Users/hellfire73/Desktop/JMule/swt-debug.jar:/Users/hellfire73/Desktop/JMule/swt.jar java.lang.ClassNotFoundException: org.eclipse.swt.widgets.Display at java.net.URLClassLoader$1.run(URLClassLoader.java:202) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:190) at java.lang.ClassLoader.loadClass(ClassLoader.java:306) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301) at java.lang.ClassLoader.loadClass(ClassLoader.java:247) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:169) at org.jmule.main.Main.main(Main.java:62) 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 http://www.eclipse.org/swt and http://swingx.dev.java.net If you need open support don't hesitate to contact us on http://forum.jmule.org Are you sure Does it works under mac osx? P.S. 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 http://download.eclipse.org/eclipse/downloads/drops4/R-4.2.1-201209141800/#SWT 2. Extract the archive and place swt.jar into lib directory of {jmule home} 3. Create a txt file {jmule home}/settings/jmule_ui.properties with following content : Code: org.jmule.ui.ui_type=SWING 4. Start jmule in following way : Code: 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 http://www.phpbb.com/ |