encyclopegia.org

GIWS (software)

GIWS is a wrapper generator intended to simplify calling Java from C or C++ by automatically generating the necessary JNI code. It was started by Sylvestre Ledru for Scilab as part of the project's move to Java. GIWS is released under the CeCILL license.

GIWS is a wrapper generator intended to simplify calling Java from C or C++ by automatically generating the necessary JNI code. It was started by Sylvestre Ledru for Scilab as part of the project's move to Java. GIWS is released under the CeCILL license. package basic_example; import java.lang.Math; public class MyComplexClass { public MyComplexClass() { // the constructor } public long myVeryComplexComputation(double a, double b) { return Math.round(Math.cos(a) + Math.sin(b) * 9); } } GIWS gives the capability to call it from C++. include include "basic_example.hxx" include JavaVM* create_vm() { JavaVM* jvm; JNIEnv* env; JavaVMInitArgs args; JavaVMOption options[2]; args.version = JNI_VERSION_1_4; args.nOptions = 2; options[0].optionString = const_cast ("-Djava.class.path=."); options[1].optionString = const_cast ("-Xcheck:jni"); args.options = options; args.ignoreUnrecognized = JNI_FALSE; JNI_CreateJavaVM(&jvm, (void **)&env, &args); return jvm; } using namespace basic_example; using namespace std; int main() { JavaVM* jvm = create_vm(); MyComplexClass *testOfMyClass = new MyComplexClass(jvm); cout myVeryComplexComputation(1.2,80) To generate the binding, GIWS uses a XML declaration. GIWS will generate the JNI code to call the Java object. ==References==

References

No reference rows published for this article.

Cite this article

MLA

"GIWS (software)." encyclopegia.org, 2026, https://encyclopegia.org/wiki/giws-software. Accessed 24 November 2026.

Chicago

"GIWS (software)." encyclopegia.org. Accessed November 24, 2026. https://encyclopegia.org/wiki/giws-software.

APA

encyclopegia.org. (2026). GIWS (software). Retrieved November 24, 2026, from https://encyclopegia.org/wiki/giws-software

Accessed November 24, 2026 · CC BY-SA 4.0 · citation page · JSON

Related articles

Ubuntu Software Center

stub · references available

customs software

stub · references available

access software

stub · references available

Free Software Song

stub · references available

software framework

stub · references available

route planning software

stub · references available

data loss prevention software

stub · references available

free and open-source software

stub · references available
CC BY-SA 4.0 · share-alike · https://en.wikipedia.org/w/index.php?oldid=1368140869 · 0.5 · snapshot enwiki-001368140869

Cite · JSON · Search

Related services and records

Services

  • Estate — measured countries, lanes and facts
  • Intel — live corroborated events
  • Legal — statutes, cases and citations
  • Encyclopedia — articles with inline sources
  • Space — launches, satellites and orbits
  • Search — federated search and reports
  • Pass — passport account and SSO
  • Corpora — read-only corpus origins
  • e01 — self-hosted corpora and tools

Text and metadata only; each target carries its own sources. Missing data is published as no-data, never estimated.