Skip to content
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

README #32

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

README #32

wants to merge 1 commit into from

Conversation

akhst7
Copy link

@akhst7 akhst7 commented May 3, 2022

Ant build failed with a following error;

[javac] error: Source option 5 is no longer supported. Use 7 or later.
[javac] error: Target option 5 is no longer supported. Use 7 or later.

My java set up is as follows;

java --version                                                             
openjdk 18.0.1.1 2022-04-22
OpenJDK Runtime Environment (build 18.0.1.1+2-6)
OpenJDK 64-Bit Server VM (build 18.0.1.1+2-6, mixed mode, sharing)

This is due to the a line in build.xml ;

<javac srcdir="${src}" destdir="${dist_build}" debug="true" source="1.5" target="1.5" includeantruntime="false">

For my case, all I have to do was to change "1.5" to "18";

<javac srcdir="${src}" destdir="${dist_build}" debug="true" source="18" target="18" includeantruntime="false">

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants