I'm not able to open my JAR file using the following code. Though, I'm able to open other JAR files.
try {
Desktop.getDesktop().open(new File("myPlugin.jar"));
}
catch(Exception exception) {
exception.printStackTrace();
}
}
I don't know if I'm exporting the JAR file incorrectly or some error in the Manifest file.
Manifest-Version: 1.0
Class-Path: .
Main-Class: Reader
Any help would be appreciated. Thanks.