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

anarres-jnaerator compilation failure #130

Open
varunagrawal opened this issue Mar 28, 2021 · 2 comments
Open

anarres-jnaerator compilation failure #130

varunagrawal opened this issue Mar 28, 2021 · 2 comments

Comments

@varunagrawal
Copy link

varunagrawal commented Mar 28, 2021

Hi, thanks for the great work on this project.

I clone the repo and run mvn clean install as specified in the README, but I get the following error:

[INFO] --- maven-compiler-plugin:3.2:compile (default-compile) @ anarres-jnaerator ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 29 source files to /home/varun/projects/JNAerator/JNAerator/anarres/target/classes
[INFO] -------------------------------------------------------------
[ERROR] COMPILATION ERROR : 
[INFO] -------------------------------------------------------------
[ERROR] Source option 5 is no longer supported. Use 6 or later.
[ERROR] Target option 1.5 is no longer supported. Use 1.6 or later.
[INFO] 2 errors 
[INFO] -------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO] 
[INFO] Anarres JCPP (with JNAerator modifications) 1.2.10-SNAPSHOT FAILURE [  0.836 s]
[INFO] JNAerator Parent Project 0.13-SNAPSHOT ............. SKIPPED
[INFO] OChafik's General Utilities 0.13-SNAPSHOT .......... SKIPPED
[INFO] OChafik's Swing Utilities 0.13-SNAPSHOT ............ SKIPPED
[INFO] JNAerator Runtime 0.13-SNAPSHOT .................... SKIPPED
[INFO] JNAerator Rococoa Runtime 0.13-SNAPSHOT ............ SKIPPED
[INFO] JNAerator Parser 0.13-SNAPSHOT ..................... SKIPPED
[INFO] JNAerator CLI and Studio Tools 0.13-SNAPSHOT ....... SKIPPED
[INFO] JNAerator Maven Plugin 0.13-SNAPSHOT ............... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  0.989 s
[INFO] Finished at: 2021-03-28T16:48:47-04:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.2:compile (default-compile) on project anarres-jnaerator: Compilation failure: Compilation failure: 
[ERROR] Source option 5 is no longer supported. Use 6 or later.
[ERROR] Target option 1.5 is no longer supported. Use 1.6 or later.
[ERROR] -> [Help 1]
[ERROR] 
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR] 
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException

Any help on this?

@cmhdave
Copy link

cmhdave commented Jun 24, 2021

Try setting your java version to Java 8

@abacef
Copy link

abacef commented Aug 15, 2021

This stack overflow answer helped me: https://stackoverflow.com/a/59475578

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

No branches or pull requests

3 participants