Problems loading classes built in Eclipse
Hi all,
I'm just starting to add Java to my Max skillset, but I am bumping into what should be a quick fix, but apparently isn't...
I prefer to write my externals in Eclipse, but I can't get them to load as externals unless I paste the code into mxj quickie and save it from there. Even then Max can't load the classes after restarting. I changed the relevant lines in /Application Support/Cycling'74/java/max.java.config.txt to
; add /Users/topher/myclasses to the dynamic classpath of MXJClassLoader ;
max.dynamic.class.dir /Users/kennethflak/Documents/workspace
; add all jars in /Users/topher/myjars to the dynamic classpath of MXJClassLoader ;
max.dynamic.jar.dir /Users/kennethflak/Documents/workspace
but to no avail. I have also tried placing the .java and .class files in all the official places, including the same folder as the max patch, but it will still not load unless I go through the previously mentioned quickie treatment. Anybody know what is going on here?
I did a short write-up many years ago, here:
But maybe check out one of my Eclipse-based MXJ projects, like this one:
Hi Nick,
Thanks for the response. Your article was the one I used to try and set Eclipse up. That part worked fine, thanks to your excellent guidance :-) It seems the problem is not with Ecplipse, but rather in how to add additional paths for Max to locate the mxj. I finally managed to get it to work by placing the project in /users/Max 7/Packages/externals/java-classes. No other places on the harddrive seems to do the trick...