Archive

Archive for April, 2010

Netbeans plugin download for slow networks

April 23, 2010 Leave a comment

Obviously many people out there are taking Netbeans 6.9 beta release for a spin. Downloading a plugin won’t work any more without network timeouts. Alas, the timeout rolls back the already downloaded plugins too.

At first I thought this release had proxy issues because I could download the plugin with a browser. But once in while something came through. Fortunately there something you can do: Modify the network timeout settings. In the file ${netbeans.home}/etc/netbeans.conf prepend the property netbeans_default_options with -J-Dsun.net.client.defaultConnectTimeout=60000 -J-Dsun.net.client.defaultReadTimeout=60000. See the before/after examples underneath.

Now Netbeans seems to be downloading the plugins. Painfully slow, but it looks like it is working. 🙂

Before

# ${HOME} will be replaced by JVM user.home system property
netbeans_default_userdir="${HOME}/.netbeans/6.9beta"

# Options used by NetBeans launcher by default, can be overridden by explicit
# command line switches:
netbeans_default_options="-J-client -J-Xss2m -J-Xms32m -J-XX:PermSize=32m -J-XX:MaxPermSize=200m -J-Dnetbeans.logger.console=true -J-ea -J-Dapple.laf.useScreenMenuBar=true -J-Dsun.java2d.noddraw=true"
# Note that a default -Xmx is selected for you automatically.
# You can find this value in var/log/messages.log file in your userdir.
# The automatically selected value can be overridden by specifying -J-Xmx here
# or on the command line.

# If you specify the heap size (-Xmx) explicitely, you may also want to enable
# Concurrent Mark & Sweep garbage collector. In such case add the following
# options to the netbeans_default_options:
# -J-XX:+UseConcMarkSweepGC -J-XX:+CMSClassUnloadingEnabled -J-XX:+CMSPermGenSweepingEnabled
# (see http://wiki.netbeans.org/wiki/view/FaqGCPauses)

# Default location of JDK, can be overridden by using –jdkhome <dir>:
netbeans_jdkhome="/u01/app/jdk"

# Additional module clusters, using ${path.separator} (‘;’ on Windows or ‘:’ on Unix):
#netbeans_extraclusters="/absolute/path/to/cluster1:/absolute/path/to/cluster2"

# If you have some problems with detect of proxy settings, you may want to enable
# detect the proxy settings provided by JDK5 or higher.
# In such case add -J-Djava.net.useSystemProxies=true to the netbeans_default_options.

After

# ${HOME} will be replaced by JVM user.home system property
netbeans_default_userdir="${HOME}/.netbeans/6.9beta"

# Options used by NetBeans launcher by default, can be overridden by explicit
# command line switches:
netbeans_default_options="-J-Dsun.net.client.defaultConnectTimeout=60000 -J-Dsun.net.client.defaultReadTimeout=60000 -J-client -J-Xss2m -J-Xms32m -J-XX:PermSize=32m -J-XX:MaxPermSize=200m -J-Dnetbeans.logger.console=true -J-ea -J-Dapple.laf.useScreenMenuBar=true -J-Dsun.java2d.noddraw=true"
# Note that a default -Xmx is selected for you automatically.
# You can find this value in var/log/messages.log file in your userdir.
# The automatically selected value can be overridden by specifying -J-Xmx here
# or on the command line.

# If you specify the heap size (-Xmx) explicitely, you may also want to enable
# Concurrent Mark & Sweep garbage collector. In such case add the following
# options to the netbeans_default_options:
# -J-XX:+UseConcMarkSweepGC -J-XX:+CMSClassUnloadingEnabled -J-XX:+CMSPermGenSweepingEnabled
# (see http://wiki.netbeans.org/wiki/view/FaqGCPauses)

# Default location of JDK, can be overridden by using –jdkhome <dir>:
netbeans_jdkhome="/u01/app/jdk"

# Additional module clusters, using ${path.separator} (‘;’ on Windows or ‘:’ on Unix):
#netbeans_extraclusters="/absolute/path/to/cluster1:/absolute/path/to/cluster2"

# If you have some problems with detect of proxy settings, you may want to enable
# detect the proxy settings provided by JDK5 or higher.
# In such case add -J-Djava.net.useSystemProxies=true to the netbeans_default_options.

Advertisements
Categories: Uncategorized

Netbeans 6.9 beta (JavaFX Composer & JavaFX 1.3)

April 22, 2010 Leave a comment
Categories: Uncategorized

JavaFX SDK 1.3 !!

April 22, 2010 Leave a comment
Categories: Uncategorized

JDK 1.6.0 update 20

April 15, 2010 Leave a comment
Categories: Uncategorized

JavaFX 1.2 UI Control Components: Part Two: Nodes and Buttons

April 14, 2010 Leave a comment
Categories: Uncategorized

JavaFX Composer in Action video

April 7, 2010 Leave a comment
Categories: Uncategorized

JFXtras 0.6 released

April 7, 2010 Leave a comment

Stephen and his gang have released a new version of the JFXtras library !
http://steveonjava.com/2010/04/05/jfxtras-0-6-final-released/

Categories: Uncategorized