-
-
Save aegyed91/6580548808a2828b0cb1 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Change Java Runtime: | |
sudo update-alternatives --config java | |
# Delete Open-JDK | |
sudo apt-get purge openjdk-\* icedtea-\* icedtea6-\* | |
# Install OpenJDK with FontFix | |
$ sudo apt-get install libfreetype6 | |
# install font fixed OpenJDK (https://launchpad.net/~no1wantdthisname/+archive/openjdk-fontfix) | |
$ sudo add-apt-repository ppa:no1wantdthisname/openjdk-fontfix | |
$ sudo apt-get update | |
$ sudo apt-get install openjdk-7-jdk | |
To use this JDK only for IntelliJ, prepend this line to bin/idea.sh: | |
IDEA_JDK="/usr/lib/jvm/java-1.7.0-openjdk-amd64" | |
# JVM options | |
Add the following options to the .vmoptions file of IntelliJ | |
-Dawt.useSystemAAFontSettings=lcd | |
-Dswing.aatext=true | |
-Dsun.java2d.xrender=true | |
Also add them globally | |
$ sudo vim /etc/profile.d/java_opts.sh | |
export _JAVA_OPTS="-Dawt.useSystemAAFontSettings=lcd -Dswing.aatext=true -Dsun.java2d.xrender=true" | |
# Perform a reboot |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment