8

I am using processing, and cannot figure out how to turn my processing sketch into an .exe file. So far nothing has worked.

I have a lot of images in different folders within my processing sketch, and I cannot seem to figure out the steps I need to take to end up with an executable and a folder which it is in (the type you might download from the internet)

3
  • file > export application ? Commented May 10, 2014 at 12:56
  • Right, but this 1) does not create a .exe and 2) does not run when I click it Commented May 10, 2014 at 14:46
  • What version of Processing editor are you using? Commented May 12, 2014 at 6:24

1 Answer 1

7

You can do this two ways:

From your Processing editor, by clicking the "Export button", then you have the options of creating an "Embed Java" or a "Full Screen (Present mode)". Bought of this options create a folder containing the .exe file.

Exporting in Processing

this creates a new folder inside your sketch folder.

Your sketch folder

here you can find the executable file.

The executable file

The other way would be by having your project mix with java in some other IDE like Eclipse or Intelij. Follow this tutorial on how to do that http://www.learningprocessing.com/tutorials/processing-in-eclipse/ then you can export your work like any java aplication, if you decide to work with eclipse here it's how to do so http://help.eclipse.org/juno/index.jsp?topic=%2Forg.eclipse.jst.j2ee.doc.user%2Ftopics%2Ftjexpapp.html

Hope this could be helpful. Regards Jose

Sign up to request clarification or add additional context in comments.

3 Comments

except neither of these files cointain a .exe and it gives me a null pointer exeption
Thank you for the images. I think was clicking on the .jar file FACEPALM so sorru
CTRL+SHIFT+E for newer versions.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.