How to add a jar to the boot classpath in java 11

前端 未结 2 456
逝去的感伤
逝去的感伤 2021-02-11 11:25

In my application which is running on Java 8 I used third party library which is using org.jboss.logmanager.LogManager So I added this jar in bootclass path and it works fine. B

2条回答
  •  情话喂你
    2021-02-11 11:45

    In JAVA jdk 11 and above, if you are developing a java console app then you only need to set the PATH environment variable. You do not need to set the CLASSPATH environment variable.

提交回复
热议问题