-
Similar Content
-
- 1 reply
- 763 views
-
- 2 replies
- 1117 views
-
I have Minecraft installed, I have a Microsoft account attached to it from when Microsoft migrated Mojang accounts to Microsoft accounts, yet I'm getting the "you haven't purchased Minecraft Java Edition" error
By TheJacobSurgenor,
- microsoft
- technic laucher
- (and 3 more)
- 2 answers
- 3770 views
-
- 0 replies
- 1451 views
-
I have Trouble Connecting to my microsoft account with technic launcher and need help ...
By aymannnnn,
- 0 replies
- 7147 views
-
Question
Nyuno
Hello,
I've downloaded the latest TechnicLauncher.exe. I've got Java 1.8 installed:
Nonetheless, when I try to run the TechnicLauncher I'm presented with the following message:
Clearly, 0_202 is somewhat inbetween 0 and 999.
Worth mentioning - I've installed Java manually, as I often need to switch between version 8 and 19. All I need to do is to set %JAVA_HOME% system variable.
Now what does TechnicLauncher really checks to verify the Java version, as simply typing java -version in the command prompt returns the very valid version per TechnicLauncher's requirements?
I was trying to find any code on the GitHub, but I'm assuming it is not publicly available, as the only thing I could find is the documentation and language packs. I'm eager to branch the code and make the appropriate adjustments myself, as I cannot believe checking anything other than Java version residing in the %PATH% variable is the right way to validate the "installed Java version".
By looking at the .exe file bytes, I think I know the answer: it's checking for the registry entries, isn't it? Why? Why not parse the java -version output? So much more reliable... or at least add that step if the registry entries weren't found...
If there is no way to let me see the repository so I can create a pull request, can anyone tell me what registry keys I need to set in order for the launcher to figure out the Java version so it can run?
Edited by Nyunotags
5 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.