Hello, Ludovic. What happens if you run? C:\Program Files\solr-9.1.1\solr>java -jar server\start.jar
Also, some time ago a parent directory with space character in it was a challenge. Can you try to move \solr-9.1.1 into c:\ ? On Mon, Feb 27, 2023 at 7:52 AM Ludovic Bocken <[email protected]> wrote: > Hello, > > I am trying to install and start Solr on Windows11. > > Following https://solr.apache.org/guide/6_6/running-solr.html, I tried > this > in the CMD prompt : > C:\Program Files\solr-9.1.1\solr\bin>solr.cmd start > > I received this error: > > Java 19 detected. Enabled workaround for SOLR-16463 > Error: Unable to access jarfile start.jar > Error: Could not find or load main class org.apache.solr.util.SolrCLI > Caused by: java.lang.ClassNotFoundException: org.apache.solr.util.SolrCLI > > My Java version is the following: > C:\Program Files\solr-9.1.1\solr\bin>java -version > java version "19.0.2" 2023-01-17 > Java(TM) SE Runtime Environment (build 19.0.2+7-44) > Java HotSpot(TM) 64-Bit Server VM (build 19.0.2+7-44, mixed mode, sharing) > > I added the path : 'C:\Program Files\Java\jdk-19' as Environment Variable > for the user and the system with the name 'JAVA_HOME' and the name 'Path'. > > I have absolutely no idea how to debug this kind of error! :( Thank you > very much for your help! > > Ludovic > -- Sincerely yours Mikhail Khludnev https://t.me/MUST_SEARCH A caveat: Cyrillic!
