I've tried to install a few versions of Minecraft with Lutris (a Linux game manager) but only the new launcher and MultiMC installs work. In both of those installs, I can only get 1.15.2 to work with both vanilla and forge. I need to get 1.12.2 to work (which does not work for vanilla or forge). I have Java 8 & 11 installed, but currently have it set to use Java 8. The following are log outputs.
1.12.2 log from MultiMC
https://pastebin.com/EQv43znL
1.12.2 New Launcher Log https://pastebin.com/YJH9deUT
I can run 1.15.2 though, but I need to be able to run 1.12.2 for forge. Any assistance is appreciated.