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

0.2.3 seems to be Java 10 dependent #11

Open
cobach opened this issue Sep 11, 2019 · 2 comments
Open

0.2.3 seems to be Java 10 dependent #11

cobach opened this issue Sep 11, 2019 · 2 comments

Comments

@cobach
Copy link

cobach commented Sep 11, 2019

Hi,

I tried to integrate 0.2.3 with my Java 8 project and got this error:

error: cannot access Domain
bad class file: /Users/cesar/.gradle/caches/modules-2/files-2.1/net.straylightlabs/hola/0.2.3/469845a2252068c45c82f2ab520b40e1fdb4de69/hola-0.2.3.jar(net/straylightlabs/hola/dns/Domain.class)
class file has wrong version 54.0, should be 52.0

It seems that it was compiled with Java 10, forcing the dependency to Java 10.

cheers
César

@enchobelezirev
Copy link

I have the same error, could you please re-compile it in order to have java 8+ version?

@darmbrust
Copy link

This release on my fork should have been built with the jdk8 flags set properly.

https://github.com/Sagebits/hola/releases/tag/v0.2.4-sagebits

also published to maven central as

<dependency>
	<groupId>net.sagebits</groupId>
	<artifactId>hola</artifactId>
	<version>0.2.4-sagebits</version>
</dependency>

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