When I run the Jar-file inside netbeans it works. But after I clean and build it, it won't run. It gives me an error, that the Mainclass couldn't be found.
I tried already something like:
java -cp C:\javaProjectsTests\J.jar;C:\javaProjectsTests\lib\*;. j.J
java -Djava.library.path=C:\javaProjectsTests\lib\* -jar C:\javaProjectsTests\J.jar
Maybe someone could help?