New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[TIMOB-25799] Android: Cannot build titanium project with JDK 1.9 #9964
Conversation
Generated by 🚫 dangerJS |
@ewanharris , I tried building an android app with this fix but get error while compiling java source files:
Using java:
OS Ver: 10.13.2 |
Above error will be fixed with this ticket https://jira.appcelerator.org/browse/TIMOB-25913 |
FR Passed for OSX. JDK 9 & 10 is successfully detected & no dexer error seen. With JDK 9 & crittercism the build fails with an exception & will be fixed here: https://jira.appcelerator.org/browse/TIMOB-25913. With JDK 10 no build failure is seen. Studio Ver: 5.1.0 |
FR Passed for Windows. JDK 9 & 10 is successfully detected and builds. SDK Ver: 7.2.0 local build |
@cb1kenobi Can you do the CR? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
CR'd.
JIRA: https://jira.appcelerator.org/browse/TIMOB-25799
java.ext.dirs
usage which was removed in JDK 9, seeRemoved Extension Mechanism
on the migration guide. This is compatible with all JDK versions we support (1.8 and above)Notes
[appc] ti info -t jdk
to detect JDK 9 and above. That fix needs Titanium CLI 5.1.0, which is in Appc CLI 7.0.3-master.23Verification
[appc] ti config java.home <PATH>
I've ran through module building and iOS/Windows building also as they use Java in places, there were no issues seen there