JMule project forum

JMule - Java file sharing client

It is currently Mon Oct 03, 2022 3:41 pm

Your Ad Here

Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: How to install and run on windows (Pls check)
PostPosted: Sat Feb 09, 2013 10:39 am 

Joined: Sat Feb 09, 2013 8:35 am
Posts: 3
I have searched and cannot find any info for a novice first time windows jmule user.

Here is what should be written up somewhere I hope saves the next person doing this.
Are these install step correct?

  • Step 1.
    The download file you need is the zip file not jar file (that's not obvious) not jmule-0.5.8.jar

  • Step 2.
    Unzip to where you want to install it. (eg %programfiles%\Jmule)

  • Step 3:
    Run jmule.exe

  • Step 4.
    You get the following questions:

    Choose share folder:
    Make a empty folder to share (I think)

    Username and port screen
    - leave default as I have no idea what to do here

    Network bandwidth selection screen
    goto to get you speed grading
    entered custom value choice
    (note: up and down have same units - the layout may imply to some that one speed is in Kbits/s other is Kbytes - but its just a bad layout)

    Choose UI
    - default is SWT as I have no idea which is better for windows

    Finish jmule.exe setup wizard.

  • STEP 5:
    Create shortcut to jmule.bat and pick icon from jmule.exe

  • STEP 6:
    NOW WHAT DO I DO ???
    jmule.exe still running in background but no visible UI is being shown.
    The default port is open
    Do I ...

    Open shortcut to jmule.bat (is this console only startup)
    Do I run jmule.exe (is this UI start up)

My Platform details:
Java 1.7.0_04 Oracle Corporation SWT v4233, win32
Windows XP v5.1, x86

(BTW, new forum users need to be able to find a posting guide like ... osting.php - not everyone is a phpBB expert)

Last edited by BanditQuest on Sat Feb 09, 2013 11:02 am, edited 2 times in total.


 Post subject: Re: How to install and run on windows (Pls check)
PostPosted: Sat Feb 09, 2013 10:57 am 

Joined: Sat Feb 09, 2013 8:35 am
Posts: 3
running jmule.bat after shutting jmule.exe gives this message

> java -Xmx128m  -cp .\lib\swt-windows\swt.jar;.\lib\swingx-0.9.3.jar;jmule.jar;. org.jmule
Feb 09, 2013 6:50:45 PM org.jmule.core.aspects.JMuleCoreLogger ajc$before$org_jmule_core_as
INFO:  JMule Core creation
Core starting process initiated
Total start up time = 359
Feb 09, 2013 6:50:45 PM org.jmule.core.aspects.JMuleCoreLogger ajc$after$org_jmule_core_asp
INFO:  JMule Core started
java.lang.IllegalAccessError: tried to access class from c
lass org.jmule.ui.swing.maintabs.statistics.StatisticsTabs
        at org.jmule.ui.swing.maintabs.statistics.StatisticsTabs.<init>(
        at org.jmule.ui.swing.mainwindow.MainWindow.<init>(
        at org.jmule.ui.swing.JMuleSwingUI.initialize(
        at org.jmule.ui.JMuleUIManager.create(
        at org.jmule.ui.JMuleUIManager.create(
        at org.jmule.main.Launcher.<init>(
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
        at java.lang.reflect.Constructor.newInstance(Unknown Source)
        at org.jmule.main.Main.main(


 Post subject: Re: How to install and run on windows (Pls check)
PostPosted: Sun Feb 10, 2013 10:27 pm 

Joined: Sat Feb 09, 2013 8:35 am
Posts: 3
I did some investigation on the error message mentioned above and jre7 and jmule do not seem compatible.

There's a problem with a non-official* 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 -->*, 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: ... 22&t=13587

This also applies to JRE setup for end user. If you do not have java 2.6.x installed, goto 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:
@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?


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:  
Contact : jmule [at]
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group