# Windows Compiler Installation
Read Time: 2 minute(s)
Tags: windows installation compiler
# For jBASE Releases 5.5.x, 5.6.x (except 5.6.6) and 5.7.0
Follow this link to install a compiler.
Note: If you are installing jBASE on Windows 8 (not 8.1) or Windows Server 2012 (not R2), please follow this link to install a compatible version of Visual Studio BEFORE installing jBASE.
# For jBASE Releases 5.6.6, 5.7.1 and later
The jBASE installer will install and configure a suitable C compiler for compiling jBC programs as a prerequisite to installing jBASE. The compiler installation is initiated by clicking the "Install or Configure C Compiler" button on the Prerequisites page of the jBASE installation.
The steps are:
- Run the jBASE installer to start the prerequisite installer as below:
- If no suitable compiler is found on the local machine, the following dialog will be shown:
- Clicking on the Open Visual Studio Download Page button will open the Visual Studio download page. An internet connection is required for the steps that come after this.
When the Visual Studio site opens, locate Build Tools for Visual Studio 2017 and click the download link.
From jBASE 188.8.131.52 onward, a link to the Build Tools for Visual Studio 2019 will be shown:
- Make selections as in the screenshot below, and click install:
The selections available in Build Tools 2019 are much the same:
Depending on the installed components of the target machine and connection speeds, the compiler download and installation may take a while to complete. A reboot may also be required.
After the compiler install completes you will need to rerun the jBASE installer.
If the compiler installation succeeded, the jBASE installer will detect it and ask to configure the compiler. When the Next button is clicked, configuration will begin.
The user will be prompted to update environment variables:
- Click the Update Environment Variables button and click Next after the confirmation prompt:
At this point, the compiler is installed, environment variables appropriately configured and installation of jBASE can proceed.
Due to the recent deprecation of Windows SDK for Windows 7 compiler, jBASE has begun utilizing the C compiler for Visual Studio 2017. One of the issues that users have encountered is "Warning, PATH environment variable too long, truncated".
End Users are experiencing this due to additional "redundant" entries being added to the PATH, INCLUDE and LIB Environment Variables.
Here is an approach to resolving this warning, removing the "redundant" entries from your PATH, together with the INCLUDE entries, that will help cut down on the size.
# See Next
Back to Windows.