Export a processing app from IntelliJ IDEA

Hi,

Is it possible to export a processing app made in IntelliJ IDEA?
I have managed to get it work -ish- with making a jar file export module in IntelliJ and uploading this to my linux environment but it has some weird quirks sometimes which are probably due to missing native libraries.

Is there a way to export an intellij application the same way as we would from the processing IDE? Being able to include java in the export would also be super useful.

You might get a satisfactory answer by asking in that forum: https://intellij-support.jetbrains.com/hc/en-us/community/topics

There are at least 4 sub-forums that are dedicated to IDEA. Cheers.

It is possible to make an executable jar file of Processing code in IntelliJ after you have imported the Processing library ‘processing.core.Applet’, which I presume you already know how to do. To make the jar file executable takes some doing but is explained in the following link: https://www.jetbrains.com/idea/guide/tutorials/hello-world/packaging-the-application/ . The explanation is in the video at the top of the website. There was a recent thread in this forum which may or may not give you additional insight: https://discourse.processing.org/t/how-does-processing-export-work/36816/4. I’m not sure the question was adequately answered, but it did not appear to be possible to reproduce the exact app output of Processing by using IntelliJ, although it is possible to create a jar file which will open upon double clicking (on a Mac). The file size was 1 MB so it may contain java; I am not knowledgeable enough about jar files to tell whether it contains java or not. You can download an executable jar file created by IntelliJ from DropBox to examine it for yourself if you are so inclined.

1 Like

I have been able to produce a jar file I can double click to run, that’s not a problem :slight_smile:

The thing I’m looking for is how to include the platform specific libraries like a processing export would do.

Have you tried making your jar file with Processing code in IntelliJ on a Linux system?