Due to the nature of SteamOS being immutable, the traditional way of installing java on arch via pacman won't work.
Great idea, and this is exactly what this script does. It takes a binary release of OpenJDK and extracts them to the home directory, and the java binary there gets added to PATH
So... let's start.
-
Right click on this hyperlink and then click "Save link as..." or "Save page as..." and save the file
-
In the Deck's file manager, Dolphin, right click on the file, and then click properties
- In the properties dialog, go the the permissions tab and then click on "Is executable" and then click "Ok"
- Now right click the file again, and select "Run in Konsole"
- Reboot
For you who uses the terminal, you can just copy and paste this to your terminal
curl -L https://raw.githubusercontent.com/RushingAlien/java-deck/master/java-deck.sh | bash
And now... Reboot.