i'm working in my tablet a project that i want to run in my raspberry pi. The IDE AIDE, that i'm using can't export my project as an executable jar file. so i decided to try that by using the command line I used:
jar cvf ServerActivities.jar *
too create the jar file whichbworked but when i want to start it by using
Java -jar ServerActivities.jar
it says that my Main class couldnt be found or loaded, but it exists and contains an main method