Skip to content

Installing and use-case for Scriptom #2

@merlinbeedell

Description

@merlinbeedell

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:
/bin/jacob1.16 dlls (2 files, 32 bit and 64 bit)
/lib/jacob1.16.jar plus the scriptom .jar files
I cant see a pre-complied set of scriptom files in this project - and because Groovy makes scripting so easy, I really would not know how to make/build/compile this project. So a binary download would be most helpful with instructions on how to pop them into Groovy with Jacob.

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions