Thanks, Bill!
Knowing it wasn't an intentional change was enough.
Turns out it was dying when trying to load the library, not when calling
JInit.
Prior to 9.4, it was sufficient to load the DLL from an absolute path
constructed from "$J_HOME/j.dll".
Now it seems j.dll loads something else right away from a relative path,
and that requires having the J_HOME also be on the path.
(If I had to take a wild guess, I'd say it was probably the addition of
pthreadVC3.dll for the new thread primitives.)
In any case, I added my J_HOME directory to my PATH and that fixed the
problem.


On Sat, Apr 22, 2023 at 10:48 PM bill lam <bbill....@gmail.com> wrote:

> Without additional details, it is hard to guess what's wrong. You can PM me
> scripts or files to reproduce the issue if you wish.
>
> On Sun, 23 Apr 2023 at 7:43 AM Michal Wallace <michal.wall...@gmail.com>
> wrote:
>
> > When I try to run my J frontend in J9.4, it crashes when trying to run
> > JInit.
> > I don't know how to obtain any kind of error message.
> >
> > The same binary works just fine against j903 and j902.
> > Has something changed?
> >
> > (I'm not seeing anything in the changelog. I see a new JInit2 was added
> > recently in the code, but it looks like JInit is the same...?)
> >
> > This is the version that lets me connect:
> >
> > Engine: j903/j64avx2/windows
> > Release-b: commercial/2022-01-28T04:09:50
> > Library: 9.03.08
> > Platform: Win 64
> > Installer: J903 install
> > InstallPath: c:/j903
> > Contact: www.jsoftware.com
> >
> > This is the version that crashes:
> >
> > Engine: j9.4.2/j64avx2/windows
> > Build: commercial/2023-04-10T01:19:53/clang-15-0-7/SLEEF=1
> > Library: 9.4.22
> > Platform: Win 64
> > Installer: j9.4 install
> > InstallPath: c:/j9.4
> > Contact: www.jsoftware.com
> > ----------------------------------------------------------------------
> > For information about J forums see http://www.jsoftware.com/forums.htm
> >
> ----------------------------------------------------------------------
> For information about J forums see http://www.jsoftware.com/forums.htm
>
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to