1

I have installed JRE on a 32-bit Windows machine and trying to run Zookeeper. It shows following error:

Error: missing `server' JVM at `C:\Program Files\Java\jre1.8.0_181\bin\server\jvm.dll'.
Please install or use the JRE or JDK that contains these missing components.

Versions used:

KAFAKA/Zookeeper: kafka_2.11-1.1.0

JRE: jre1.8.0_181

I tried to use server folder from 64-bit machine but obviously it doesn't work.

Any help will be appreciated.

BabyDuck
  • 1,249
  • 1
  • 9
  • 22
  • You have `Program Files (x86)`, which implies that you have a 64bit machine, so why do you need 32bit Java? Kafka doesn't have good Windows support anyway – OneCricketeer Sep 06 '18 at 12:42
  • Ohh, that folder is just because I cloned 64 machine to 32 bit. Anyways editing the question, please ignore. – BabyDuck Sep 07 '18 at 10:37
  • I think you'll be having more than just Java issues if you clone one CPU architecture into another machine – OneCricketeer Sep 07 '18 at 13:43

1 Answers1

1

You need a server JRE, which you can acquire and install from Oracle: http://www.oracle.com/technetwork/java/javase/downloads/server-jre8-downloads-2133154.html

You can however hack around this (dirty, don't do this if you have no need to do so): In your C:\Program files (x86)\java\jre1.8.0_181\bin

Here create a new folder "Server"

Copy everything from the C:\Program files (x86)\java\jre1.8.0_181\bin\client folder into the new Server folder.

fl0w
  • 3,593
  • 30
  • 34
  • Thanks @fl0w, but when I checked this link, there is no 32-version for Windows available to download. – BabyDuck Sep 06 '18 at 07:26
  • 1
    That's because Oracle does not offer 32 bit server jres (for a good reason), why don't you just use the 64 bit version? – fl0w Sep 06 '18 at 07:37
  • That's because I am developing an on-premise solution and want to support both 32/64-bit OS customers. – BabyDuck Sep 06 '18 at 08:06
  • 1
    @Baby What do you mean "customers"? Are you installing Kafka on Windows for people? If so, and you're installing from scratch, why Windows? – OneCricketeer Sep 06 '18 at 12:44
  • @cricket_007 I am installing Kafka on Windows for people and requirement is to install it on Windows. – BabyDuck Feb 15 '19 at 06:04
  • 1
    @BabyDuck Alright, well, until Kafka gets proper testing support frameworks for Windows, good luck with running that in production, that is all – OneCricketeer Feb 15 '19 at 17:25