I have installed a folder jdk-23.0.1 on Windows 10 and added c:\jdk-23.0.1\bin to the "path" environment variable. I have set various items to "Run as Administrator" to clear those hurdles.
I believe I have got as far as being able to run Java from the command line but am not sure as the console closes about 0.1 seconds after opening. There are many recipes on line for this but I have not found one that did not evoke a shower of error messages. I have tried to compile a "Hello world" program and run it but again cannot see the output if any. I have tried many guesses and online recipes but Java seems impregnable. Is there anything online for beginners? Searches have not revealed anything I can understand or that was correct.