Ich ertelle eine .jar datei die bei netbeans ganz normal funktioniert aber nicht über terminal.
ich kriege die fehlermeldung the java jar file could not be executed wenn ich auf die -jar datei klicke.
wenn ich sie mit java -jar bsp1.jar durführe kriege ich diefehlermeldung
Exception in thread "main" java.lang.NoClassDefFoundError: bsp/Main
Caused by: java.lang.ClassNotFoundException: bsp.Main
	at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
	at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
weiss jemand wo das problem liegen kann?
ich danke im voraus
lg
ilker
 
		 
		
		
	 Before this command will work, however, the runtime environment needs  to know which class within the JAR file is the application's entry point.
   Before this command will work, however, the runtime environment needs  to know which class within the JAR file is the application's entry point. 