What can I download to fix this problem once and for all?
A different operating system than Windows XP.
The problem is that the Windows XP bindings of the network interface logic here:
Is throwing an instance of
java.lang.Error
rather than an exception. But as we see here, in the code for the JDK17:
https://openjdk.org/projects/jdk/17 released 2021-09-14 - openjdk/jdk17
github.com
Currently the JDK17 has this kind of bug that when they use the local network interfaces as a kind of hack to get "random" information, they try to ignore any possible errors since the actual network is not needed. But they do not account for
Error objects rather than
Exception objects, and so you get this problem
BUT ONLY ON WINDOWS XP probably.
If you must use Windows XP, then the solution is to use the source code of Retera Model Studio from here:
Retera's Java WC3 libraries. Contribute to Retera/ReterasModelStudio development by creating an account on GitHub.
github.com
The actual source code of Retera Model Studio does not include this bug that you are facing.
Rather, the problem is that I created the EXE download for Hive using a
Windows 10 or Windows 11 computer and the result is that the tool includes a preset version of Java -- the Eclipse Temurin JDK 17 -- packaged in a way that targets Windows 10 or Windows 11 computers. When you use a computer that is older than this, it may be the case that the provided JDK17 binding is no longer the correct one.
So even though
the code of Retera Model Studio does not need to change, in this case you want to
change which Java install you are launching with so that you do not use the provided stuff in the download here on Hive Workshop. Instead, use some Java install that is specific to your system -- such as a Windows XP compatible JDK17 for you.
I don't know if Windows XP compatible JDK17 builds exist. It is possible that they do not exist. I live in the United States in the year 2024, but Windows XP reached its end of life for updates and support on April 8, 2014. As such, Windows XP has been an unsupported system for 10 years, and I do not know anyone who uses it. Therefore, I cannot further help you if you are on Windows XP because I have no equivalent machine to test with.
I run Retera Model Studio on many Linux versions, and if you run the source code, it runs fine on most of them.
I do
Code:
git clone https://github.com/Retera/ReterasModelStudio
cd ReteraModelStudio
chmod +x gradlew
./gradlew run
And this is usually enough to download and run Retera Model Studio on any Linux computer where Java 17 is installed. Maybe you will need to
sudo apt install openjdk-17-jdk
first before running the other commands that I listed above. Because I can freely install Linux on any computer, and run Retera Model Studio on that computer in 5 commands, my incentive to support Windows XP is quite low. However, I do have a sense of nostalgia that perhaps the computers were better 10+ years ago and that Warcraft III on Windows XP was a pleasant experience. So, in the end, I suppose that I wish you well even though you may struggle to solve this problem.