Java class not running after installation
Hello everyone I am new to this forum and also using NSIS for 1st time.
I has one .nsi script for packing a .class file and some other files along with it.
The installer is working properly but the shortcut which is created is not working saying - "Could not find the main class. The program will exit".
The java program is working fine if I run it directly.
I am attaching the script and writing the the sample java file below.
Please help me with the issue or send me a script to make the java program installable.
/*SAMPLE JAVA PROGRAM*/
import java.awt.*;
public class NSISExampleApplication1 {
public static void main(String[] args)
{
Frame f = new Frame("test");
f.resize(600,400);
f.setVisible(true);
}
}