I have a jar file with two different entry points. One of them runs by default when I use java -jar my-file.jar. The other one I can run by using java -cp my-file.jar clojure.main -m my.entrypoint.
I want to compile this jar file to two separate GraalVM binaries. I found that native-image has a -m flag, but I don't know how to use it. Neither -m clojure.main nor -m my.entrypoint work, they both say "Module for mainclass not found".
oh i was being silly, if i just remove -m and only pass the class name it works fine