When I run a Java JAR with the parameter -Djava.ext.dirs=xxx
it works, but it could not find security libraries which are provided by JAVA_HOME/jre/lib/ext
. Does java.ext.dirs
support multiple directories?
Asked
Active
Viewed 1,786 times
1

Paul Sweatte
- 24,148
- 7
- 127
- 265

Paris Tao
- 335
- 1
- 3
- 11
-
I found multiple directories can be separated with ":", like directorA:directB . – Paris Tao Dec 02 '15 at 06:48
1 Answers
2
Use the colon as the delimiter on Mac OSX and Unix/Linux:
dirA:dirB:dirC
Use the semicolon as the delimiter on Windows:
dirA;dirB;dirC
References

Paul Sweatte
- 24,148
- 7
- 127
- 265