hola icon indicating copy to clipboard operation
hola copied to clipboard

0.2.3 seems to be Java 10 dependent

Open cobach opened this issue 6 years ago • 2 comments

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

cobach avatar Sep 11 '19 02:09 cobach

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

enchobelezirev avatar Feb 28 '20 21:02 enchobelezirev

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>

darmbrust avatar Apr 22 '20 02:04 darmbrust