Kray, Thank you for describing the environment and associated logs when trying to run NiFi 2.2.0 on Windows.
NiFi 2.0.0 and above require Java 21 as the minimum version, which is the reason for the UnsupportedClassVersionError shown with Java 17. As described in the project README [1] the default behavior of NiFi is to run with HTTPS enabled on port 8443, not plain HTTP and port 8080. Apache NiFi 2.3.0 was just released today, and it includes an important update to the nifi.cmd status and stop commands on Windows, so I recommend trying NiFi 2.3.0. Regards, David Handermann [1] https://github.com/apache/nifi?tab=readme-ov-file#accessing On Tue, Mar 11, 2025 at 9:53 AM Kray Seme <semek...@yahoo.com.invalid> wrote: > > > Dear Apache NiFi Developers, > > I am experiencing issues with getting Apache NiFi 2.2.0 to run on my Windows > 11 system. Despite following the installation steps, I am unable to access > the NiFi UI at http://localhost:8080/nifi. Below are the details of my setup > and the errors encountered. > > System Information: > > - OS: Windows 11 (64-bit) > - NiFi Version: 2.2.0 > - Java Version: > - Initially tried JDK 21 (Eclipse Adoptium jdk-21.0.6.7-hotspot) > - Switched to JDK 17 (jdk-17.0.14+7) > > - Installation Directory: C:\Users\E-TECH\Downloads\nifi\nifi-2.2.0 > > Steps Taken: > > - Downloaded and extracted NiFi 2.2.0. > - Set JAVA_HOME environment variable to point to JDK 17. > - Verified Java installation using java -version, which returned the > correct JDK version. > - Attempted to start NiFi using nifi.cmd start from > C:\Users\E-TECH\Downloads\nifi\nifi-2.2.0\bin. > - Checked NiFi status using nifi.cmd status, which showed that the > application process had stopped. > - Reviewed log files for errors. > > Errors Encountered: > > nifi-app.log: > 2025-03-10 13:20:54,164 ERROR [main] org.apache.nifi.web.server.JettyServer > Failed to start Server > > nifi-bootstrap.log: > Error: LinkageError occurred while loading main class > org.apache.nifi.bootstrap.BootstrapProcess > java.lang.UnsupportedClassVersionError: > org/apache/nifi/bootstrap/BootstrapProcess has been compiled by a more recent > version of the Java Runtime (class file version 65.0), this version of the > Java Runtime only recognizes class file versions up to 61.0 > > Command Line Output: > C:\Users\E-TECH\Downloads\nifi\nifi-2.2.0\bin> nifi.cmd start > JAVA_HOME=C:\Program Files\Eclipse Adoptium\jdk-21.0.6.7-hotspot > NIFI_HOME=C:\Users\E-TECH\Downloads\nifi\nifi-2.2.0 > > 2025-03-10 13:03:55,959 INFO [main] org.apache.nifi.bootstrap.Command > Application Process [13608] started > 2025-03-10 13:03:55,960 INFO [main] org.apache.nifi.bootstrap.Command > Bootstrap Process Running > > Troubleshooting Attempted: > > - Switched Java versions from JDK 21 to JDK 17, ensuring compatibility > with NiFi 2.2.0. > - Disabled the firewall temporarily to rule out port blocking. > - Checked for conflicting processes using netstat -ano | findstr :8080 to > confirm no other service was using the port. > - Tried running NiFi manually using nifi.cmd run instead of nifi.cmd start > to observe live logs. > - Looked for PID files inside the NiFi directory but did not find any (run > folder missing). > > Request for Assistance: > > - Why is NiFi failing to start despite having the correct Java version? > - Are there additional dependencies or configurations needed on Windows 11? > - Is there a known issue with NiFi 2.2.0 on Windows, or should I downgrade > to an earlier version? > > Any guidance or troubleshooting steps would be greatly appreciated. > > Thank you for your support! > > Best regards >