theSq3Lite 10.0 NHI1 - theKernel - theLink - theConfig - theSq3Lite - theCompiler - theBrain - theGuard - theLib - theATL
c - tcl - atl - cs - py - rb - jv - cc
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:128
static void Setup()
Java: [static] Setup() → C-API setup jvsq3lite internal memory …
Definition Sq3Lite.java:616

Definition at line 159 of file Sq3Lite.java.

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