This workaround is not a good option in my opinion, because I don't want to setup some crazy GPO to hard code the installationdir into the systemvariable. Once the "C:\Program Files\Java\jre1.8.0_31\bin" is added, the command returns the correct output. We could resolve the issue on a windows 8 machine by adding the installation directory of java in the "path" systemvariable. Java HotSpot(TM) 64-Bit Server VM (build 25.31-b07, mixed mode) Java(TM) SE Runtime Environment (build 1.8.0_31-b13)
On a windows 7 machine we get the correct output: How to Fix Could Not Create the Java Virtual Machine Error How to Migrate Windows 10 to a New Hard Drive How to Fix a Wi-Fi Doesn’t Have a Valid IP Configuration Error How To Get Faster Upload & Download Speeds In Windows 10 How To Factory Reset Windows 10 Without The Admin Password What To Do When Your Second Monitor Is Not. This only happens on machines with windows 8
After that whole process we do get an error when we run the command "java -version".Įrror: The command "java" was not found or is written incorrect (not exactly that error, cause we have a German version of windows). The only thing we noticed was, that we had a couple of errors when we were checking the java version via console.įor example, when we upgrade a machine from Java 7 to Java 8, we first uninstall Java 7, reboot and then install Java 8. So far, everything is working fine on our test machines with Java 8 Update 31. msi file for 32-bit and 64-bit Version of Java 8. For the installation we use an automatic installation of the. At the moment we are testing the functionality of Java 8 with our software and the use of Java 8 in our environment. I'm working for a software development company. 1.7K Training / Learning / Certification.165.3K Java EE (Java Enterprise Edition).7.8K Oracle Database Express Edition (XE).3.7K Java and JavaScript in the Database.