Skip to content

Simple Java "Hello World" to build a native app with GraalVM

Notifications You must be signed in to change notification settings

elirenato/java-native-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Java native app

Example to build a native app with GraalVM and Docker.

Compile

To generate the Java native app, this project uses a Docker image to create a platform specific executable for Linux (Ubuntu).

export DOCKER_BUILDKIT=1 && rm -rf ./target-linux && docker build -f src/main/docker/Dockerfile -t com.mycompany/java-native-app -o ./target-linux .

At the end of the execution, the executable will be available at target-linux (java-native-app).

Execute the Java native app

./java-native-app

About

Simple Java "Hello World" to build a native app with GraalVM

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published