Friday, May 3, 2024
 Popular · Latest · Hot · Upcoming
0
rated 0 times [  0] [ 0]  / answers: 1 / hits: 1582  / 3 Years ago, wed, november 17, 2021, 3:53:08

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?


More From » java

 Answers
2

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.


[#36782] Friday, November 19, 2021, 3 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
ippalogu

Total Points: 215
Total Questions: 127
Total Answers: 146

Location: Denmark
Member since Tue, Jul 19, 2022
2 Years ago
ippalogu questions
Tue, Jan 4, 22, 21:49, 2 Years ago
Tue, Sep 21, 21, 09:12, 3 Years ago
Wed, May 19, 21, 02:24, 3 Years ago
Mon, Dec 27, 21, 01:44, 2 Years ago
;