Processing code to .class

edited February 2014 in Questions about Tools

I need to upload a program I made in processing to a site but in a .class file. Is it possible to do this or not ? If so how do I do it with Eclipse ?

Answers

  • When you export a sketch as an application, it gives you a source directory that contains your sketch as a .java file. You can compile that into a .class file using javac, you just have to make sure you have the Processing libraries on your classpath.

    Alternatively, when you export your sketch as an application, it gives you a directory containing your sketch as a .jar as well as the Processing library. You can embed that .jar as an applet, just use your sketch name as the applet class.

Sign In or Register to comment.