One can mirror this Matlab guide with Jython
1. Install Jython 2.7
2. Add this to Windows CLASSPATH env var
C:/Program Files/Micro-Manager-1.4/ij.jar;
C:/Program Files/Micro-Manager-1.4/plugins/Micro-Manager/MMCoreJ.jar;
C:/Program Files/Micro-Manager-1.4/plugins/Micro-Manager/MMJ_.jar;
C:/Program Files/Micro-Manager-1.4/plugins/Micro-Manager/bsh-2.0b4.jar;
C:/Program Files/Micro-Manager-1.4/plugins/Micro-Manager/swingx-0.9.5.jar;
C:/Program Files/Micro-Manager-1.4/plugins/Micro-Manager/swing-layout-1.0.4.jar;
3. Start jython with e.g. Start > Run…
cmd /K "C: & cd C:\Program Files\Micro-Manager-1.4 & jython"
At startup as the CLASSPATH jars are recognized you should see:
*sys-package-mgr*: processing new jar, 'C:\Program Files\Micro-Manager-1.4\ij.jar'
*sys-package-mgr*: processing new jar, 'C:\Program Files\Micro-Manager-1.4\plugins\Micro-Manager\MMCoreJ.jar'
*sys-package-mgr*: processing new jar, 'C:\Program Files\Micro-Manager-1.4\plugins\Micro-Manager\MMJ_.jar'
*sys-package-mgr*: processing new jar, 'C:\Program Files\Micro-Manager-1.4\plugins\Micro-Manager\bsh-2.0b4.jar'
*sys-package-mgr*: processing new jar, 'C:\Program Files\Micro-Manager-1.4\plugins\Micro-Manager\swingx-0.9.5.jar'
*sys-package-mgr*: processing new jar, 'C:\Program Files\Micro-Manager-1.4\plugins\Micro-Manager\swing-layout-1.0.4.jar'
4. Then create the beanshell handles:
>>> from org.micromanager import MMStudioMainFrame
>>> gui = MMStudioMainFrame(False)
>>> gui.show()
... etc