I have a compiled project in a jar file and I need to call a method from it.How can I do that in ubuntu terminal?
java -cp path/to/jar .
example:
java -cp test.jar org.dekz.HelloWorld