JNIPort for VisualWorks

Please read Chris Uppal's documentation of JNIPort for Dolphin Smalltalk which is included both in the JNIPort bundle in Cincom's Public Store Repository and in the download of JNIPort for Dolphin Smalltalk. It contains a detailed description of the concepts and design of JNIPort, as well as several examples and tips. Although it is written on the background of Dolphin Smalltalk, most of the documentation is valid for VisualWorks as well.

Quick start

Getting started

Loading JNIPort for VisualWorks from a Store Repository

The contents of JNIPort_Docs.zip and JNIPort_Extras.zip

Configuring a JVM in the JNIPort Settings Tool

Configuring a JVM programmatically

Starting a JVM

Accessing running JVMs

Finding a Java class

Sending messages to Java objects

Java implementations and Operating Systems known to work with JNIPort

Examples

Accessing a ZIP file

Writing to a log file with java.util.logging

Controlling a Swing window from Smalltalk

Concepts

(to do - see Chris Uppal's documentation in the download or in the JNIPort_Doc.zip archive of the JNIPort bundle)

How to...

...run the JNIPort tests

...monitor messages from the Java Virtual Machine

...generate a predefined wrapper class

...write a callback from Java to Smalltalk (to do)

...debug errors

Tools

Inspecting a Java object (to do)

Browsing Wrapper Classes (to do)