[Info-vax] VMS calling convention in Java & JVM based script languages

Arne Vajhøj arne at vajhoej.dk
Mon Jul 24 22:23:00 EDT 2017


As explained in several posts over the last year or more, then I have
been dabbling in the above topic.

I promised to make this stuff available. And here is the first drop
called version 0.1.

It contains:
* mechanism for having Java code call native code using VMS calling
   convention based on some wrapper code and some JNI C code that calls
   LIB$FIND_IMAGE_SYMBOL and LIB$CALLG
* wrapper code for calling some LIB$ functions and system services
   more Java style
* JavaScript and Python JVM based implementation (I finally managed to
   find a very old JPython 1.1 that run on VMS)
* examples on how to call the wrapped LIB$ functions and system services
   from Java and the two scripting languages

Link:

http://www.vajhoej.dk/arne/opensource/vms/

To get started:
* download vmscall-bin zip file
* unzip vmscall-bin
* unzip -aa temp
* read relevant 00*.txt files for further instructions

Enjoy.

Arne



More information about the Info-vax mailing list