I did some investigation on the error message mentioned above and jre7 and jmule do not seem compatible.
Reason:
Quote:
There's a problem with a non-official sun.management.* package that is used to obtain information about the OS and the CPU usage. The class is packed in the JDK6 but it is considered as a support class, outside of the official classes, which are all contained under java.* package.
The bad news is that in JDK7 those unofficial classes have finally been moved under the official package tree --> java.lang.management.*, thus creating an incompatibility with previous JDKs.
My only suggestion for the moment is to stick with JDK6, we will fix this in a later release.
ref:
http://www.smartfoxserver.com/forums/vi ... 22&t=13587This also applies to JRE setup for end user. If you do not have java 2.6.x installed, goto
http://java.com/en/download/manual_v6.jsp and download jre 6. Run Install and make sure you use custom install path to jmule-path. That is, "jmule-path" is path to your jmule.jar file
To get jmule to run I modified jmule.bat as follows:
Code:
@set JAVA_HOME=jmule-path
@jmule-path\bin\java -Xmx128m -cp .\lib\swt-windows\swt.jar;.\lib\swingx-0.9.3.jar;jmule.jar;. org.jmule.main.Main
This installs jre 6.39 just for jmule to use so does not interfere with jre 7 or above. So far all java apps seem to be happy with jre6 added to a jre7 machine.
Running it with bat file means a win32 console open with logging messages from java and main UI window as well.
Is that the way it would normally run with two windows?