You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am hoping to use Winrun4j to package an application, to prevent the user from modifying the command-line. The application also uses a custom system classloader, specified by the JVM's -Djava.system.class.loader argument (as documented at ClassLoader.getSystemClassloader() ).
However, when I run the following test application with a custom system classloader, I get an error in the log: [err] Application aborted. (after the splash screen appears briefly). I get no System.out messages from the application, which then exits.
The application runs fine through the IDE, and if I don't overwrite the system classloader myself, I do appear to get the JVM's classloader, and all expected output.
Can you please suggest any reason for the crash, or any way I can get further information?
I am using coretto-11.0.18 64-bit.
My entire application is as follows (2 class files, packaged into a JAR).
public class Main {
public static void main(String[] args) {
System.out.println("Hello, World");
}
}
An error is preventing me from using WinRun4j.
I am hoping to use Winrun4j to package an application, to prevent the user from modifying the command-line. The application also uses a custom system classloader, specified by the JVM's
-Djava.system.class.loader
argument (as documented at ClassLoader.getSystemClassloader() ).However, when I run the following test application with a custom system classloader, I get an error in the log:
[err] Application aborted.
(after the splash screen appears briefly). I get no System.out messages from the application, which then exits.The application runs fine through the IDE, and if I don't overwrite the system classloader myself, I do appear to get the JVM's classloader, and all expected output.
Can you please suggest any reason for the crash, or any way I can get further information?
I am using coretto-11.0.18 64-bit.
My entire application is as follows (2 class files, packaged into a JAR).
My .ini file (added to the .exe)
winrun4jtest.log
The text was updated successfully, but these errors were encountered: