java - Starting .jar with cmd or batch -
i got "entitygenerator.jar" if type
java -jar entitygenerator.jar
in command line got this:
unable access come in jarfile entitygenerator
or when type this:
java entitygenerator
this error comes up:
main class not found or loaded
also want execute having batch file.
thank help
try provide total path of jar. in order create batch file, set command within text file , rename file have ".bat" suffix
java batch-file jar
No comments:
Post a Comment