Question: I downloaded a file for a game that requires Java to run.  

When I downloaded the file it saved as a WinRAR file. So I right clicked the file and pressed open with Java Platform SE Binary (As that was the only Java add-on that came up). Then an Error Message came up which says:

> 
> Java Installation Not Completed.  
> 
>  Unable to install Java.  
> 
>  There are errors in the following switches:  
> 
>  ("C:\Users\MyName\Desktop\The file name for The Game(2).jar").  
> 
>  Check that the commands are valid and try again.
> 
> 
> 

But I have already Installed Java as well.

Has anyone got a fix they could recommend?

Answer: 
One of your files is corrupted. Simply download Jarfix and run it.

The Breakdown has an easy and helpful website to using Jarfix. Simply follow the instructions and download it in the link below:

<https://thebreakdown.xyz/jarfix-to-repair-jar-files-on-your-pc/>
go try to open it via cmd by following:

press Win + "R" and type in "cmd" and press Enter

Then you type in the following:

```
java -jar C:\Users\MyName\Desktop\The file name for The Game(2).jar

```

if that dont work try to give more information (the full error, where do you get the error? As a Messagebox? Or as terminal output?)