Thus making it an application not an applet, in this class "Example" I also used various other normal java classes and swing guis. What i am trying to say is that this project is using quite a lot of everything.
When I export to a jar I get the error:
Exception in thread "main" java.lang.NoClassDefFoundError: processing/core/PApplet
When i try to run java -jar Test.jar In the console.
I have read that this is a classpath issue whole some others say it is an issue with processing. . . This may be answered elsewhere but I cant seem to find the solution.
Either you make a far jar including core.jar, or you distribute it with your jar and you include it in your command line: java -cp .;core.jar;Test.jar Test To use a jar like you shown (-jar), you need to have a special manifest to indicate which class to run.