Skip to content

Instantly share code, notes, and snippets.

@teguhteja
Created February 3, 2020 06:05
Show Gist options
  • Save teguhteja/e4f9963618eecf6dec31d77cb0f07fe6 to your computer and use it in GitHub Desktop.
Save teguhteja/e4f9963618eecf6dec31d77cb0f07fe6 to your computer and use it in GitHub Desktop.
Configurasi launch4j for dontwrapped
<?xml version="1.0" encoding="UTF-8"?>
<!--Launch4j executor script generated by Launch4jInt module. Do not modify, modifications will be overwritten anyway.-->
<project basedir="." default="all" name="Launch4jExecutor">
<property location="/home/teguhteja/Downloads/launch4j" name="launch4j.dir"/>
<property location="/home/teguhteja/NetBeansProjects/GUILaunch4j01/nbproject/launch4jconfig.xml" name="launch4j.config"/>
<echo>Configuring Launch4j and generating executable for GUILaunch4j01 project:</echo>
<target name="all">
<taskdef classname="net.sf.launch4j.ant.Launch4jTask" classpath="${launch4j.dir}/launch4j.jar:${launch4j.dir}/lib/xstream.jar" name="launch4j"/>
<launch4j>
<config dontWrapJar="false" headerType="gui" jar="<your jar files>"
outfile="<your file .exe>">
<jre initialHeapSize="0" maxHeapSize="0" minVersion="1.6.0"></jre>
</config>
</launch4j>
</target>
</project>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment