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.

[attachment=218098,5203]

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 });
		createInfoOutlet(false);

		if (buff.length > 0)
			set(buff[0].toString());
	}

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

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

	public void combine() {

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

				...

			}
		});
	}

}

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

Any help will be much appreciated!!

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

fixed, $1 was the problem.

#241688

You must be logged in to reply to this topic.