openjdk on netbsd

View: New views
3 Messages — Rating Filter:   Alert me  

openjdk on netbsd

by Brent Verner-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,

    I ran into an issue trying to run my app on openjdk7/netbsd and in
the process of trying to debug my problem, I ended up building openjdk6.

  The problem was due to a buglet in the configuration for the
SecureRandom class that caused it to read from /dev/random (and hang).
Apparently, the "file:" url syntax has been changed and the correct
system property in the ${JAVA_HOME}/jre/lib/security/java.security
file in the openjdk7 package should be:

  securerandom.source=file:///dev/urandom

    I spent the time to get openjdk6 to build because I needed the
newer versions of jaxws/jaxb (for a spring/apache-cxf app).  If anyone
is interested in trying a native openjdk6, you can grab it from here:

  http://xen-1.stable.netavail.net/~brent/openjdk6

  See the _README.txt.

  Sometime over the next few weeks, I'll try to make time to create a
pkgsrc port for this.  The changes are largely based on the work of
the freebsd port, so if you want to thank someone, they deserve all
of the kudos.  Let me know how this works for you if you get a chance
to try it out.

enjoy!
  Brent

Re: openjdk on netbsd

by Tobias Nygren-4 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Wed, 30 Sep 2009 18:29:13 -0400
Brent Verner <dbv@...> wrote:

>   Sometime over the next few weeks, I'll try to make time to create a
> pkgsrc port for this.  The changes are largely based on the work of
> the freebsd port, so if you want to thank someone, they deserve all
> of the kudos.  Let me know how this works for you if you get a chance
> to try it out.

To avoid duplication of effort, you might want to have a look at
openjdk from pkgsrc-wip which was recently resurrected.
I plan to import it to pkgsrc after 2009Q3 is cut.
An openjdk6 package could probably share much code.

Re: openjdk on netbsd

by Brent Verner-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Cool.  I'll definitely have a look at the pkgsrc-wip work when I get
back to this.

cheers!
  b

On Thu, Oct 1, 2009 at 4:09 AM, Tobias Nygren <tnn@...> wrote:

> On Wed, 30 Sep 2009 18:29:13 -0400
> Brent Verner <dbv@...> wrote:
>
>>   Sometime over the next few weeks, I'll try to make time to create a
>> pkgsrc port for this.  The changes are largely based on the work of
>> the freebsd port, so if you want to thank someone, they deserve all
>> of the kudos.  Let me know how this works for you if you get a chance
>> to try it out.
>
> To avoid duplication of effort, you might want to have a look at
> openjdk from pkgsrc-wip which was recently resurrected.
> I plan to import it to pkgsrc after 2009Q3 is cut.
> An openjdk6 package could probably share much code.
>