Java problem in dwm (and solution)
If you are using dwm and wanted to run Java programs, you will see, that's actually not going to happen… unless you know this solution. This I found in the Arch wiki:
Create this file: (you need sudo for that)
And put this in it:
I also put this:
in the ~/.xinitrc file, before the exec line, that starts your GUI.
You need to restart your system or source the jre.sh file.
I needed this for Jdownloader to work.
source: Arch wiki