Bug 53347 - <javac> fails by default on JDK 8
<javac> fails by default on JDK 8
Status: RESOLVED FIXED
Product: Ant
Classification: Unclassified
Component: Core tasks
1.8.3
PC Linux
: P2 major (vote)
: 1.9.0
Assigned To: Ant Notifications List
:
Depends on:
Blocks:
  Show dependency tree
 
Reported: 2012-06-01 19:11 UTC by Jesse Glick
Modified: 2012-06-01 19:19 UTC (History)
1 user (show)



Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jesse Glick 2012-06-01 19:11:24 UTC
Revision 1236803 (in 1.8.3) added some JDK 8 support. Unfortunately running <javac> by default fails with this error:

  Class not found: javac1.8

Workaround is to pass -Dbuild.compiler=javac1.7.
Comment 1 Jesse Glick 2012-06-01 19:19:13 UTC
Committed revision 1345316.