Native Java run in Processing?

Can i place native Java code into my Processing code? Here is what I need;

output.flush();

ALso, what about non-native Java, such as;

SetCommBreak(port)
Sleep(2);  
ClearCommBreak(port)

Answers

  • What do you mean by "native Java" and "non-native Java"?

    What happened when you tried?

  • the name "output" cannot be recognized message.

  • Do you mean including built-in methods and classes vs include methods and classes from third party Java jars?

    You can do both.

  • Can you please post a MCVE showing what you're trying to do? Note that this should not be your full program, but just enough code for us to copy and paste to see the error on our own computers.

Sign In or Register to comment.