install kafka on windows - UnsupportedClassVersionError - windows

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

Related

jedis client JAR 3.9.0 compatible with Java 11?

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.

Unable to start derby network server

I am in the derby bin folder. Executed the . setNetworkServerCP command. Now when I try to use command startNetworkServer it shows command not found.
I also tried to execute the java command as follows:
java -jar lib/derbynet.jar start
However, I am getting this error:
Error: A JNI error has occurred, please check your installation and try again
Exception in thread "main" java.lang.UnsupportedClassVersionError:
org/apache/derby/drda/NetworkServerControl has been compiled by a
more recent version of the Java Runtime (class file version 53.0),
this version of the Java Runtime only recognizes class file versions up to 52.0
Please help me. I am using Ubuntu 16.04
Derby version 10.15 supports Java version 9 and higher.
Derby version 10.14 supports Java version 8.
Since java version 9 is classfile version 53, it seems that you are trying to run Derby 10.15 using Java version 8.
So either switch to Derby 10.14, or move to Java 9+.

Spring STS Install issue Version 1.6.0_67 of JVM not suitable

I have problem launching STS application. I have downloaded Win 64 bit that matches my system and I have jdk 1.8 installed. That is the only version I have.
I am getting the following error when I launch STS
"version 1.7.0_67 of the JVM is not suitable for this product. Version:1.8 or greater is required"
The only reason why your STS is not working is either because you don't have JAVA properly installed or because your STS version(32bit/64bit) is not compatible with your windows.
Make sure both of these things are fixed.

Problems installing the heroku eclipse plugin

I get this error
Cannot complete the install because one or more required items could not be found. Software being installed: Heroku Eclipse Plugin 1.0.0 (com.heroku.eclipse.feature.feature.group 1.0.0) Missing requirement: Heroku Eclipse Plugin 1.0.0 (com.heroku.eclipse.feature.feature.group 1.0.0) requires 'org.eclipse.m2e.feature.feature.group 1.0.100' but it could not be found
I have eclipse Juno.
Let me know if I can support you with any other info to help resolve this issue.
I have Ubuntu 12.04LTS
I got this same error message. Disabling my McAfee and then restarting fixed the problem for me. I'm thinking it was a firewall issue.
I had the similar problem. Please check your eclipse version. Heroku says it needs,
Eclipse v 3.7 or higher (Java or Java EE edition)
The following version works for me, Indigo (v 3.7)
This (org.eclipse.m2e.feature.feature.group 1.0.100) is referring to a plugin that is missing - the Maven Integration for Eclipse. Search the Eclipse Marketplace for that plugin. Once it's installed, try installing the Heroku plugin again. This worked for me on Indigo. It's weird that this isn't listed as a requirement.

Cannot start JBoss 7.0.2 on Windows

I have a problem starting JBoss version 7.0.2 on Windows 7. I got this error also with Jboss 7.1.1 and 7.1.0 so I thought reverting to an older and more stable version would do the trick, but with no use.
Below is the problem - the LogManager was not properly installed.
I have not deployed anything that might use the logger or anything, I just run standalone.bat after a clean install and restart. I found this issue but it seems to be resolved...
The funny thing is, I was able to start it from Eclipse (both Indigo and Juno EE version).
Any clue?
Thanks
The problem was the JMX parameters in the JAVA_OPTS. After I removed them, it started with no exceptions.

Resources