0

I managed to create a <filename>.bat file using a jar creator . It also
creates <filename>.jar file

but when i click .bat file it says unsupportedClassVersionError: bad version number in .class file

.jar file says could not find the main class...

how can I overcome this???

Edited by jrosh: n/a

2
Contributors
1
Reply
2
Views
9 Years
Discussion Span
Last Post by masijade
0

By making sure the right versions of java and javac are in your PATH (not CLASSPATH), or call the proper version explicitly.

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.