Day 624
English / German
dict.cc dictionary :: Die Kacke ist am Dampfen :: German-English translation == shit hitting the fan
Intellij idea running configurations
One can export it to ~/.idea/runConifgurations/*.xml
which can be edited with any editor or copied to another project folder.
Intellij idea enable VCS integration
Had this issue when creating a project in a folder that was not equal to the folder with the project files downloaded from git. It did not automatically recognize .git
, but I could do it from the VCS menu, something like “choose VCS type”->git etc. Disappeared after I did it.
readlink / readlink -f / JAVA_HOME
From Error on openjdk11, cannot find javadoc · Issue #26 · chenjianjx/wsdl2html · GitHub:
export JAVA_HOME=$(readlink -f /usr/bin/javac | sed "s:/bin/javac::")
readlink
resolves symlinks. Alone it just gives you the file the symlink points to. readlink -f
follows each and every symlink to the very end. On my box, the difference is:
me:~/ $ readlink /usr/bin/javac
/etc/alternatives/javac
me:~/ $ readlink -f /usr/bin/javac
/usr/lib/jvm/java-11-openjdk-amd64/bin/javac
BUT! The actual JAVA_HOME
thing should be solved as a setting in Intellij->Maven, as noted in Day 554 | Diensttagebuch.