Gui is the class where my main class is .All my files are in bin ,so i think there wont be any problems regarding classpaths .If i double click the executable jar file I get an error saying
*"Could not find Main class program will exit "*
iF i use the cmmand java -jar Filename.jar
then i get the following error
C:\j2sdk1.4.2_08\bin\next>java -jar Gui.jar Exception in thread "main" java.lang.NoClassDefFoundError: Gui
Plz help me ...What could the problem be .the code is fine it works welll when i do java filename ...