Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 0 additions & 4 deletions docs/index.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -13185,8 +13185,6 @@ This https://picocli.info/picocli-on-graalvm.html[older article], "Picocli on Gr

See also this https://github.com/remkop/picocli-native-image-demo[demo Gradle project] and this https://github.com/remkop/picocli-native-image-maven-demo[demo Maven project] that provide a simple complete CLI app, with build instructions, that developers can clone, and build to get the stand-alone executable.

See also the http://github.com/korandoru/hawkeye[korandoru/hawkeye] for a real-world Maven project that provide a native image and a slim Docker image powered by native image.

[TIP]
====
Native images on Windows have the https://github.com/oracle/graal/issues/1762[problem] that the native image does not include the required dependency `msvcr100.dll` (for Java 8) or `VCRUNTIME140.dll` (with GraalVM 19.3 or later for Java 11). On Windows machines where this dependency is not in the `PATH`, the native image fails to start, and shows an error dialog "System Error: The program can't start because VCRUNTIME140.dll is missing from your computer".
Expand All @@ -13211,8 +13209,6 @@ ____

The https://docs.spring.io/spring-boot/docs/current/maven-plugin/reference/htmlsingle/#packaging[Spring Boot Maven Plugin] provides a `repackage` goal to create executable archives that contain all of an application’s dependencies. It thus functions as an executable, is portable across operating systems and architectures, and is still a valid JAR file that can be executed explicitly or otherwise used as a JAR.

http://github.com/korandoru/hawkeye[korandoru/hawkeye] provides a real-world example to package a picocli application into an executable file. You can read the `pom.xml` file of https://github.com/korandoru/hawkeye/blob/main/hawkeye-cli/pom.xml[hawkeye-cli] module for details. Note that the default `embeddedLaunchScript.sh` assumes that the application may be a Spring Application while the hawkeye-cli example uses a customized tidy script.

=== Really Executable JAR

A https://skife.org/java/unix/2011/06/20/really_executable_jars.html[really executable JAR]
Expand Down
6 changes: 0 additions & 6 deletions docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -18478,9 +18478,6 @@ <h4 id="_where_can_i_get_more_details"><a class="anchor" href="#_where_can_i_get
<div class="paragraph">
<p>See also this <a href="https://github.com/remkop/picocli-native-image-demo">demo Gradle project</a> and this <a href="https://github.com/remkop/picocli-native-image-maven-demo">demo Maven project</a> that provide a simple complete CLI app, with build instructions, that developers can clone, and build to get the stand-alone executable.</p>
</div>
<div class="paragraph">
<p>See also the <a href="http://github.com/korandoru/hawkeye">korandoru/hawkeye</a> for a real-world Maven project that provide a native image and a slim Docker image powered by native image.</p>
</div>
<div class="admonitionblock tip">
<table>
<tr>
Expand Down Expand Up @@ -18520,9 +18517,6 @@ <h3 id="_spring_boot_maven_plugin"><a class="anchor" href="#_spring_boot_maven_p
<div class="paragraph">
<p>The <a href="https://docs.spring.io/spring-boot/docs/current/maven-plugin/reference/htmlsingle/#packaging">Spring Boot Maven Plugin</a> provides a <code>repackage</code> goal to create executable archives that contain all of an application’s dependencies. It thus functions as an executable, is portable across operating systems and architectures, and is still a valid JAR file that can be executed explicitly or otherwise used as a JAR.</p>
</div>
<div class="paragraph">
<p><a href="http://github.com/korandoru/hawkeye">korandoru/hawkeye</a> provides a real-world example to package a picocli application into an executable file. You can read the <code>pom.xml</code> file of <a href="https://github.com/korandoru/hawkeye/blob/main/hawkeye-cli/pom.xml">hawkeye-cli</a> module for details. Note that the default <code>embeddedLaunchScript.sh</code> assumes that the application may be a Spring Application while the hawkeye-cli example uses a customized tidy script.</p>
</div>
</div>
<div class="sect2">
<h3 id="_really_executable_jar"><a class="anchor" href="#_really_executable_jar"></a>29.5. Really Executable JAR</h3>
Expand Down
Loading