Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

Quality Assurance

Continuous Integration with Jenkins - Issues installing Jenkins

Getting this error. Do I need to uninstall java and go back to a previous version?

$ java -jar jenkins.war --httpPort=8085 May 28, 2021 11:07:13 AM Main verifyJavaVersion SEVERE: Running with Java class version 60 which is not in the list of supported versions: [52, 55]. Run with the --enable-future-java flag to enable such behavior. See https://jenkins.io/redirect/java-support/ java.lang.UnsupportedClassVersionError: 60.0 at Main.verifyJavaVersion(Main.java:174) at Main.main(Main.java:142)

Jenkins requires Java versions [8, 11] but you are running with Java 16 from C:\Program Files\Java\jdk-16.0.1 java.lang.UnsupportedClassVersionError: 60.0 at Main.verifyJavaVersion(Main.java:174) at Main.main(Main.java:142)

1 Answer

I could run Jenkins with

$ java -jar jenkins.war --httpPort=8085 --enable-future-java

But when i try to build a pipeline (next section of the course), the build fails, because of unsupported java version. So if you will find out the next step, please let me know.

Thanks, I'll see what happens when I try that