GTA
All Springer/NP/PCP Air Gun Discussion General => Air Gun Gate => Topic started by: wahoowad on March 11, 2017, 01:18:45 PM
-
I wanted to validate some older range cards I made so downloaded the latest version of Chairgun to my new PC. It is running Windows 10 and I notice the Hawke website doesn't list Windows 10 as supported (uh oh?).
So I run it, and get the following error "No JVM could be found on your system. Please define EXE4J_JAVA_HOME to point to an installed 32-bit JDK/JRE"
I download/install the latest JRE from Oracle and see it added itself to the PATH statement. Chairgun still won't run and throws the same error.
I add an environment variable of EXE4J_JAVA_HOME and point it to the JRE install location of C:\Program Files\Java\jre1.8.0_121\bin but I keep getting the error. Anybody know why?
-
I'm on Windows 10 using v4.3.1 with no issues. I think I had to update Java, which you've done so not sure.
-
I also run Win 10 with no problems. Try the old "uninstall/reinstall" trick. Mine did the same when I installed it on Win 7. I had to uninstall, then, after updating Java, I reinstalled. That fixed it.
-
Well...sorry to trouble you as I figured it out. Chairgun doesn't seem to have been updated in quite a few years and wants to older 32-bit version of JRE, not the 64 bit which I had originally installed. I went ahead and installed the 32 bit and it started working. ;D
-
Probably you're getting the error where it can't find the java JRE.
Check that you have java installed.
Then create a chairgun.bat file with the following contents adjusted to your directories:
SET EXE4J_JAVA_HOME "C:\Program Files (x86)\Java\jre1.8.0_201\bin"
"C:\Program Files (x86)\ChairGun4\ChairGun4.exe"
(x86) is the 32-bit version of Java chairgun wants.