How do you start Lucee-express-6.1 on Windows?

Someone else seems to have a similar problem: Cannot Run Lucee 6.1 Express

In doing the following test, I discovered there is something else going on:

Edit the file lucee-express-6.1.0.243\startup.bat by replacing

"javaKey=HKLM\SOFTWARE\JavaSoft\Java Runtime Environment"
with
"javaKey=HKLM\SOFTWARE\JavaSoft\JDK"

and

if not defined javaDir (
echo Java directory not found
pause
) else (
SET JAVA_HOME=%javaDir%
)

with

if not defined javaDir (
echo Java directory not found
pause
) else (
SET JAVA_HOME=%javaDir%
echo Java directory found
echo %javaDir%
pause
)

On double-clicking /bin/startup.bat , I now get a CMD screen saying:

Java directory found
C:\Program Files\Java\jdk-17
Press any key to continue . . .

When I press [ENTER] to continue, Lucee still fails to start.