Newbie to Cassandra. I understand current versions of Cassandra do not support Java 11.
Can you run Cassandra using Java 8 and access the instance with a Java application built over and running on Java 11?
If so, how can it be done? Can you show a simple example?
I'm looking to build a POC on my laptop for an L&L.
Thanks in advance for any and all assistance.
Cassandra and the application connecting to it run on different JVMs, so their versions are independent. Since the app will use a driver, you need to find one that works on Java 11. Either just try it out or search the projects' documentation for supported Java versions.
Looks like DataStax' driver is build on 9 to 14, so I would give that one a try.
Related
First of all, I would like to say that I'm not a programmer and I am not experienced in the field. I was trying to set up a Minecraft server in the Google Compute Engine and I set it up successfuly. However, when I tried to switch it to a different version I could not open it because the server was running java 11. I removed it and tried a bunch of things to install Java 8 but I couldn't do it. Is there a way that i can reliably use to install java 8 to my server?
As you just pointed out, Debian 10's default and only officially supported java runtime is openjdk-11-jre.
Oracle provides their guide to download java on their website (https://java.com/en/download/help/linux_x64_install.html#download), which you can download, extract, and run.
I also found a nvidia-openjdk-8-jre package in the non-free repository of debian buster / bullseye. It exists for compatibility reasons and it's not recommendeded, but it might work.
I'm moving in to developing Web Apps using Java EE and the first problem I have is not knowing which Server to use! There seems to be so many to chose from!
Glassfish server seems to stand out foremost (and it's top of the list) but when I try to start Glassfish 4.1.2, I get the error GlassFish requires Java SE version 6. and I can't download Java SE 6 for MacOSX without joining the "Oracle Club".
So which Server should I use??
You're running JDK 8, as you should. You should not be downloading JDK 6. It's long past the end of its support life.
Looks like the latest is version 5. You can download it here.
It should be said that you don't need Java EE to write Java web apps. Another alternative is Spring Boot. You won't need an app server, just an executable JAR to be run on a JDK.
Are you on OSX? You can get a JDK1.6 download here: https://support.apple.com/kb/DL1572?locale=en_US
I would be very careful with JDK1.6, it's about as safe as seatbelts made from toilet paper.
I have an existing project that I want to use ElasticSearch in.
The core ElasticSearch requires Java 8, which isn't a problem since it will run in a different JBoss than the existing project we want to integrate with.
However, the ElasticSearch client will be integrated in the existing JBoss, which runs Java 7. Does anyone know the Java version requirement for the client? We are unable to upgrade this Java version due to other circumstances.
According to documentation you can use 8 or 7, however 8 is preferred.
I am using JDK 6, and my present database is MySQL 5.5.27.
As my data is in a tree structure I want to go for a graph database. I have a need for both in-memory and file system based datastore.
Is Neo4j compatible with Java 1.6? On their website and tutorial links, they have stated Java 7 as the requirement.
In the neo4j document it is written that:
Neo4j likes Java 1.6 JVMs and running in server mode so consider upgrading to that if you haven’t yet (or at least give the -server flag).
Details can be found here in neo4j docs.
So, this seems that it is compatible with jdk1.6.
According to the neo4j website as of now, the oldest downloadable version of the community edition is 1.9.9, and the documentation for 1.9.9 says that Oracle Java 7 is a prerequisite.
It may be possible to get older versions (e.g. a 2013 version) but you would be advised to contact Neo4j (the company) to find out a reliable place to get them.
Cucumber-JVM has dependencies on Java 1.6
My client's application runs on Java 1.5 and this can't be changed at the moment
Does anyone know a way to use Cucumber-JVM to exercise my client's application?
I also posted this question on the Cukes mailing list (https://groups.google.com/forum/#!topic/cukes) where I got a response from Aslak Hellesøy (CUcumber's creator):
Me:
Is there any reasonable way to use Cucumber-JVM, built under Java 1.6, to develop a Java application that must run on JRE 1.5?
Aslak Hellesøy:
Short answer: No.
Long answer: Try it and share the problems you experience, then we can talk about whether it's possible to work around them.