Muster Java API

Before reading this section, please look at the Bindings guidelines for the setup common to the bindings.

The JavaApi requires you to import all the relevant .java files inside your project, or in alternative, build your own .jar file that hosts all the Muster .java SDK files.

You may also need to distribute the MClientAPI.dll and MTemplateAPI.dll with your project. The java API does not require any additional configuration apart from setting the java class path if you plan to host the files in another directory.

You can then import the module with:


This is a sample code snippets that initialise the library:

public class mustersample
	public static void main(String[] args) {
		try {
			MUSTERERR err = MClientAPI.InitializeLibrary("");
			if (err.getErrorCode() != 0) {
				System.out.println("MClientAPI initialization failed!");
		catch (Exception exc) {
  • muster/8.5/api/java.txt
  • Last modified: 2018/01/11 09:01
  • (external edit)