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

Running a custom installation for new or upgraded IDEs

Running a custom installation for new or upgraded IDEs

If after you installed Klocwork, you upgraded your IDE, you must uninstall the previous version of the plug-in. For uninstallation information, see Uninstalling Klocwork.

After uninstalling, either:

  • re-run the Klocwork desktop analysis plug-in installer, or
  • install from the Eclipse plugin from the update site in your new version of Eclipse

If you're using Klocwork Desktop Command Line or Klocwork Desktop, you don't have to do anything further.

Upgrade steps are provided below, by IDE plug-in.

Visual Studio

For the Klocwork extension for Visual Studio, verify that you've uninstalled the previous version of the extension and its Help. Then, re-run the Microsoft Visual Studio Extension installer from the Portal.

For the Klocwork add-in for Visual Studio, in Windows, go to Control Panel > Programs and Features. Right-click Klocwork for Visual Studio and select Change to modify your settings. Deselect features you don't want installed.

Installing the Eclipse update site after upgrading Eclipse

Regardless of the Eclipse version you upgraded to, simply install the Eclipse plugin from the update site. See Install the Klocwork plug-in from the Eclipse update site.

IntelliJ IDEA or Android Studio

If you installed the upgraded version of IntelliJ IDEA or Android Studio in the same directory, you don't need to do anything further.

If you installed IntelliJ IDEA to a different location:

  • Windows:
    Re-run the Klocwork plug-in installer.
    During installation, Klocwork automatically detects your IntelliJ IDEA directory and installs the plug-in directory to that location. If more than one installation directory is detected, you must browse to the preferred location.
  • Linux:
    Run the following command:
    kw-idea-installer.linux64.sh -a <user_install>
    
    where
    • <user_install> is the directory where you want to install Klocwork. Note that if the chosen directory is not empty, you will not be able to continue with the installation.
    Example:
    kw-idea-installer.linux64.sh -a /home/jlee/Klocwork