I do not have the JDK installed and therefore all below is not verified by me. I can only write about what I see in the Java Compiler configs.
Click on menu item Select Compiler
in menu Build
and click on button Edit configuration
You see the configuration for a Console (java
) or Windows (java
) Java application. In both configurations there is the block
= $(VM) $(Launcher Options)COPT
= $(Compiler Options) $(Input Paths) $(Character Encoding) $(Target VM) $(Source) $(ExtDirs)JDKv
= $(HKEY_LOCAL_MACHINE\SOFTWARE$6432\JavaSoft\Java Development Kit\CurrentVersion
= $(HKEY_LOCAL_MACHINE\SOFTWARE$6432\JavaSoft\Java Development Kit\$(JDKv)\JavaHome
The last line makes it clear that the PATH
as defined by the user and system environment settings is not used when building a Java application. UEStudio replaces the standard value of environment variable PATH
by a self defined value containing just the path to the binary directory of the used compiler which is in this case the directory BIN
of the used JDK. That is usually the best method as it should not be necessary to have the binary directory of all compilers in the user's respectively system PATH just for being able to compile something.
You could click on button Make configuration local (save in project directory)
. Then comment the line with PATH
definition by inserting at beginning of the line the character #
and click on button Save configuration
Another possibility is to verify that the JDK is correct registered in Windows registry. Start Regedit.exe
and open registry key
- 64-bit Windows:
HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\JavaSoft\Java Development Kit\CurrentVersion
- 32-bit Windows:
HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java Development Kit\CurrentVersion
The default string at top on right side of this registry key should contain the JDK version
string. Now check in Windows registry key:
- 64-bit Windows:
HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\JavaSoft\Java Development Kit\JDK version\JavaHome
- 32-bit Windows:
HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java Development Kit\JDK version\JavaHome
The default string at top on right side of this registry key should contain the path to the directory containing the subdirectory bin
For your installation this should be C:\Program Files\Java\jdk1.7.0_55
I'm wondering that the JDK was not installed into C:\Program Files (x86)\Java\jdk1.7.0_55
as 32-bit applications are usually not installed on Windows x64 into the program files folders for 64-bit applications. You use definitely a 64-bit Windows 8.1.
Do you have installed 64-bit JDK? What was the reason to install 64-bit version and not 32-bit version?
The reason was hopefully not because of using Windows 8.1 x64.
UEStudio is a 32-bit Windows application and therefore contains the configurations also only for 32-bit compilers.
I know that there is a 32-bit and a 64-bit Java JDK and users can install only 32-bit, only 64-bit or both. But Sun Java as often installed for usage in browsers is mainly installed in 32-bit version and Sun supports automatic updates only for 32-bit version. A user who installs also the 64-bit version of Sun Java must always manually check for an update and also manually download and install the update for 64-bit version. See Sun Java articles Which Java download should I choose for my 64-bit Windows?
and What is Java Auto Update? How do I change notify settings?
The reason is quite simple: most users use only the 32-bit version of their browser because not knowing that for their favorite browser also a 64-bit version is most likely available. And most Java apps are written for 32-bit version of Sun Java because the companies producing those Java applications do not want to build and test their applications always twice just because of a minority of users (according to web usage statistics) using a 64-bit browser and therefore using 64-bit Sun Java. See the PC World article Should I use the 32- or 64-bit version of Internet Explorer?
Microsoft recommends to use the 32-bit version of Internet Explorer and it is in the meantime not really easy to use the 64-bit version of IE. Reason: the big majority of Internet Explorer plugins, Java applications, and other applications executed within browser are written for 32-bit browsers/Java although more and more plugins/apps are rewritten and are in the meantime also available as 64-bit version. See for example the MSDN article IEInternals - Q&A: 64-Bit Internet Explorer