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

How can I use this for JLink? #4

Open
holyjak opened this issue Jul 1, 2024 · 0 comments
Open

How can I use this for JLink? #4

holyjak opened this issue Jul 1, 2024 · 0 comments

Comments

@holyjak
Copy link

holyjak commented Jul 1, 2024

Hello!

I have a program using JLink and would like to use GitHub Action to test it. But I struggle to get Wolfram Engine working. I have followed the instructions here and do set the WOLFRAMSCRIPT_ENTITLEMENTID env var. Running e.g. wolframscript -c 'SystemInformation["Kernel","InstallationDirectory"]' works fine, but running the JLink program does not - it fails with MathLinkException: MathLink connection was lost.

Does Wolfram Engine support the WOLFRAMSCRIPT_ENTITLEMENTID? Is there some special way to pass it through when starting a jlink connection via

MathLinkFactory.createKernelLink({"-linkmode", "launch", "-linkname",
     "\"//usr/local/Wolfram/WolframEngine/13.3/Executables/MathKernel\" -mathlink"})
    .discardAnswer();

? Thank you!

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