So...
When i want to open java executable file by double clicking it, system wants me to select program to open. Before It wasn't like this. it just opened...
when that window pops up, first thing is:
"C:\Program Files\Java\jre1.8.0_92/bin/javaw.exe" -jar "%1" %*
Selecting it nothing changes. I was trying to open it with .bat file and cmd, but it showed me error:
The System cannot find the file C:\ProgramData\Oracle\Java\javapath\java.exe
i tried MANY different ways to do it, but nothing works :(
Also, I can write programs in Eclipse without any problems. I am sure, that java files are "Executable jar files".