NoClassDefFoundError in max for live

Mar 18, 2013 at 1:35pm

NoClassDefFoundError in max for live

I’m working on a max for live device for a client. On my computer everything works fine, but on the clients computer I get a runtime error:
It inits the object but when a method is called I get: NoClassDefFoundError.


import com.cycling74.max.*;
import com.cycling74.msp.*;

public class BufferTool extends MaxObject {

	String buffer = null;
	String Temp = null;

	BufferTool(Atom[] buff) {
		declareInlets(new int[] { DataTypes.ALL });
		declareOutlets(new int[] { DataTypes.ALL });

		if (buff.length > 0)

	public void set(String name) {
		buffer = name;

	public void setTemp(String Temp) {
		this.Temp = Temp;

	public void combine() {

		MaxSystem.deferLow(new Executable() {
			public void execute() {




The java.class file is in the max search path and the has been edited.

Any help will be much appreciated!!

  1. runtimeerror.png
Mar 19, 2013 at 5:38pm

fixed, $1 was the problem.


You must be logged in to reply to this topic.