Hello everyone.
I have developed an application in eclipse using the processing libraries, in essence
I have a processing class which contains the following:
- public class Example extends PApplet
- {
-
public static void main(String args[]){
PApplet.main(new String [] { "sim.Simulation" } );}}
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:
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.
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.
Can anyone help me?
1