Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I'm trying to speed up NetBeans on Ubuntu.

I was reading about that on http://performance.netbeans.org/howto/jvmswitches/

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

1 Answer 1

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

 
discard

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.