jedis client JAR 3.9.0 compatible with Java 11? - jedis

We are trying to upgrade jedis jar version from current 2.10.2 to 3.9.0.
But our requirement is it should be compatible with java-11 minimum.
I could not find this specific info.
Can anyone help where i can get this info for jedis v3.9.0 or later if compatible with java-11 ?

Jedis 3.9.0 is built on Java 8. So, yes, it is compatible with Java 11.

Related

Issue with Gradle 6.8.3 in STS 4.6 - Tooling API version older than 3.0 was removed in Gradle 5.0

I'm using STS 4.6 and getting below error while using Gradle 6.8.3. I was able to build project using Gradle 4.10 but for JDK 11 I had to upgrade Gradle version. Please assist how to resolve this
Support for clients using a tooling API version older than 3.0 was removed in Gradle 5.0. You are currently using tooling API version 2.2.1. You should upgrade your tooling API client to version 3.0 or later.
I solved this by uninstalling 'Gradle IDE' plugin provided by Pivotal and installing 'Eclipse Buildship plugin for Gradle' - Refer this

Munit 2.2.1 not working in Mule runtime 4.3.0

I upgraded mule runtime from 4.2.2 to 4.3.0
I installed mule 4.3.0 in anypoint studio 7.4.2 and changed mule-artifact.json to 4.3.0 and in pom file i changed some connector to latest version and mule maven plugin to 3.5.1
Code is getting deployed successfully but munit is failing
Could you please suggest a solution
MUnits will not work the same way in runtime 4.3.0 unless you upgrade Munit dependent artifacts in your project's pom.xml file
The following artifacts need to be updated to latest versions
<artifactId>munit-tools</artifactId> to say 2.3.1
<artifactId>munit-runner</artifactId> to say 2.3.1
<munit.version> to minimum 2.2.1
Also make sure you are using the correct version of the APIKit Router.
Few other observations we noticed when migrating to 4.3 was in some places String "true" was equal to boolean true in runtime 4.2.0 but not same in 4.3.
Please share your final resolution.
Regards
Mahesh Raja Vandyala

which version of sonarqube gradle plugin compatible with jdk 7?

I am trying to integrate sonarqube gradle plugin with jdk7 but build is failing due to version mismatch.
Gralde version 4.3
JDK 1.7
Sonarqube-gradle plugin ??
2.0.1 was the last version to support Java 7
https://github.com/SonarSource/sonar-scanner-gradle/releases/tag/2.0.1
https://github.com/SonarSource/sonar-scanner-gradle/blob/2.0.1/build.gradle#L24..L25

supported java versions for quarkus running on hotspot

I read the docs from quarkus and it is said that the following jdk versions are supported:
JDK 8 or 11+ installed with JAVA_HOME configured appropriately
Actually, I have JDK 12 installed. Can I use the following?:
<maven.compiler.release>1.11</maven.compiler.release>
maven.compiler.release is the same as:
<maven.compiler.source>1.11</maven.compiler.source>
<maven.compiler.target>1.11</maven.compiler.target>
EDIT:
Quarkus works with:
<maven.compiler.source>1.12</maven.compiler.source
<maven.compiler.target>1.12</maven.compiler.target>
or
<-- Note: 12 instead of 1.12 -->
<maven.compiler.release>12</maven.compiler.release>
Update: starting with Quarkus 2.x, the minimal requirement is JDK 11+. JDK 17 is supported too.
JDKs newer than 17 should work but are not actively tested.
====
On Linux and MacOS, you can use JDK 8 to 13.
On Windows, you can use JDK 8 to 12 as we are affected by a JDK bug: see https://github.com/quarkusio/quarkus/issues/5359 .
You can compile to something specific to your version if you are only planning to use the said JVM.
As for why our examples are all using JDK 8: they are built to also support native images via GraalVM and until very recently GraalVM only supported JDK 8. GraalVM 19.3.0 just added support for JDK 11 as a preview (and we are working on it).
You can use Quarkus with Java 12. There are plenty of ways to configure Maven to use that version, see this for example.

install kafka on windows - UnsupportedClassVersionError

Trying a POC, followed as suggest at https://dzone.com/articles/running-apache-kafka-on-windows-os also a reference is there Is there an easy way to install Kafka on Windows?. I was able to run zookeeper 3.4.9 but not kafka 2.11-0.10.2.0, when i try to start i see
Exception in thread "main" java.lang.UnsupportedClassVersionError: JVMCFRE003 bad major version; class=kafka/Kafka, offset=6 i have IBM JDK 1.7.0 installed on windows 7 64-bit version. Any suggestions please to resolve this issue?
It may be because you are trying to run Kafka build on a different Java runtime version than it was compiled.
For Kafka 0.10.2.0, you will have to upgrade your java version to JDK 1.8 or if you want to stay in JDK 1.7, make sure you are on u51 or newer.
For further reference on above, check the following link,
https://kafka.apache.org/documentation/#java
Update your jdk 1.7 to jdk 1.8

Resources