I’m experimenting using jbang.dev to run paper and build plugins.
I’m curious to understand what paper is relying on that makes it that with java 8 it is fine to put paper jar on --classpath and specify a main class, but with Java 9 and above it seems I must run it with
java -jar otherwise I get the dreaded:
Unable to retrieve Instrumentation API to add Paper jar to ClassPath
Anyone knows how that is ?
Reason I like to avoid it is that in jbang I avoid using -jar as it does not allow to easily extend the classpath (without hacks) - but now it seems like paper does do some "thing’; which then makes --classpath impossible.