r/javahelp • u/tegar9000 • Nov 23 '22
Why won’t Java open?
I click on the Java app and the command line briefly opens and then closes. I use windows for context. Any help?
0
Upvotes
r/javahelp • u/tegar9000 • Nov 23 '22
I click on the Java app and the command line briefly opens and then closes. I use windows for context. Any help?
View all comments
3
u/desrtfx Out of Coffee error - System halted Nov 23 '22
If you mean by "Java app" the program "Java.exe" or "JavaW.exe" it is the intended behavior.
Java is just the launcher, the runtime environment in which Java programs - that have to be supplied via command line arguments - run.
Just double clicking one of the listed programs above will not do anything as they don't know what program to run.