Kron4ek / minecraft-vortex-launcher

Fast, lightweight and easy to use Minecraft launcher
GNU General Public License v3.0
310 stars 32 forks source link

Incorrect default Java path on Windows #11

Closed La1eon closed 5 years ago

La1eon commented 5 years ago

When you look at the javaBinaryPathDefault variable, you can see that its initial state on Windows is C:\jre8\bin\javaw.exe, while the real default Java 8 path on Windows is C:\Program Files\Java\jre1.8.0_<e.g._221_for_Java_8u221>\bin\<chosen_Java_binary>.

If it is done on purpose, because e.g. you have Java in such path, feel free to close this issue. But if not, it would be nice if you could change the initial state of the variable to the real default path.

Kron4ek commented 5 years ago

This variable is only used when "Use custom Java" option is enabled, and the default value is just an example.