theSq3Lite 10.0
Loading...
Searching...
No Matches
Sq3Lite_Sys_JV_API

Sq3Lite PACKAGE - Basic features and Startup … More...

+ Collaboration diagram for Sq3Lite_Sys_JV_API:

Functions

static void jvsq3lite.Sq3Lite.SetupTmpl ()
 Task: initialize the JAVAJavaSq3Lite connectivity.
 

Detailed Description

Sq3Lite PACKAGE - Basic features and Startup …

Function Documentation

◆ SetupTmpl()

static void jvsq3lite.Sq3Lite.SetupTmpl ( )
inlinestatic

Task: initialize the JAVAJavaSq3Lite connectivity.

An external C library is required to use the JavaSq3Lite package. This library needs to be loaded very early in order to set up the JavaSq3Lite environment properly. Normally the "setup" is done automatically when using a class from the JavaSq3Lite package.

‍Unfortunately, sometimes the "Setup" is called too late and the application fails with a constructor-error.

The best way to achieve proper startup is to add a static-constructor to the main-application-class

public class MyClass extends ... {
static {
}
// ...
}
Sq3Lite PACKAGE - toplevel package of the Programming-Language-Micro-Kernel (PLMK) …
Definition Sq3Lite.java:125
static void Setup()
Java: [static] Setup() → C-API setup jvsq3lite internal memory …
Definition Sq3Lite.java:613

Definition at line 156 of file Sq3Lite.java.

156 {
157 if (first) return;
158 first = true;
159 System.loadLibrary("jvsq3lite");
160 }
+ Here is the caller graph for this function: