Start here

Home
About Klocwork
What's new
Fixed issues
Release notes
Installation

Reference

C/C++ checkers
Java checkers
C# checkers
MISRA C 2004 checkers
MISRA C++ 2008 checkers
MISRA C 2012 checkers
MISRA C 2012 checkers with Amendment 1
Commands
Metrics
Troubleshooting
Reference

Product components

C/C++ Integration build analysis
Java Integration build analysis
Desktop analysis
Refactoring
Klocwork Static Code Analysis
Klocwork Code Review
Structure101
Tuning
Custom checkers

Coding environments

Visual Studio
Eclipse for C/C++
Eclipse for Java
IntelliJ IDEA
Other

Administration

Project configuration
Build configuration
Administration
Analysis performance
Server performance
Security/permissions
Licensing
Klocwork Static Code Analysis Web API
Klocwork Code Review Web API

Community

View help online
Visit RogueWave.com
Klocwork Support
Rogue Wave Videos

Legal

Legal information

Installing the Klocwork Server package on Windows -- Upgrade only

Installing the Klocwork Server package on Windows -- Upgrade only

This page provides instructions for installing the Server package if you are upgrading.

IMPORTANT: This is not the starting point for upgrading. Make sure you start with Upgrading from a previous version.

Before you begin

Where do I get the software?

Download the packages from Klocwork Support. Typically, only one or two users in an organization have access to Klocwork Developer Network. If you don't have access, you can register for a new account.

Required permissions

  • Administrator access is required to install all Windows packages, whether using the installation wizard or unattended installation.
  • You must have administrator access to install the Klocwork Server.
  • You must have administrator permissions to start the Klocwork Servers (and to run the Klocwork Servers as Windows Services).
  • For Windows Server 2008, you must use the 'Run As Administrator' option in order to launch any Klocwork tools which access a projects_root that is located on a root directory.

Run the installation wizard

Run the Klocwork Server installation wizard, following the prompts. Note the following:

  • The installation package includes a pre-packaged JVM and automatically detect whether you have a 32-bit or 64-bit operating system.
  • If your system locale is Japanese, the installation package runs in Japanese. Otherwise, it runs in English.
  • Caution: Do not install the Server package and the projects_root in the Program Files directory. Default security settings for Windows 7 and Windows Server 2008 restrict writing to files in the Program Files directory.
  • For information on the Use secure server connection (HTTPS) checkbox, see Using a secure Klocwork Server connection.
  • When prompted for the location of the projects_root directory, specify the old projects_root directory that you want to migrate.
  • You do not need to set host names and port numbers for the Klocwork Servers during installation. This information will be picked up from your old projects_root directory when it is migrated.
  • Do not select the option to start the Klocwork Servers as Windows services automatically. You will start the servers in a later step.
  • The Klocwork bin directory (<server_install>\bin) is automatically added to your System Path environment variable.
  • The Klocwork Server and Database Server need to be running on the same machine.

Log files

An installation log file is saved to the Temp directory of Local Settings whenever one of the Klocwork installation packages is started on Windows. For example, on Windows 7, the installation log file is saved to \Users\<user>\AppData\Local\Temp.

These log files are named Klocwork<release_number>-<package>.log . For example, the installation log file for the Klocwork 2018.1 Server package is named Klocwork18.1-Server.log.

A logs directory is also created in the root Klocwork installation directory during installation. For the Server installer, for example, the log files in this directory store kwservice output when the servers are first started and the projects_root directory is initialized.