We are using the remote-ssh extension to run VS Code locally on MacOS and remotely connecting to our code repo on Linux. This part works fine. But now I'm installing a custom extension (that we developed) that requires the JAVA_HOME environment variable to be set on the remote Linux host where the extension runs. I've tried a number of things, but I can't find the right way to set this environment variable in this remote-ssh flow.
I understand the VS Code Server is being run on the remote machine to enable the remote-ssh flow. Is there a way to set my required environment variable on the VS Code Server instance so that my extension sees it?