Java is broken

MobyX521

Commendable
May 5, 2016
49
0
1,530
Back in February, when I first installed all of the programs that I'd need, some type of error with Java occurred and since then I cant use it at all to open .jar files.

I'm trying to open a mine craft server .jar but absolutely nothing happens when i click on it. An hour-glass symbol sometimes pops up for less than half a second, then nothing. I really need help.

And yes, I've reinstalled java multiple times and have re-downloaded the minecraft server. This issue exists beyond just the minecraft server file as well, I've had this issue with any .jar i try opening with Java tm se binary.
 
Solution
Open a command prompt and change dirs to where java.exe is located and type:

java -jar "path to file and .jar file"

for example:
cd \program files\java
java -jar "c:\users\myname\desktop\minecraft.jar"


and maybe it will show you an error message that you can lookup.
Open a command prompt and change dirs to where java.exe is located and type:

java -jar "path to file and .jar file"

for example:
cd \program files\java
java -jar "c:\users\myname\desktop\minecraft.jar"


and maybe it will show you an error message that you can lookup.
 
Solution