Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
We have a Talend 8 install on a VM on Azure.
The user account that installed Talend can open all the jobs.
Other users can only open some of the jobs, others fail with an error:
JsonIoException setting flag 'fields' on target: Property: null with value {}
Any ideas? What might be different between the accounts?
I have tried installing a different Java - Zulu v11 - and that hasn't worked. We've checked that both the original installer account and the other accounts are using the new Java, both in PATH and JAVA_HOME.
Is there a way of telling Talend Studio which Java to use on launch?
Aha, I think I've found it. The shortcut we were using to launch Talend said -vm "C:\Program Files (x86)\jdk-19.0.2\bin", removing that fixes the problem.
Hello,
Could you please provide the talend studio log so that we can do more investigation on it?
It is located in <Talend Studio installation path>/workspace/.metadata/.log
Best regards
Sabrina
Hello,
From your attached studio log, I don't see any error information about account issue, however, JDK 19 is not list in the compatible java environments for talend 8. The root cause may due to your JDK installation I'm supposing. Could you please make sure you did install the java 11 successfully in your studio?
Best regards
Sabrina
This is what java -version was reporting originally...
java version "11.0.17" 2022-10-18 LTS
Java(TM) SE Runtime Environment 18.9 (build 11.0.17+10-LTS-269)
Java HotSpot(TM) 64-Bit Server VM 18.9 (build 11.0.17+10-LTS-269, mixed mode)
I installed Azul Zulu, and now it reports this:
openjdk version "11.0.18" 2023-01-17 LTS
OpenJDK Runtime Environment Zulu11.62+17-CA (build 11.0.18+10-LTS)
OpenJDK 64-Bit Server VM Zulu11.62+17-CA (build 11.0.18+10-LTS, mixed mode)
But indeed I see this in the log, the same when I run Talend as when my colleague for whom it works:
!SESSION 2023-03-07 08:30:17.587 -----------------------------------------------
eclipse.buildId=unknown
java.version=19.0.2
java.vendor=Oracle Corporation
Is there a way of telling Talend Studio which Java to use on launch?
Aha, I think I've found it. The shortcut we were using to launch Talend said -vm "C:\Program Files (x86)\jdk-19.0.2\bin", removing that fixes the problem.
Hello,
Great your issue is fixed.
And you are able to modify .ini file to force Talend to plug with Java 11.
-vm C:\Program Files\Java\jdk-11_xxx\bin\javaw.exe
-vmargs
-Dosgi.requiredJavaVersion=11
Best regards
Sabrina