Hi, I generated a jar out of my java project, and I want to invoke it in the command.
The problems are:
1. The class I want to turn to is in a package.
2. I want to invoke specific method in it
My class that contain the method to invoke is: myClass
The method I want to invoke inside myClass :myMethod
The jar file name is : myJar
The package name is: myPackage.
Should I write in the command:
java -jar myJar.myPackage.myClass.myMethod ???
Thanks.
The problems are:
1. The class I want to turn to is in a package.
2. I want to invoke specific method in it
My class that contain the method to invoke is: myClass
The method I want to invoke inside myClass :myMethod
The jar file name is : myJar
The package name is: myPackage.
Should I write in the command:
java -jar myJar.myPackage.myClass.myMethod ???
Thanks.