Fork me on GitHub
#pedestal
<
2017-05-29
>
bherrmann15:05:51

Humm. I’d like to add a library at start time …. is there a way to do that?

bherrmann15:05:25

java -classpath mylib.jar -jar myproject.jar

bherrmann15:05:50

thats not effective, I assume it is because the internal Jetty thing uses its own classloader and ignores the JVM classloader

mtnygard22:05:30

@bherrmann According to the man page for ‘java’: >When you use this option, the JAR file is the source of all user classes, and other user class path settings are ignored.

mtnygard22:05:12

So you might get results by putting both jars in -classpath and using your main class as the argument