You need to make sure that Java is installed and starting with Jenkins 2.54. Jenkins now requires Java 8.
Prerequisites to installing Jenkins
Get Hands-On Continuous Integration and Delivery now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.