2 ms·
System.getenv exists, so getting is easy... But setting env vars generally involves a convoluted process. You can modify the JVM's buffer, or spawn a new Proce
by shakna 2y ago
System.getenv exists, so getting is easy... But setting env vars generally involves a convoluted process.
You can modify the JVM's buffer, or spawn a new ProcessBuilder, or a few other things. But it's a nasty place to be.