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?
Asked
Active
Viewed 677 times
0

OneCricketeer
- 179,855
- 19
- 132
- 245

Raghuveer
- 2,859
- 7
- 34
- 66
3 Answers
0
It may be because you are trying to run Kafka build on a different Java runtime version than it was compiled.

Sudhesh Rajan
- 367
- 1
- 7
0
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,

Daniccan
- 2,755
- 1
- 18
- 27
-
I have tried with even later versions of JAVA also no luck – Raghuveer Jun 19 '17 at 10:38
-
Could you share the version of JAVA used ? – Daniccan Jun 19 '17 at 12:11