That is how you create a jarfile, not how you "run it". Now, in which step are you having problems. When creating it, or when executing it?
masijade
Industrious Poster
4,253 posts since Feb 2006
Reputation Points: 1,471
Solved Threads: 494
java -jar
As stated in the tutorial that I linked to in one of your other threads.
masijade
Industrious Poster
4,253 posts since Feb 2006
Reputation Points: 1,471
Solved Threads: 494
clicking jar file says :
Could not find the main class (note : I created the manifest file)
Then you either did not configure the manifest file properly, or you did not include the main class in your jarfile.clicking bat file says:
unsupportedClassVersionError: bad version number in .class file
:( Sory to bothr so much!!!
Then, as stated before, you are not using the correct version of java for either your compiling and/or executing.
masijade
Industrious Poster
4,253 posts since Feb 2006
Reputation Points: 1,471
Solved Threads: 494