3

I can't run keycloak server, when I try to run kc.bat in windows powershell or cmd with

.\kc.bat

I get the error

Error: Could not find or load main class io.quarkus.bootstrap.runner.QuarkusEntryPoint
Caused by: java.lang.ClassNotFoundException: io.quarkus.bootstrap.runner.QuarkusEntryPoint

I installed quarkus but it doesn't work even tho I installed it

huga721
  • 101
  • 1
  • 8

1 Answers1

5

There is an open bug related to this issue.

You have to edit kc.bat line 127 replace : with ;

Jishnu Prathap
  • 1,955
  • 2
  • 21
  • 37
  • 1
    set "CLASSPATH_OPTS=%DIRNAME%..\lib\quarkus-run.jar;%DIRNAME%..\lib\bootstrap\*" - this is right row. – Falchio Nov 08 '22 at 10:59
  • Can also mean that the `lib` folder is missing , or not present in correct path `..\\` (i.e., one level above - parallel to the bin folder) – Arutsudar Arut Mar 29 '23 at 14:03