Closed Chrriis closed 11 years ago
I am not sure but I think the 2 sec could be because it is the first class that is (trying to be) loaded by the environment. In that case you will get the delay anyway later in loading the main-class.
Not sure why you are seeing 2 seconds but I will add an INI option to disable the native integration. Thanks.
In the latest release (0.4.5) you can set disable.native.methods=true in your INI to avoid the native registration.
When I run the exe, I see this in the console: [info] Registering natives for Native class [warn] Could not find Native class
I found that between the info and warn message I have to wait for about 2 seconds. Since I don't seem to need the Native class, is there a way to switch this lookup off in the ini file to not lose those 2 seconds and avoid this log warning?