Open varunagrawal opened 3 years ago
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:
mvn clean install
[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?
Try setting your java version to Java 8
This stack overflow answer helped me: https://stackoverflow.com/a/59475578
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:Any help on this?