Have you tried just leaving it in the script block...
# modules
s
Have you tried just leaving it in the script block? When you look at the .command.sh that is generated with eval, the command that is required to get the eval is tacked onto the end of it, so possibly it will just inherit the option. Maybe try an
echo $JAVA_TOOL_OPTIONS
inside the eval to see if it works to start
🤔 1
j
Yes, you're right that works! Thanks! Confirmed with a test echo in the eval.
❤️ 1