This is how I made his java openxcom experience meter work in windows! Steps 3 & 4 might not be needed, but I recall I had to do these:
1. Copied the 234 lines from his pastebin link into notepad. Can save it as any file, just change the extension to "all files" and add the .java at the end. In my case I called this file exp.java
2. Right click the java file you just saved, and click edit. This opens up notepad so you can edit this again later if needed. On line 6, it says "D:\\Games\\Open X-COM 2021 FMP 2.8e\\user\\xcom1\\TACTICAL-0.sav" in his example, you must change this to point to your openxcom location. You can have it point to a network location on your home network by mapping a drive in windows easily. My favorite saved game to monitor is _quick_.asav as I hit my quicksave binding key often & have autosave turned off ingame. Remember, your saved files are located in OpenXCom\user\xcom1
3. Download java development kit from oracle & install: (can't post links here I guess, it's easy to find on google.)
4. Open up command prompt, go to the folder where your exp file you made in step one, in my case I had named it exp.java. Now type in: javac exp.java
5. Open up command prompt, go to the folder where your exp file you made in step one, in my case I had named it exp.java. Now type in: java exp.java
(optional) To autorefresh, I opened up notepad and pasted in this bit at the end and saved this file as exp.bat putting this in the same folder as the java file. When you run this, it will automatically refresh your teams experience hit counters every 10 seconds! You can change the 10 to however many seconds you wish this to refresh:
:start
java exp.java
timeout 10
goto start
The End Result for myself:
Everytime I click my quicksave hotkey, whenever I see my command prompt auto refresh it shows my entire teams bravery, reactions, hits, throws, psk, pst and melee actions! Having this run on a spare laptop, or better yet having a cheap tablet screen share this box lets me see the team's status separately so my game can run fullscreen. This allows me to make sure everyone gets one hit, be efficient in helping that one or two guys who really need the help hitting better or getting brave!
In the classic original x-com dos game, I did a similar monitoring but with the program HxD with the dat file, but it was hard to view & get the names of the soldiers but it did update in realtime. I dislike not knowing who hit too many times or not enough (or not at all!).