Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Installing and use-case for Scriptom #2

Open
merlinbeedell opened this issue Feb 14, 2022 · 0 comments
Open

Installing and use-case for Scriptom #2

merlinbeedell opened this issue Feb 14, 2022 · 0 comments

Comments

@merlinbeedell
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant