Search this site
Embedded Files
JNIWrapper Support
  • Home
  • Documentation
    • Frequently Asked Questions
      • Gathering Information about Licence Errors
      • General
      • Technical
      • WinPack
    • Installation Instructions
    • Javadoc
    • Logging in JNIWrapper
      • Enabling Log4J in JNIWrapper
    • Mapping Native Types to JNIWrapper Classes
    • Mapping Windows Data Types
    • Programmer's Guide
    • Supported Platforms
    • Troubleshooting
    • Tutorial
  • Samples
    • JNIWrapper Samples
      • Basic JNIWrapper Sample
      • Bit Field Sample
      • Bit Structure
      • Callback Sample
      • Callback with Array Sample
      • Callback with Fill External Array Sample
      • Complex Array Sample
      • External String Pointer Sample
      • Function Call Sample
      • Key Value Structure
      • Linked Structure
      • Linked Structure Sample
      • Modifying the ACLs of an Object using JNIWrapper and WinPack
      • Primitive Array Sample
      • Resizing Pointer Sample
      • Sample Structure
      • String Array Sample
      • Structure Sample
      • Union Sample
      • Union Structure
      • Variable Sample
    • WinPack Samples
      • Access Services Remote Computer
      • Active Directory API Sample
      • Buzzer
      • Call Window Proc Sample
      • CBT Hook Sample
      • Check Admin Rights Sample
      • Choose Color Dialog Sample
      • Clipboard Viewer Sample
      • Custom Shape Window Sample
      • DDE Client Sample
      • DDE Service Sample
      • Enum Printers Sample
      • Enum Processes Sample
      • Enum Token Groups
      • Event Log Sample
      • File System Sample
      • File System Watcher Sample
      • Get Application Windows Sample
      • Get Computer Name Example
      • Hook Sample
      • Idle Tracker Sample
      • Java Taskbar Caption Sample
      • Journal Hook Sample
      • Low Level Keyboard Hook Sample
      • Low Level Mouse Hook Sample
      • Mixer Helper
      • Open/Save File Dialog Sample
      • Raw Keyboard Input Sample
      • Redirect STD Streams Example
      • Registry Key Enum Values Sample
      • Registry Key Set Values Sample
      • Sample Tray App
      • Select Folder Dialog Sample
      • ShellExecuteExExample
      • Win Event Hook Sample
      • Win Http Sample
      • Wnd Sample
      • WNetAddConnection2Sample
  • Release Notes
    • JNIWrapper 1.0 Release Notes
    • JNIWrapper 1.1 Release Notes
    • JNIWrapper 1.2 Release Notes
    • JNIWrapper 1.3 Release Notes
    • JNIWrapper 2.0 for Windows Release Notes
    • JNIWrapper 2.1. for Windows Release Notes
    • JNIWrapper 2.2 for WIndows Release Notes
    • JNIWrapper 2.3 for WIndows Release Notes
    • JNIWrapper 2.4 for Windows
    • JNIWrapper 2.4.1 for WIndows Release Notes
    • JNIWrapper 2.5 Beta for Windows Release Notes
    • JNIWrapper 2.5 for WIndows Release Notes
    • JNIWrapper 2.6 for Windows Release Notes
    • JNIWrapper 2.7 for Windows Release Notes
    • JNIWrapper 2.7.1 for Windows Release Notes
    • JNIWrapper 2.8 for Windows Release Notes
    • JNIWrapper 2.8.5 for Windows Release Notes
    • JNIWrapper 2.9 for Windows Release Notes
    • JNIWrapper 2.9.5 for Windows Release Notes
    • JNIWrapper 3.0 Release Notes
    • JNIWrapper 3.1 Release Notes
    • JNIWrapper 3.10 Release Notes
    • JNIWrapper 3.11 Release Notes
    • JNIWrapper 3.12 Release Notes
    • JNIWrapper 3.2 Release Notes
    • JNIWrapper 3.3 Release Notes
    • JNIWrapper 3.4 Release Notes
    • JNIWrapper 3.5 Release Notes
    • JNIWrapper 3.6 Release Notes
    • JNIWrapper 3.6.1 Release Notes
    • JNIWrapper 3.7 Release Notes
    • JNIWrapper 3.7.1 Release Notes
    • JNIWrapper 3.7.2 Release Notes
    • JNIWrapper 3.7.3 Release Notes
    • JNIWrapper 3.8 Release Notes
    • JNIWrapper 3.8.1 Release Notes
    • JNIWrapper 3.8.2 Release Notes
    • JNIWrapper 3.8.3 Release Notes
    • JNIWrapper 3.8.4 Release Notes
    • JNIWrapper 3.9 Release Notes
    • JNIWrapper for IBM AIX Release Notes
    • JNIWrapper for Linux 1.0 Release Notes
    • JNIWrapper for Solaris UltraSPARC
    • JNIWrapper for Windows & Linux version 1.4 Release Notes
    • JNIWrapper for Windows version 1.3.1 Release Notes
    • JNIWrapper 3.13 Release Notes
JNIWrapper Support
  • Home
  • Documentation
    • Frequently Asked Questions
      • Gathering Information about Licence Errors
      • General
      • Technical
      • WinPack
    • Installation Instructions
    • Javadoc
    • Logging in JNIWrapper
      • Enabling Log4J in JNIWrapper
    • Mapping Native Types to JNIWrapper Classes
    • Mapping Windows Data Types
    • Programmer's Guide
    • Supported Platforms
    • Troubleshooting
    • Tutorial
  • Samples
    • JNIWrapper Samples
      • Basic JNIWrapper Sample
      • Bit Field Sample
      • Bit Structure
      • Callback Sample
      • Callback with Array Sample
      • Callback with Fill External Array Sample
      • Complex Array Sample
      • External String Pointer Sample
      • Function Call Sample
      • Key Value Structure
      • Linked Structure
      • Linked Structure Sample
      • Modifying the ACLs of an Object using JNIWrapper and WinPack
      • Primitive Array Sample
      • Resizing Pointer Sample
      • Sample Structure
      • String Array Sample
      • Structure Sample
      • Union Sample
      • Union Structure
      • Variable Sample
    • WinPack Samples
      • Access Services Remote Computer
      • Active Directory API Sample
      • Buzzer
      • Call Window Proc Sample
      • CBT Hook Sample
      • Check Admin Rights Sample
      • Choose Color Dialog Sample
      • Clipboard Viewer Sample
      • Custom Shape Window Sample
      • DDE Client Sample
      • DDE Service Sample
      • Enum Printers Sample
      • Enum Processes Sample
      • Enum Token Groups
      • Event Log Sample
      • File System Sample
      • File System Watcher Sample
      • Get Application Windows Sample
      • Get Computer Name Example
      • Hook Sample
      • Idle Tracker Sample
      • Java Taskbar Caption Sample
      • Journal Hook Sample
      • Low Level Keyboard Hook Sample
      • Low Level Mouse Hook Sample
      • Mixer Helper
      • Open/Save File Dialog Sample
      • Raw Keyboard Input Sample
      • Redirect STD Streams Example
      • Registry Key Enum Values Sample
      • Registry Key Set Values Sample
      • Sample Tray App
      • Select Folder Dialog Sample
      • ShellExecuteExExample
      • Win Event Hook Sample
      • Win Http Sample
      • Wnd Sample
      • WNetAddConnection2Sample
  • Release Notes
    • JNIWrapper 1.0 Release Notes
    • JNIWrapper 1.1 Release Notes
    • JNIWrapper 1.2 Release Notes
    • JNIWrapper 1.3 Release Notes
    • JNIWrapper 2.0 for Windows Release Notes
    • JNIWrapper 2.1. for Windows Release Notes
    • JNIWrapper 2.2 for WIndows Release Notes
    • JNIWrapper 2.3 for WIndows Release Notes
    • JNIWrapper 2.4 for Windows
    • JNIWrapper 2.4.1 for WIndows Release Notes
    • JNIWrapper 2.5 Beta for Windows Release Notes
    • JNIWrapper 2.5 for WIndows Release Notes
    • JNIWrapper 2.6 for Windows Release Notes
    • JNIWrapper 2.7 for Windows Release Notes
    • JNIWrapper 2.7.1 for Windows Release Notes
    • JNIWrapper 2.8 for Windows Release Notes
    • JNIWrapper 2.8.5 for Windows Release Notes
    • JNIWrapper 2.9 for Windows Release Notes
    • JNIWrapper 2.9.5 for Windows Release Notes
    • JNIWrapper 3.0 Release Notes
    • JNIWrapper 3.1 Release Notes
    • JNIWrapper 3.10 Release Notes
    • JNIWrapper 3.11 Release Notes
    • JNIWrapper 3.12 Release Notes
    • JNIWrapper 3.2 Release Notes
    • JNIWrapper 3.3 Release Notes
    • JNIWrapper 3.4 Release Notes
    • JNIWrapper 3.5 Release Notes
    • JNIWrapper 3.6 Release Notes
    • JNIWrapper 3.6.1 Release Notes
    • JNIWrapper 3.7 Release Notes
    • JNIWrapper 3.7.1 Release Notes
    • JNIWrapper 3.7.2 Release Notes
    • JNIWrapper 3.7.3 Release Notes
    • JNIWrapper 3.8 Release Notes
    • JNIWrapper 3.8.1 Release Notes
    • JNIWrapper 3.8.2 Release Notes
    • JNIWrapper 3.8.3 Release Notes
    • JNIWrapper 3.8.4 Release Notes
    • JNIWrapper 3.9 Release Notes
    • JNIWrapper for IBM AIX Release Notes
    • JNIWrapper for Linux 1.0 Release Notes
    • JNIWrapper for Solaris UltraSPARC
    • JNIWrapper for Windows & Linux version 1.4 Release Notes
    • JNIWrapper for Windows version 1.3.1 Release Notes
    • JNIWrapper 3.13 Release Notes
  • More
    • Home
    • Documentation
      • Frequently Asked Questions
        • Gathering Information about Licence Errors
        • General
        • Technical
        • WinPack
      • Installation Instructions
      • Javadoc
      • Logging in JNIWrapper
        • Enabling Log4J in JNIWrapper
      • Mapping Native Types to JNIWrapper Classes
      • Mapping Windows Data Types
      • Programmer's Guide
      • Supported Platforms
      • Troubleshooting
      • Tutorial
    • Samples
      • JNIWrapper Samples
        • Basic JNIWrapper Sample
        • Bit Field Sample
        • Bit Structure
        • Callback Sample
        • Callback with Array Sample
        • Callback with Fill External Array Sample
        • Complex Array Sample
        • External String Pointer Sample
        • Function Call Sample
        • Key Value Structure
        • Linked Structure
        • Linked Structure Sample
        • Modifying the ACLs of an Object using JNIWrapper and WinPack
        • Primitive Array Sample
        • Resizing Pointer Sample
        • Sample Structure
        • String Array Sample
        • Structure Sample
        • Union Sample
        • Union Structure
        • Variable Sample
      • WinPack Samples
        • Access Services Remote Computer
        • Active Directory API Sample
        • Buzzer
        • Call Window Proc Sample
        • CBT Hook Sample
        • Check Admin Rights Sample
        • Choose Color Dialog Sample
        • Clipboard Viewer Sample
        • Custom Shape Window Sample
        • DDE Client Sample
        • DDE Service Sample
        • Enum Printers Sample
        • Enum Processes Sample
        • Enum Token Groups
        • Event Log Sample
        • File System Sample
        • File System Watcher Sample
        • Get Application Windows Sample
        • Get Computer Name Example
        • Hook Sample
        • Idle Tracker Sample
        • Java Taskbar Caption Sample
        • Journal Hook Sample
        • Low Level Keyboard Hook Sample
        • Low Level Mouse Hook Sample
        • Mixer Helper
        • Open/Save File Dialog Sample
        • Raw Keyboard Input Sample
        • Redirect STD Streams Example
        • Registry Key Enum Values Sample
        • Registry Key Set Values Sample
        • Sample Tray App
        • Select Folder Dialog Sample
        • ShellExecuteExExample
        • Win Event Hook Sample
        • Win Http Sample
        • Wnd Sample
        • WNetAddConnection2Sample
    • Release Notes
      • JNIWrapper 1.0 Release Notes
      • JNIWrapper 1.1 Release Notes
      • JNIWrapper 1.2 Release Notes
      • JNIWrapper 1.3 Release Notes
      • JNIWrapper 2.0 for Windows Release Notes
      • JNIWrapper 2.1. for Windows Release Notes
      • JNIWrapper 2.2 for WIndows Release Notes
      • JNIWrapper 2.3 for WIndows Release Notes
      • JNIWrapper 2.4 for Windows
      • JNIWrapper 2.4.1 for WIndows Release Notes
      • JNIWrapper 2.5 Beta for Windows Release Notes
      • JNIWrapper 2.5 for WIndows Release Notes
      • JNIWrapper 2.6 for Windows Release Notes
      • JNIWrapper 2.7 for Windows Release Notes
      • JNIWrapper 2.7.1 for Windows Release Notes
      • JNIWrapper 2.8 for Windows Release Notes
      • JNIWrapper 2.8.5 for Windows Release Notes
      • JNIWrapper 2.9 for Windows Release Notes
      • JNIWrapper 2.9.5 for Windows Release Notes
      • JNIWrapper 3.0 Release Notes
      • JNIWrapper 3.1 Release Notes
      • JNIWrapper 3.10 Release Notes
      • JNIWrapper 3.11 Release Notes
      • JNIWrapper 3.12 Release Notes
      • JNIWrapper 3.2 Release Notes
      • JNIWrapper 3.3 Release Notes
      • JNIWrapper 3.4 Release Notes
      • JNIWrapper 3.5 Release Notes
      • JNIWrapper 3.6 Release Notes
      • JNIWrapper 3.6.1 Release Notes
      • JNIWrapper 3.7 Release Notes
      • JNIWrapper 3.7.1 Release Notes
      • JNIWrapper 3.7.2 Release Notes
      • JNIWrapper 3.7.3 Release Notes
      • JNIWrapper 3.8 Release Notes
      • JNIWrapper 3.8.1 Release Notes
      • JNIWrapper 3.8.2 Release Notes
      • JNIWrapper 3.8.3 Release Notes
      • JNIWrapper 3.8.4 Release Notes
      • JNIWrapper 3.9 Release Notes
      • JNIWrapper for IBM AIX Release Notes
      • JNIWrapper for Linux 1.0 Release Notes
      • JNIWrapper for Solaris UltraSPARC
      • JNIWrapper for Windows & Linux version 1.4 Release Notes
      • JNIWrapper for Windows version 1.3.1 Release Notes
      • JNIWrapper 3.13 Release Notes

Documentation ‎> ‎Frequently Asked Questions

Gathering Information about Licence Errors

In general case, when the there is an issue with the installed license, the following message is displayed in the Java console:

Exception in thread "main" java.lang.ExceptionInInitializerError Caused by: java.lang.RuntimeException: JNIWrapper license check failed: No valid license found.

If you can see the following message, it is recommended to perform the following actions:

    1. Run your Java application with the licence debug info enabled. The information about all found licences will be printed out to the Java console. In many cases this information will help to resolve the issue.

      1. There are a few ways to enable the debug information printing:

        • Pass -Dteamdev.license.info=true as a VM argument when starting your Java application.

        • Add System.setProperty("teamdev.license.info", "true"); call before creating any JNIWrapper objects. The call will have no effect if performed after creating the very first object related to JNIWrapper functionality.

    2. Clean and rebuild your project. It is possible that there is an outdated licence cached somewhere.

Terms and Privacy  © 2002 – 2021 TeamDev. All rights reserved.

Report abuse
Page details
Page updated
Report abuse