file:/dev/random generated exception: null

Greg Lewis glewis at eyesbeyond.com
Mon Oct 20 16:22:28 PDT 2003


On Mon, Oct 20, 2003 at 11:08:39AM -0400, Daniel Fisher wrote:
> Looks like you ran out of random bytes in /dev/random, which is not
> uncommon.
> If you want to avoid this error use /dev/urandom.
> -Djava.security.egd=file:/dev/urandom

However, doing so will get you much lower quality random numbers.
Depending on how much you value security this may not be acceptable.
I'd try rndcontrol(8) first, as Alexey mentioned.

-- 
Greg Lewis                          Email   : glewis at eyesbeyond.com
Eyes Beyond                         Web     : http://www.eyesbeyond.com
Information Technology              FreeBSD : glewis at FreeBSD.org



More information about the freebsd-java mailing list