Static method detectCorePath() must be added to ApplicationEntryPoint