Skip to content

stikku/java-cli-poc

Repository files navigation

Docs

Limitations:

  • GraalVM does not currently support cross-compilation. a.k.a. you need a windows hows to compile to windows.
  • Tested only with Java 8

Building:

  • mvn clean install (this will also generate the reflection config file)
  • docker run -it -v C:\dev\trees\cli_file_manager:/usr/games oracle/graalvm-ce tail -f /dev/null
    • Creates a running container with graalvm installed in it
  • exec into container
    • gu install native-image
    • cd /usr/games
    • ./build_native.sh
    • Output is fmcli
    • To test runtime duration: time ./fmcli file src dst

Future research:

About

A small (unpolished), natively compiled, cli tool using Java, PicoCli and GraalVM.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published