JVM languages on VMS x86-64 (repost from c.o.v)

Post Reply
User avatar

Topic author
arne_v
Master
Posts: 343
Joined: Fri Apr 17, 2020 7:31 pm
Reputation: 0
Location: Rhode Island, USA
Status: Offline
Contact:

JVM languages on VMS x86-64 (repost from c.o.v)

Post by arne_v » Wed Oct 18, 2023 1:20 pm

Jython (JVM Python)
-------------------

Make sure you got Java installed, grab vmsscript-bin.zip here
https://www.vajhoej.dk/arne/opensource/vms/,
unzip vmsscript-bin.zip, unzip -aa temp.zip, @fixup.

Seems to work fine (ignore warning about InteractiveConsole).

Rhino (JVM JavaScript)
----------------------

Make sure you got Java installed, grab vmsscript-bin.zip here
https://www.vajhoej.dk/arne/opensource/vms/,
unzip vmsscript-bin.zip, unzip -aa temp.zip, @fixup.

Seems to work fine.

Groovy
------

Make sure you got Java installed, grab latest 4.0.x standard zip,
unzip (ODS-5 of course), grab groovy.com and groovydef.com here
https://www.vajhoej.dk/arne/vms/snippets/ (extension is changed
to .txt to make browser display).

Seems to work fine.

Scala
-----

Make sure you got Java installed, grab latest 2.13.x standard zip,
unzip (ODS-5 of course), grab scala.com and scaladef.com here
https://www.vajhoej.dk/arne/vms/snippets/ (extension is changed
to .txt to make browser display).

Seems to work fine.


Kotlin
------

Make sure you got Java installed, grab latest 1.9.x standard zip,
unzip (ODS-5 of course), grab kotlin.com and kotlindef.com here
https://www.vajhoej.dk/arne/vms/snippets/ (extension is changed
to .txt to make browser display).

Works with a few hassles:
* the compiler does not recognize .KT files as Kotlin
source only .kt so one need to quote the filename
as argument to the wrapper COM file aka kotlinc "test.kt"
* the compiler only works with source files in RFM STMLF

Arne
Last edited by arne_v on Wed Oct 18, 2023 1:26 pm, edited 1 time in total.
Arne
arne@vajhoej.dk
VMS user since 1986

Post Reply