Ask a Question
Ask Question Login
Corporate Training
  1. Community
  2. Java
  3. Question
Java

Where are the JAVA options available?

Asked by Ava Black Oct 11, 2022 1.1K views 1 answer
Share

About this question

 I have horrible, improperly-rendered fonts in Java programs such as jabref and rubymine. This can be fixed by running


_JAVA_OPTIONS='-Dawt.useSystemAAFontSettings=on' jabref

I understand that I could export these Java options as environment variables, and launch the programs from the command line. However, is there a way to set these options globally, so that all Java programs recognise them, no matter how they are launched?


I'm also know that I could modify all the *.desktop files for my Java programs, but I'm looking for a global solution.

I am using java-7-openjdk on Arch Linux. (FWIW this used to be okay with the now-broken jre7-openjdk-headless-infinality installed.)

Your answer

1 Answer

More Java discussions

Learn & Explore

Free tutorials and interview questions from industry experts — learn the skill, then get ready to prove it.

Latest Java Blogs

Guides, tips and career advice on Java from JanBask experts.