- You can turn up the debugging level of Java output by editing jre/lib/logging.properties.
- Java doesn't always allow you to override java.policy settings with a command-line argument, it allows you to supplement them (with the java.security.policy parameter), but this may not even be possible, depending on the settings in java.security. It is unclear what "supplementing" means when the default java.policy conflicts with one specified on the command line. It's much better to only use one policy file, and make sure you only have one copy of this file on the system.
- When specifying configuration files to the JVM (like a java.security.policy file), you must use a URL. Simply using a filename can cause the file to be ignored.
- If java cannot find the java.policy file in a place it expects, it will use an (internally hardcoded) equivalent of the default policy file (without telling you).
Common Java Errors
Could not create the Java virtual machine - Most often, there is something syntactically wrong with the arguments you are passing to the JVM.