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

compilation error #1

Closed
geopamplona opened this issue Mar 22, 2018 · 0 comments
Closed

compilation error #1

geopamplona opened this issue Mar 22, 2018 · 0 comments

Comments

@geopamplona
Copy link

geopamplona commented Mar 22, 2018

Hello,
I'm trying to compile the project and I get the following error.
I think it could be the java version that I use to compile

What version should be used to compile the project? 1.7? 1.8?

could you distribute a new release with the compiled connector?

Thank you !

[ERROR] COMPILATION ERROR :
[INFO] -------------------------------------------------------------
[ERROR] Failure executing javac, but could not parse the error:
javac: invalid target release: 1.8
Usage: javac <options> <source files>
use -help for a list of possible options

[INFO] 1 error
[INFO] -------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1.370 s
[INFO] Finished at: 2018-03-22T12:30:15+01:00
[INFO] Final Memory: 10M/229M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.5.1:compile (default-compile) on project kafka-connect-rest: Compilation failure
[ERROR] Failure executing javac, but could not parse the error:
[ERROR] javac: invalid target release: 1.8
[ERROR] Usage: javac <options> <source files>
[ERROR] use -help for a list of possible options

edit:

finally I have been able to compile correctly configuring java_home to java 1.8
It would be nice to define it in the documentation

llofberg pushed a commit that referenced this issue Aug 15, 2018
Merge pull request #10 from kathleentully/master
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

1 participant