I’m still a bit confused about path and mxj.
I’d like to use only one folder containing all my project (the new project feature is very nice)
Following this, I’d like to include all my java code in this folder (in a subfolder)
In that case, my code is ok, the compilation too but … my mxj doesn’t find the right class to instantiate :-(
I let all the mxj compile settings & paths by default.
Does it mean I HAVE to put all my classes elsewhere ( which would be for instance … /Library/Application Support/Cycling ’74/java/classes ) ?
Or should I add my absolute folder path to the CLASSPATH mxj variable …?
Go to menu->Options->File preferences-> add a new path to your project with subfolders active. -> now restart max.
this should do if you wanna use it as a max patch. it is not going to work for max_runtime though. in that case you have to make either a collective or drop all the files in the same folder as your patch file.
I guess I missed something because I guess we don’t have to do that for each project …
I mean, the current place of the current .maxpat containing the mxj should be in the path directly (as ./) no?
i’m pretty sure the max-search-path is distinct from the max-java-classpath.
your class folder needs to be added to the java-classpath.
I did that, it works of course.
but it would be nice to have that part of the config directly inside the patch in order to make things more self-contained. I am still probably missing something..
C74 RSS Feed | © Copyright Cycling '74