1

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?

Paul Sweatte
  • 24,148
  • 7
  • 127
  • 265
Paris Tao
  • 335
  • 1
  • 3
  • 11

1 Answers1

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