With the -D option, you can pass the system property to jvm (see here ).
For example, if you run the application using
cmd> java -Dfoo=bar MyMainClass
then you can get it in your application using System # getProperty (String key) as follows:
String foo = System.getProperty("foo"); System.out.println(foo);
In this case, the library you are using expects to find a system property called entityExpansionLimit when the "entity extensions" have exceeded 64,000, but it does not find it, i.e. System.getProperty("entityExpansionLimit") returns null .
To pass this argument, run the application by passing jvm that the system property
cmd> java -DentityExpansionLimit=100000 -cp <your-class-path> YourMainClass
source share