we encountered jit bug in java 8 in conjunction specific swing method. link. have disable jit specific method vm argument in launch4j don't seem able pass vm argument launch4j in maven. have following maven declaration:
<plugin> <groupid>org.bluestemsoftware.open.maven.plugin</groupid> <artifactid>launch4j-plugin</artifactid> <version>1.5.0.0</version> <executions> <!-- gui exe --> <execution> <id>l4j-gui</id> <phase>package</phase> <goals> <goal>launch4j</goal> </goals> <configuration> <headertype>gui</headertype> <outfile>target/launcher_${version}.exe</outfile> <jar>target/${jar.file.withdependencies.name}</jar> <errtitle>error title</errtitle> <icon>src/main/resources/icon/icon.ico</icon> <jre> <minversion>1.7.0</minversion> <initialheapsize>128</initialheapsize> <maxheapsize>900</maxheapsize> <!-- doesn't work... --> <!--<opt>-omitstacktraceinfastthrow</opt>--> </jre> <versoninfo> <fileversion>1.0.0.0</fileversion> </versioninfo> </configuration> </execution> </executions> </plugin>
you should encapusalte opt elements inside , opt tag.
in case, inside jre tag:
<opts> <opt>-omitstacktraceinfastthrow</opt> </opts>
Comments
Post a Comment