The first two systems I worked with using InterSystems technology were a PDP-11 running M11+ and a VAX 11/750 running M/VX. Too many years ago to count! 😊
Since then I've used most, if not all, InterSystems products up to IRIS and HealthShare today.
I'm Italian living in Switzerland and I work as Senior Consultant at GAIVOTA consultin SA, we provide professional services for InterSystems and other technologies.
Curiosity: apart from DC, I don't have ANY social account! 😁
If you can share your code it would be much easier to help you
It really seems that there is no java executable in the (supposed?) java home directory you specified.
Can you check if the following file exists:
C:\Program Filey\Java\jdk-11\bin\java.exe
Then there may be issues with the java version, maybe not.












I think you need to "HTML escape" your output.
If your json is (relatively) small (<~3.5MB) then change:
Write formatter.Format(json)With:
Set sc=FormatToString(json,.fsonFormatted) If $$$ISERR(sc) { Write $zconvert(sc,"O","HTML") } Else { Write $zconvert(fsonFormatted,"O","HTML") }If your json is potentially big (>~3.5MB), the you have to use FormatToStream() instead of FormatToString() and $zconvert in chunks, see $zconvert documentation.