$ cd jbang/bin
# Provide build options in file jbundle.toml file, specifying the JDK version to include with JBang, etc.
$ jbundle build --input ./jbang.jar --output dist/jbang
$ ./dist/jbang --verbose init hello.java
[jbang] [0:151] jbang version 0.137.0
[jbang] [0:159] Reading catalog from /home/wfouche/.jbang/implicit-catalog.json
[jbang] [0:175] [WARN] Unable to read catalog /home/wfouche/.jbang/implicit-catalog.json because java.lang.RuntimeException: Unable to create instance of class dev.jbang.catalog.Catalog. Registering an InstanceCreator or a TypeAdapter for this type, or adding a no-args constructor may fix this problem.
[jbang] [0:176] [ERROR] Could not find init template named: hello. Try run with --fresh to get latest catalog updates.
dev.jbang.cli.ExitException: Could not find init template named: hello. Try run with --fresh to get latest catalog updates.
at dev.jbang.cli.Init.doCall(Init.java:74)
at dev.jbang.cli.BaseCommand.call(BaseCommand.java:149)
at dev.jbang.cli.BaseCommand.call(BaseCommand.java:24)
at picocli.CommandLine.executeUserObject(CommandLine.java:2031)
at picocli.CommandLine.access$1500(CommandLine.java:148)
at picocli.CommandLine$RunLast.executeUserObjectOfLastSubcommandWithSameParent(CommandLine.java:2469)
at picocli.CommandLine$RunLast.handle(CommandLine.java:2461)
at dev.jbang.cli.JBang$3.handle(JBang.java:166)
at dev.jbang.cli.JBang$3.handle(JBang.java:161)
at picocli.CommandLine$AbstractParseResultHandler.execute(CommandLine.java:2277)
at picocli.CommandLine$RunLast.execute(CommandLine.java:2425)
at picocli.CommandLine.execute(CommandLine.java:2174)
at dev.jbang.Main.main(Main.java:28)
[jbang] [0:176] If you believe this a bug in jbang, open an issue at https://github.com/jbangdev/jbang/issues
To be investigated further. This could be a JBundle issue: https://jbundle.avelino.run/