Skip to content

Instantly share code, notes, and snippets.

@mageddo
Created May 2, 2016 16:59
Show Gist options
  • Select an option

  • Save mageddo/76bbfe962af1bdf2156f33d76c52a66b to your computer and use it in GitHub Desktop.

Select an option

Save mageddo/76bbfe962af1bdf2156f33d76c52a66b to your computer and use it in GitHub Desktop.
Setup fixed font JDK

Downloading and installing the fixed jdk (First way)

$ JDK_LINK="http://googledrive.com/host/0BwBEh4QJvkXjQzIxSFJtal9LNXM" # x64 bits
$ TAR_NAME="/tmp/jdk1.8.0-amd64-font-fixed.tar.xz"
$ curl -L $JDK_LINK > $TAR_NAME
tar: jdk1.8.0-amd64-font-fixed/man/ja: Cannot create symlink to ‘ja_JP.UTF-8’: File exists # no problem here
tar: Exiting with failure status due to previous errors
$ sudo tar -xf $TAR_NAME -C /opt/

Downloading and installing the fixed jdk (Second way)

$ sudo add-apt-repository ppa:no1wantdthisname/openjdk-fontfix
$ sudo apt-get update

# and choose your jdk version
$ sudo apt-get install openjdk-7-jdk
$ sudo apt-get install openjdk-8-jdk
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment