Tag: java
-
Groovy on JDK9 #unhappy
Getting compiled with jdk9. Tried using javapackager. No difference in error. Java invocation: .\jre\bin\java.exe -Xmx512m ^ -DsuppressSwingDropSupport=true -Djava.net.preferIPv4Stack=true ^ -Dawt.useSystemAAFontSettings=lcd -Dswing.aatext=true ^ -XX:+HeapDumpOnOutOfMemoryError -XX:+PrintClassHistogram ^ “-XX:ErrorFile=%USERPROFILE%\java_err.txt” “-XX:HeapDumpPath=%USERPROFILE%” ^ –add-modules java.base,java.xml,java.xml.bind,java.desktop,java.compiler -cp lfclient.jar;commons-lang3-3.2.jar;glazedlists_java15-1.9.0.jar;jfreechart-fse-1.0-SNAPSHOT.jar;jmathplot.jar;jmathio.jar;miglayout-4.0-swing.jar;groovy.jar;groovy-swing.jar;.\ ^ candela.lanforge.lfclient Am wondering if there is like something similar to the ‘tools.jar’ that I should be preparing. All of the errors below […]
-
IntelliJ configuration notes on using HugePages
Java has supported Linux Hugepages for a while, but it is not on by default. I like to squeeze the most performance out of my IDE so I turned it on. And here are the settings I used for Intellij now: > cat idea64.vmoptions -XX:+UseLargePages -XX:LargePageSizeInBytes=2m -Xms256m -Xmx768m -server -XX:+UseG1GC -XX:MaxGCPauseMillis=15 -ea -Dsun.io.useCanonCaches=false -Djava.net.preferIPv4Stack=true -Djsse.enableSNIExtension=false […]
-
Building faster with Netbeans and SSDs
The build directories that Netbeans uses are pounded a lot, and chances are you have enough ram to leverage tmpfs. Let do it! Start with our /etc/rc.local file: echo deadline > /sys/block/sda/queue/scheduler echo 1 > /sys/block/sda/queue/iosched/fifo_batch D=/home/jreynolds/.cache/netbeans rm -rf $D/* mount $D chown -R jreynolds:jreynolds $D D=/home/jreynolds/NetBeansProjects/MyProject/build rm -rf $D/* mount $D # dont furgit […]
-
Java3D, JOGL…jReality?
I’ve been reading up on where Java3D is at, and in brief, the Java3D federation effectively concluded its work in 2008 but left it…unmarketed. The API was left complete, but interaction with the AWT and Swing libraries apparently left a lot to be desired…esp if you tried running it on OSX. There are a lot […]