You are not logged in.

#1 2016-03-17 21:03:32

Hyugga
Member
From: Santiago, Chile
Registered: 2010-03-26
Posts: 335

Oracle JDK/JRE Error. Ugly UI in applications.

Hi everyone!
I'm having an issue using the oracle JDK/JRE. When i start some java application with this jdk, for example, netbeans, it looks like this:
https://dl.dropboxusercontent.com/u/624 … nsUgly.png

The output from archlinux-java status is:

  java-7-jdk
  java-7-jre/jre
  java-7-openjdk
  java-8-jdk (default)
  java-8-jre/jre

Any ideas?

Offline

#2 2016-03-17 21:40:00

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 20,720

Re: Oracle JDK/JRE Error. Ugly UI in applications.

Try the following:
export _JAVA_OPTIONS='-Dawt.useSystemAAFontSettings=on -Dswing.aatext=true'
Then run your program.   Edit: from the same shell in which you set that export

Last edited by ewaller (2016-03-17 21:40:36)


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way

Offline

#3 2016-03-18 19:00:02

Hyugga
Member
From: Santiago, Chile
Registered: 2010-03-26
Posts: 335

Re: Oracle JDK/JRE Error. Ugly UI in applications.

Almost:
https://dl.dropboxusercontent.com/u/624 … sUgly2.png

Y have the same configuration in another PC and oracle jdk works fine. Is there something i need to delete or something?

Thanks.

Offline

Board footer

Powered by FluxBB