How to Verify Java Deployment Configuration is Working in Uninstalled JRE

0

I am deploying a Java application that uses a JRE included in the application directory. The JRE is not installed on the host machine, but only used to run my application. I have a custom "<JRE_DIR>/lib/deployment.config" file, specifying the path to a custom deployment.properties file. These files are described in the documentation for Java 8.

Is there any way I can verify that my deployment.config/deployment.properties files are being used by Java? If Java were installed, is there some way to do the same without using the Java Control Panel?

Jeff G

Posted 2017-07-27T19:38:05.977

Reputation: 228

This seems more like a Java programming question ... you should be able to check the path to the loaded deployment.properties file at runtime. – DavidPostill – 2017-07-27T20:08:10.057

@DavidPostill I copied a slightly modified version of this question to StackOverflow. I'll wait to delete this until I verify the StackOverflow users don't tell me this question is better suited here on SuperUser. Unfortunately, the best forum to host this question is somewhat dependent on the answer.

– Jeff G – 2017-07-27T20:28:44.390

No answers