blog + microblog + linkblog + site updates + contact + about me + RSS

writer13's webspace

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)

/etc/profile.d/jre.sh

And put this in it:

export _JAVA_AWT_WM_NONREPARENTING=1

I also put this:

export AWT_TOOLKIT=MToolkit

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

░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░

In case you are wondering: This website doesn't track you. I don't use any javascript or other scripts. I don't store any information about the visitors. It's just pure old fashioned HTML and some CSS (plus some custom fonts). Hosted on Neocities and created with Emacs.

parasurv.neocities.org 2018-2022 - writer13.neocities.org 2022-