HF RL Explorer

Task: Configure Persistent JAVA HOME Switching Across Terminal Sessions

Task: Configure Persistent JAVA HOME Switching Across Terminal Sessions: a task in Terminal-Lego-15k (Harbor dataset). Create a shell script solution that allows a user to switch their JAVA HOME environment variable between two Java versions, and have that change persist automatically in all newly…

The task

Create a shell script solution that allows a user to switch their `JAVA_HOME` environment variable between two Java versions, and have that change persist automatically in all newly opened terminal windows — without requiring a logout/login or reboot.

Part of PrimeIntellect/Terminal-Lego-15k.