When the application is first installed and setup (RUN_Setup), a property file is created in ADEMPIERE_HOME. When the client is first run, it looks for a property file in the user home directory. If none is found, the software uses default properties and saves a property file in the user home directory. The default are unlikely to work and the client connection fails.
For a new user, figuring this out is frustrating.