java execute jar from main

Java
java -cp MyJar.jar com.packagename.MainClass [somearg1] [somearg2] [etc]
Source

Also in Java: