Websphere Liberty 8.5: Setting Java classpath

后端 未结 2 1126
旧时难觅i
旧时难觅i 2021-01-07 00:35

I am running Websphere Liberty 8.5. My application reads some files from the file system that are obtained via the Java CLASSPATH and I can\'t seem to find a way to append a

2条回答
  •  南笙
    南笙 (楼主)
    2021-01-07 01:20

    It is not possible to modify the JVM application classpath (normally specified via the -classpath JVM argument or the CLASSPATH environment variable). I would recommend using a to give your applications visibility to the resources. If you need a directory, you should use .

    (As an aside, modifying the wlp/bin scripts or setting those "internal" script variables is not a supported external.)

提交回复
热议问题