I am obviously not the only one who started with developing java externals who is stumbling over this:
When I change a Java Class and try to re-instantiate it without restarting Max it doesn’t work.
Though I searched the forum and I find several posts I could not get to solve it. So hopefully someone has a suggestion….
Here is what I do:
WinXP; Max 5.1.8; JDK 1.6.0_24
My classes are in the directory C:/java_max_classes
I added these entries to max.java.config.txt:
– I load an instance of the class into mxj –> the class gets instantiated and the constructor function is called.
– I open the source-code by sending a "viewsource" message, change the code and compile it from the Max compile window.
– Than I tried all possible combinations of deleting/recreating/undoing the mxj object in combination with sending "zap" message to the object and without.
In no cases will the class be re-instantiated and in the constructor function is called – except if I close Max and restart it.
Any further ideas what could help?
Thanx a lot in advance
I got it… when i use the path "C:Program FilesCycling ’74Max 5.0Cycling ’74javaclasses…" or a subdirectory for my java classes the are re-instantiated as documented.
Does anyone know if that a feature or a bug – or am I maybe missing some configuration issues…
Log in to reply
SUBSCRIBE TO OUR NEWSLETTER
C74 RSS Feed | © Copyright Cycling '74 | Terms & Conditions