Is there a way to have a Java program set an environment variable in Windows and/or Linux system?
I'm creating a Java application for a desktop system, which I hope will be used in Windows, Linux and Mac. But I'm unsure if I can make the installer set an environment variable for the application.