Win a copy of Raising Young Coders: A Parent’s Guide to Teaching Programming at Home this week in the General Computing forum!
Forums Login/signup

error: "WARNIN Sign the executable to minimize antivirus false positives or use launching instead...

+Pie Number of slices to send: Send
Hi;
Actually, I'm a beginner.
After I completed my app programming, exported it to a jar with eclipse, and then used Lunch4j to convert it to exe. it gave me an error:
"WARNING: Sign the executable to minimize antivirus false positives or use launching instead of wrapping."
How do I can fix it?


+Pie Number of slices to send: Send
Why are you creating XXX.exe files at the beginner's stage?
It has to do with getting a certificate file from somewhere and using a program akin to PGP ot add a signature to the file, otherwise the target computer will assume you are sending it malware.
+Pie Number of slices to send: Send
A quick search for "launch4j Sign the executable to minimize antivirus false positives or use launching instead of wrapping" finds https://github.com/lukaszlenart/launch4j-maven-plugin/issues/106, which looks highly relevant.
1
+Pie Number of slices to send: Send
Is this something new in the post-win7 world I not yet encountered as I
a) not use microsofts crap but kaspersky
b) not use win10 yet (only on my stream system as elgato only makes windows drivers (next grabber will be linux compatible))
c) don't wrap my java stuff into platform depended launchers
?
I never had any security solution flagged any unsigned code as virus. Sure one gets a warning its untrusted and insecure but one can chose the option to execute it anyway. Same is true for start scripts in a BATch file.
Also: most unfortunately there're no public recognized "communities" giving out code sign certificates for free, so you always have to pay for one. And these can get rather expensive and annoyingly to order. Many CAs don't even offer private code sign certs but only to companies with expensive extended validation.

To avoid al that just use a simple BATch script. All one get is this weird "run anyway"-vista-uac style dialog.
Yes, its idea back in xp and vista was good but led to a new generation of users just ignoring it anyways.

reply
reply
This thread has been viewed 5868 times.
Similar Threads
creating an exe file from jar, but cannot run it normally
How to build, locally sign and deploy a JRE 1.7 applet as part of a jsp/Servlet app using JNLP
General guidance on how to make a java project usable on other devices
Executable jar file not running
using jar export in Eclipse 3.0
More...

All times above are in ranch (not your local) time.
The current ranch time is
Jun 27, 2025 09:01:35.