Scriptom
Scriptom copied to clipboard
Installing and use-case for Scriptom
I have been using Scriptom / Jacob on a windows project for some time now. I use it to list, start & stop Windows Services (using the 'java wrapper') for our applications. It has worked great for several years now.
Scriptom was packaged with Groovy versions 1 and 2 - but it was dropped with Apache Groovy / version 3. So I just copied the scriptom / jacob .jar files and the 2 .dll's over into Groovy 3. This was simple:
Today it raised a memory fault in the dll. I had tried to use it with Groovy 4 - but that was a non-starter. Reverting to Groovy 3, and the error started. So instead I grabbed the latest jacob release from github (version 1.20) and it worked a treat.
Thanks for keeping the candle burning on this. Though I am sure there will be (is?) an alternative to COM at some point. If so, referencing it here would be most useful.