ThibautSF / ParadoxosModManagerRework

Software to manage mods for recent Paradox games, work in progress, Java 11
MIT License
64 stars 7 forks source link

Docs should include instructions regarding needed Java installation #29

Open TuxuHolyland opened 4 years ago

TuxuHolyland commented 4 years ago

Hi, I love the PMM and appreciate the work you've done here. I wanted to continue to use the new rework after Stellaris updated (currently 2.6.2) but have a huge problem, huge for me.

I'm not a coder, i don't use any JDK and it's all Chinese to me.

I have Java 8.something on my win7 PC and I've downloaded jdk-11.0.6_windows-x64_bin.exe from Oracle website, installed it and the launcher still doesn't work. I've declared the path in %JAVA_HOME%\Bin and JAVA_HOME has the installation folder line without the \bin defined.

Then I saw there's OpenJDK11U-jdk_x64_windows_hotspot_11.0.6_10.msi on https://adoptopenjdk.net/?variant=openjdk11&jvmVariant=hotspot and I'm clueless as to what goes where and what to use. Should I use that?

Some info in the docs would be nice to have and a link attached to the instructions would be glorious! :)

Keep up the good work!

ThibautSF commented 4 years ago

Be noticed that if you aren't a coder and just a final user since java 9 programmers have to package a java runtime and libraries with their program. Thus you shouldn't need to install Java SDK 11, which would be useful only if you plan to participate in the development or build the program yourself.

PMM should be downloaded in the release section: https://github.com/ThibautSF/ParadoxosModManagerRework/releases

There are two types of releases :

Then it's just a zip to extract and an executable to run (be noticed that the exe on windows builds is often flag as dangerous by antivirus -> it is safe to use it, but if you don't want you can still use the .bat file), for now, no need to install anything.

TuxuHolyland commented 4 years ago

So what you're telling me that ParadoxosModManagerRework should work on Java 8?

I was a coder in my past and i'm familiar with Github so i did downloaded 8.2 from ../releases/latest and have tried to use it.

The reason I was trying to download JDK 11.6 to begin with was that the PMMR didn't work on my FU Java.

It's like all of a sudden PMM stopped launching the native Stellaris launcher.

java -version tells me that my version is still "1.8.0_241" (Ver 8 Update 241 afaik) even though i've installed JDK 11.6 and have declared the path in %JAVA_HOME%\Bin and JAVA_HOME has the installation folder.

Feels like a mess...

Another thing - Should I remove JDK 11.6 and stay with version 1.8.0_241 or can both versions co-exist?

Thanks for taking the time to read and answer, I appreciate it.

ThibautSF commented 4 years ago

PMM since version 0.8.0 won't work with Java 8, it uses Java 11. But if you are just a user, you don't need to install Java 11 (JDK) since there isn't any JRE release of Java 9+, there is a JRE packaged with PMM and ready to use. No need to set your JAVA_HOME, PMM is executable and ready to use with exe/bat file for windows, shell script for Unix.

For coexisting JRE 8 and JDK 11 -> It might need some script to change easily from one version to another But as final user you might only need JRE 8 (since all java 11+ app should come with a packaged JRE)

TuxuHolyland commented 4 years ago

I See. PMM wouldn't launch Stellaris native launcher so my guess is that it's not an issue with Java.

How can I troubleshoot the reason why PMM won't start stellaris then?

Is there any possibility to create a relevant log on my end?

If there's one already then where may I find it? %Appdata%?

ThibautSF commented 4 years ago

Stellaris is launch only through Steam API, so is compatible only with steam. I have planned some feature to use non-steam versions. That's might be the reason Stellaris won't launch.