-
Notifications
You must be signed in to change notification settings - Fork 68
jnigen
doesn't generate using JDK version 19.
#683
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
Comments
We want to get a gradle log here. Maybe we should write stdout and stderr of commands to a temporary log file on failure. |
@HosseinYousefi @mahesh-hegde , I use JDK-19 , and it works , are you sure it doesn't work on your device.? If you use JDK-19 remove the java folder from the Program Files - for Windows and reinstall the JDK again, so you can compile any java file , and run with java command without .java extension file to be put . e.g. : |
We all know how to install java. We are not in stone age to manually add remove folders in windows, we use package managers. The issue is related to gradle. |
😂 , what is the problem of gradle - is the issue related to performance not generation file because while generation process with me it works . |
But mahesh , when I tried using delete and reinstall the java worked to be honest , i found the same issue and I found on Google search engine these small issues, the only solution I found is this. And it worked , sometime Java folder at Program Files doesnt remove the old cached folders when someome upgrades the version , the test was on Windows. |
Do you mean the gradle examples worked? |
Fortunately it worked, I may assist you into that maybe through meeting |
Good to hear. However the person in linked issue had a problem. It would be good to find out what it was. I and Hossein are working on different issues, so haven't got the time to check this yet. |
The point is gradle version which supports JDK 19 is 7.6.0+, so maybe Android Studio he has it doesnt support , so he should either change distributionUrl to 7.6 gradle and synchronize it using Sync Now or Find Android Studio Flamingo , i think they added maximum JDK 19 support default while searching on Medium articles. Also, Project Settings on Android Studio allows you to install Gradle 7.6 without distributionUrl itself . |
_Originally posted by @blackgerman in #682
The text was updated successfully, but these errors were encountered: