mxj net.maxhole broken?

Tj Shredder's icon

I tried an older patch which worked fine - I think until Max 7.
It seems mxj net.maxhole is broken I get this as error message:
net.maxhole: socket error. java.net.SocketException: Can't assign requested address
I can't decipher that message in a way to fix it...

Tj Shredder's icon

I found an explanation here:
https://github.com/Cycling74/max-mxj/issues/52
But no solution for non hackers and just Max users...

Jan M's icon

Hi Stefan,

I answered you in the Github comments. I will repeat it here as this is the central hub for Max knowledge:

To set the JVM version for Max on Mac:

- Go to Max.app, right click and select "Show Package Contents"
- Navigate to Max.app/Contents/Resources/C74/packages/max-mxj/java-classes and open max.java.config.txt
- Good Practice: Make a copy of the original before editing the file.
- from Line 43 on (Max 8.1.5) you will see the JVM options. You can set them there.

The caveat is, that your changes will be overwritten on every Max update or reinstall.

For an easier access to the file you can create a softlink outside the Max.app packages.ç

I hope that helps.

Jan