Unable to create system preferences directory


The Apache Tomcat server log returns the following error on start-up:

Could not create system preferences directory. System preferences are unusable



This error occurs if the server is started using a user or service account that does not have the appropriate write permissions on the .systemPrefs directory.


1. Locate the Java system preferences location. The directory is typically found at the following locations: /etc/.java/ or /jre/. It may also have been specified using the following Java command-line argument: 

2. Check the user/service account the Tomcat server runs as and set the appropriate write permissions on the preferences directory (e.g.: chmod 700 /jre/).

Last updated over 2 years ago