Didier, the issue is that launching Java causes extra messages to appear in the terminal. If there's a script expecting certain output it gets confused. You can test this just by running "java -version" and seeing if you get the "Picked up JAVA_TOOL_OPTIONS" message that Dzmitry shows in comment #15. It is notable that it may not be identical and other jar files may show up (from memory.)
Didier, the issue is that launching Java causes extra messages to appear in the terminal. If there's a script expecting certain output it gets confused. You can test this just by running "java -version" and seeing if you get the "Picked up JAVA_TOOL_OPTIONS" message that Dzmitry shows in comment #15. It is notable that it may not be identical and other jar files may show up (from memory.)