when tried command java -jar samplewebdrivercode.jar
found manifest error.
is possible so?
your file not conform requirements of jar executable
which should have manifest file main-class
attribute if want run -jar
option.
alternatively can run jar specifying class path -cp
or -classpath
option, class should have entry point i.e. main method.
the call can done java -classpath app.jar your.package.name.mainclass