# 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:

  1. Run the jBASE installer to start the prerequisite installer as below:

323804-windows-compiler-installation: 1529567469018-pre-requisites-1

  1. If no suitable compiler is found on the local machine, the following dialog will be shown:

323804-windows-compiler-installation: 1529567512150-2

  1. 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.323804-windows-compiler-installation: 1529567567138-prerequisite-option

From jBASE onward, a link to the Build Tools for Visual Studio 2019 will be shown:

323804-windows-compiler-installation: 1554395100531-vs2019buildtools

  1. Make selections as in the screenshot below, and click install:

323804-windows-compiler-installation: 1529567629668-prerequisite-download

The selections available in Build Tools 2019 are much the same:

323804-windows-compiler-installation: 1554395214475-vs2019buildtooloptions

  1. 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.

  2. After the compiler install completes you will need to rerun the jBASE installer.

  3. 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.

  4. The user will be prompted to update environment variables:

323804-windows-compiler-installation: 1529567691049-5

  1. Click the Update Environment Variables button and click Next after the confirmation prompt:

323804-windows-compiler-installation: 1529568053152-6

At this point, the compiler is installed, environment variables appropriately configured and installation of jBASE can proceed.

# Note

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

Installing jBASE on Windows

Upgrading from a Previous Version

Manual Installation of jDLS Service

Creating Accounts and Users

Manual License Key Installation

Back to Windows.