NetBeans and JDK9

Bradford Wetmore bradford.wetmore at oracle.com
Thu Nov 26 01:05:30 UTC 2015



On 10/30/2015 5:25 AM, Brian Doherty wrote:
> Are you running on linux? If so, try adding this to the command line:
>
> -Djava.security.egd=file:/dev/./urandom
>
> This prevents the JDK from using /dev/random, which is waiting for
> 'environmental noise' to seen the entropy pool used to generate
> secure random numbers.

A couple of FYI's:

1.  The trick of using an extra "." or "/" in "file:/dev/./urandom" is 
no longer needed starting with JDK 8+.  The 
java.security.egd/securerandom.source code has been cleaned up.

     -Djava.security.egd=file:/dev/urandom

2.
 > Early support for JDK 9 EA builds will be available in NetBeans dev
 > builds next week.

For simple debugging of applications using a JDK 9 build as my platform, 
I've been using exploded (non-image) JDK 9 builds, and it's worked 
fairly well.

     build/windows-x86_64-normal-server-fastdebug/jdk

Of course, YMMV!  ;)

Brad




More information about the jdk9-dev mailing list