JS and Java editor in Max 6

Mike S's icon

When I double click the a JS object in Max 6 I see the shiny new editor, but when using the viewsource on a Java object I see the old pixely nightmare editor.

Is this normal behaviour?

Thanks

Nat's icon

That's normal behaviour, it uses a java gui that has some options to compile.
I usually use an external editor (sublime text) for both java and javascript. The only thing is that you can't open it by double clicking the objects...

Chris Vik's icon

I personally use Eclipse to satisfying effect. Adam Murry wrote a great guide for setting up Eclipse for the Max library, and how to configure Max's dynamic class search path.

Though I seem to need to send a "zap" message to the [mxj] object, delete it, then undo in order to refresh it after compiling the new class.