Check that resource path is set before starting

Check that J2SE app has resource path set before starting.