Snaps for a Java project

Hi there,

I wonder how long did it take you to build your own Java app with the help of a snap?
Also, I’d like to ask for your thought about the cases when some corrections are needed.

Thanks for your ideas.

Hi,
I built JAVAFX App (PhotoNoteBook) and released it in the snap store just under a year ago, with a lot of help from the good people on this forum.

I used JAVAFX with IntelliJ IDEA as it is possible with that toolset to JLINK a JAVAFXApp andJava environment in one completely self-contained package which is suitable for snapping.

I had the issues of which library packages and individual libraries needed to be included in the staging section of mysnapcraft.yaml file, especially for the visual interface elements which are core to my App. I’m still having a few issues with libaries, however I doubt they are insurmountable.
Be careful with JAVAFX - anything greater than openjfx12 has issues with GL rendering, and I have filed bug reports but no fix in sight.

Good Luck
Alan

It all depends on your level of java.