Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm trying to speed up NetBeans on Ubuntu.

I was reading about that on

I get this error:

sh /home/umpirsky/Applications/netbeans-7.2rc1/bin/netbeans -J-Xverify:none -J-Xmx384m -Dsun.java2d.opengl=true
Unknown option -Dsun.java2d.opengl=true

Should I use some special version of Java?

share|improve this question
up vote 0 down vote accepted

As the name sun.java2d... indicates, this is (or was)an option for the Sun/Oracle JVM, and is probably not supported by Ubuntu's default OpenJDK JVM.

You would have to install the Oracle JDK/JRE to see if that option works. It may be easier to first understand how it helps speed Netbeans up and whether you really need it.

share|improve this answer
Hehum, I wanted to give it a try...thanks. – umpirsky Jul 18 '12 at 7:39

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.