r/javahelp • • 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

23 comments sorted by

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.

-3

u/tegar9000 Nov 23 '22

I’m trying to run a GitHub directory which is downloaded as a zip file

7

u/desrtfx Out of Coffee error - System halted Nov 23 '22

Which tells us again absolutely nothing.

If you want help you need to give us information. You need to be detailed and elaborate.

So far, you have just reiterated things without telling us anything that we could use as leverage to help you.

We do not know what GitHub repo. We do not see your computer. We do not understand what you mean "downloaded as zip file" as this is the default behavior for downloaded GitHub repositories.

Have you read the Readme.MD file that is displayed when you view the repository in your browser? Usually there you will find the instructions on how to use the program in the repository.

-6

u/tegar9000 Nov 23 '22

Lemme dm you the read me

3

u/tegar9000 Nov 23 '22

5

u/desrtfx Out of Coffee error - System halted Nov 23 '22

This is not as easy as just "clicking a file" - read the readme. It has very detailed installation and execution instructions.