Loading...
Skip to end of metadata
Go to start of metadata

This is caused by compiling and running an application that uses a 64-bit Java interface on a 32-bit Java compiler and virtual machine. If the javac.exe and java.exe executables being used reside in the legacy 32-bit C:\Program Files (x86)\ directory, this will fail.

You will need to use 64-bit Java executables, which by default install to the 64-bit C:\Program Files\ directory. The 64-bit JDK can be downloaded from the Oracle website.

Run the executable after you download to install the JDK on your machine.

Then, you may need to manually add the correct Java executables to your system path.

Click , and then select .

Click .

Then, choose this option:

.

The System Properties window appears:

.

Click . The Environment Variables window appears:

Select the PATH variable to highlight it, and click Edit.

Add this statement to the end of the path variable:

C:\Program Files\Java\jdk1.7.0_79\bin;

Click OK three times to close the Path windows.

  • No labels