Java 8 build are failing... please help..

15 views
Skip to first unread message

Prasu S

unread,
Jul 27, 2016, 4:42:06 PM7/27/16
to Jenkins Users
We are planning to migrate to Jboss 6. . I installed JDK 1.8 on our test server . It now has both JDK 1.7 and JDK1.8 so that Jenkins jobs can use either JDK1.7 or JDK 1.8 . When I compile our code with JDK 1.8, I'm receiving this error:  C:/Jenkins/XYZ/workspace/build.xml :116 :Class not found:javac1.8. Please help. Thanks !!!




Mark Waite

unread,
Jul 27, 2016, 4:52:05 PM7/27/16
to Jenkins Users
http://stackoverflow.com/questions/23442621/ant-class-not-found-javac1-8 seems to hint that the Ant version you're using may not be compatible with Java 8.

Mark Waite

On Wed, Jul 27, 2016 at 2:42 PM Prasu S <s.p...@gmail.com> wrote:
We are planning to migrate to Jboss 6. . I installed JDK 1.8 on our test server . It now has both JDK 1.7 and JDK1.8 so that Jenkins jobs can use either JDK1.7 or JDK 1.8 . When I compile our code with JDK 1.8, I'm receiving this error:  C:/Jenkins/XYZ/workspace/build.xml :116 :Class not found:javac1.8. Please help. Thanks !!!




--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-use...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/72a576a7-0704-4495-a8a3-5f340d513bfc%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages