I am trying the installation of AsterixDB and see that Java version 8 is not compatible on starting the cluster.
Although in the documentation I see that this version should work.
https://asterixdb.apache.org/docs/0.9.2/install.html
If your version is at least 1.8.0_x, similar to the output shown below, you are good to proceed.
My version is 1.8.0_311.
You are referring to the documentation for an old version, but if you are installing the latest version of AsterixDB (0.9.7.1), please try Java 11 or more.
You need to use Oracle 1.8.0_60.
Related
Appreciate if somebody could provide expert opinion on what is the most recommended Jedis version for Java 1.6. Thanks in advance,
Looking at the Git history, Jedis updated to Java 1.7 on 04.07.2016 https://github.com/redis/jedis/pull/1334
The latest release before this date would be version 2.8.1 from 14.03.2016 https://mvnrepository.com/artifact/redis.clients/jedis/2.8.1
Assuming there would be no changes of the required JDK within a patch version you could also use version 2.8.2 from 22.07.2016 https://mvnrepository.com/artifact/redis.clients/jedis/2.8.2
But to be honest, try everything to update your JDK 6 to to current LTS JDK 17. It will be much easier to update ANY dependency you have to fix security vulnerabilities, which I am almost sure you have, when you are bound to JDK 6 dependencies, which tend to not receive any updates since a looong time.
I've been trying for a while now to get JDeveloper to use the latest JDK (17.0.1). I've searched around and the answers I've found have all said to change "SetJavaHome" in either jdev.conf or product.conf. I've tried both and both times when I tried to run JDeveloper it gave me a popup saying:
"You are attempting to run with Java 17.0.1
Running this product is supported with a minimum Java version of 1.8 and a maximum version less than 1.9.
Update SetJavaHome in
C:\Users\sudoc\AppData\Roaming\JDeveloper\12.2.1.4.0\product.conf to point to another Java.
This product will not be supported, and may not run correctly if you proceed.
Continue anyway?"
Since 1.8 is so far below 17, I feel like I might be trying to change the wrong thing. Any ideas? I'm running windows 11 and I just installed JDeveloper yesterday, so it should be the latest version.
Is there any compelling reason that you need to use JDeveloper? Otherwise, there are other options such as IntelliJ IDEA (community version) which is great for Java.
JDK 1.8 has passed a test of time and its very common to use that but jdk 17 is latest version and this version has not passed test of time so its better to use 1.8 or maybe jdk 11 is good too.
At the moment we work with SonarQube 6.6. The reason is that something did not work correct with newer versions of SonarQube and they did not want to investigate this.
But it turns out that SonarQube 6.6 only partly works with Java 11. It seems to work, until you want to login. To login in SonarQube you need to use Java 8.
The latest version of SonarQube is 7.4. Would this version of SonarQube work with Java 11? Then maybe we should upgrade and fix the problems.
In the SonarCube 7.4. documentation, they clearly state that Java 8 is required to run SonarCube 7.4.
See also:
Java Runtime Engine support for SonarQube 7.x
which mentions that one roadblock has been a version of ElasticSearch for Java 11. Another issue seems to be that they were not keen to put effort into supporting Java 9 and 10, given that they were only going to be supported for 6 months each.
Actually i did not faced this problem now.But have a doubt.
I compiled my code using java 1.6 and i deployed that in tomcat server ,in that java is configured of version 1.6.Then i changed the java version to 1.7 or to some other latest version.
Then is there any problem with .class files which are created using 1.6 compiler.
If any problems happen.How i can overcome those problems?
Thanks in advance..
Most probably No.
But Yes in some cases,Tomcat may counter the issues about Incompatibilities between JDK 7 and JDK 6
http://www.oracle.com/technetwork/java/javase/compatibility-417013.html#jdk7
This may be helpful for you :
http://www.tomcatexpert.com/blog/2013/01/31/java-6-end-life-impact-apache-tomcat-users
I have to use Java 5 in the my client's environment. And I have problems finding a JGroups version that still runs on Java5. I have found that 2.6.15.GA compiles and runs on Java 5, but it is quite old. 2.12.2.Final does not even compile on Java5 due to usage of new API. But there are several versions in between. Does any of you know since what time JGroups switched to Java 6?
I've downloaded JGroups 2.8.1 GA uploaded 2010-04-30 and it contained class-files compiled with Java 6 (50.0). Not sure how come Andrey was able to use that version?
So the latest version I could find was JGroups 2.8.0 GA uploaded 2009-12-21.
Hope this help someone that, like me, is stuck with an old environment running Java 5.
Just reposting #eee comment, because its valid answer:
JGroups 2.5 requires JDK 1.5 or higher. Version 2.9 requires JDK 1.6
or higher. jgroups.org/manual/html_single/index.html#d0e244