Contributed by deanna on from the almost there dept.
Kurt@ imported the first OpenJDK port today, the first step toward making Sun's GPL'd Java implementation available to our users; this will eventually mean we can have the JDK binaries available as packages.
Note that it is not hooked into the ports build yet. Nor is it ready for prime time yet! Why not? Unfortunately Sun have not yet released the full source code for the JDK; it's taking time because they have to deal with lawyers and business partners to ensure that they only release stuff they either own or have agreement to put out. As a result, this OpenJDK port is a hybrid - it's the 1.7 JVM but only 1.5 class libraries, and needs 1.5 in order to build. So calling it "1.7" is a bit of a misnomer: the API is only 1.5. It's not meant for production running of Java 6 software, but is to help develop the openjdk-based ports.
Sun said they'd have the whole thing out by the middle of 2007, and it's now May. Their big JavaOne conference is this week (May 8-11); we're hoping they'll stop making announcements and just release code :-) , so we can start shipping binaries. They've also said they'll release the full 1.6 sources soon (which will also be GPL'd), so we should wind up with a range of JVM binary packages available to OpenBSD users "real soon now".
(Comments are closed)
By Kevin (198.53.241.18) on
Comments
By Ian Darwin (216.111.165.3) on
> are looking forward to being able to host our Java web apps
> on OpenBSD.
Well, you already can do that, with some effort - at present you have to download some files and compile the whole JDK - it's a bit of a bear but it can be done. I run my web site on Tomcat and have for some time.
The real value in the JDK1.7 stuff is that it's GPL'd so we can
distribute binaries; then it will be as easy to install compiled packages of OpenJDK on OpenBSD as on other systems (actually, easier than most thanks to the way our packaging system works).
--Ian
Comments
By Anonymous Coward (138.163.0.46) on
> > are looking forward to being able to host our Java web apps
> > on OpenBSD.
>
> Well, you already can do that, with some effort - at present you have to download some files and compile the whole JDK - it's a bit of a bear but it can be done. I run my web site on Tomcat and have for some time.
>
> The real value in the JDK1.7 stuff is that it's GPL'd so we can
> distribute binaries; then it will be as easy to install compiled packages of OpenJDK on OpenBSD as on other systems (actually, easier than most thanks to the way our packaging system works).
>
> --Ian
>
>
AC here...
That is something I've never understood... if someone can build the packages, why can't we post them on a website. I mean, Damien built firmware for the iwi(4) driver, and put them on his site.
I've built them once. Took over 15 hours for me to build up to 1.5 on my laptop, but I would have posted them to my web site (if it was up at the time).
If we can build them, then what is the harm of putting them up publicly...?
I hope to see them in the -current package directory soon...
One other thing... how do you get that cool "prove your a human being" checker at the bottom???? That would be great for my website...
Comments
By sthen (85.158.44.149) on
For the same reason you can't post Windows on your website; the license doesn't allow it.
> One other thing... how do you get that cool "prove your a human being" checker at the bottom???? That would be great for my website...
The source code to undeadly is available (see below), the relevant file is captcha.c.
By Kurt Miller (69.122.119.232) on
Comments
By Leonardo Rodrigues (201.34.47.150) leonardovcr@gmail.com on
Thanks for the effort Kurt!
It will be a real blessing not having to compile the jdk. Packages all the way =)
By Kevin (70.73.58.70) on
Sorry if this is a dated question but is it yet possible to run Java on AMD64? I seem to remember not being about to compile Java as Linux emulation was required to bootstrap the build (which wasn't supported on AMD64). Am I correct in assuming this is still the case?
Comments
By Anonymous Coward (70.73.58.70) on
http://www.undeadly.org/cgi?action=article&sid=20060518065549&mode=flat
Thanks so much Kurt, for all your work.
Kevin
By Anonymous Coward (82.40.182.26) on
Great news about Java coming to OpenBSD, thanks for your hard work Kurt. Does Sun releasing the rest of OpenJDK 7 mean that I'll be able to run Java 6 applications using it?
By Henrik Kramshoej (90.184.69.92) hlk on
Great stuff Kurt, and thanks for doing this!
I would not be able to run my webserver and JAVA applications without your continued support for JDK on both i386 and amd64!
By James Mansion (147.114.226.174) on
Is there anywhere I can go to see what the progress is for OpenJDK to BSD?
James
By JavaGuy (69.3.182.158) on
Comments
By Anonymous Coward (69.36.252.2) on
Comments
By Otto Moerbeek (otto) on http://www.drijf.net
AFAIK, neither. Only after JIT is done, the pages are marked executable (and thus not writable).
By Janne Johansson (194.218.229.80) jj@openbsd.org on
>
Program that do JIT or generate live code should always have done mprotect() on those regions, long before W^X came about. When W^X appeared you quickly found those apps that for some reason didn't.
There seems to have been some confusion about this, as if you had to invent some workaround in OpenBSD, but even though Open might have been the, or among the first to enforce it, the requirement or possibility to mark pages for executability has been there for a long time.
By Brad (128.118.75.199) on
By Anonymous Coward (81.200.20.112) on
Comments
By Anonymous Coward (87.78.155.12) on
If you want it, port it.
See http://openbsd.org/porting.html for more information.
By Motley Fool (MotleyFool) on
yep, go to work on it, by the way did you see what license it's released under?
"A compatible, independent implementation of the Java SE 5 JDK under the Apache License v2"
By Anonymous Coward (24.4.110.118) on
Comments
By David Gwynne (dlg) on
Comments
By Anonymous Coward (82.40.182.26) on
Some of the (OnlyPartly)OpenSolaris drivers for the newer chips they're putting out?
Comments
By Anonymous Coward (74.13.44.21) on
>
> Some of the (OnlyPartly)OpenSolaris drivers for the newer chips they're putting out?
Hardware documentation would be nice from them.
By Anonymous Coward (80.176.71.13) on
They're probably too busy talking about paying open source developers...
By Anonymous Coward (85.222.21.198) on
Comments
By Anonymous Coward (198.208.159.19) on
who the f*ck are you asking?
By tedu (69.12.168.115) on
faq is for releases.
By Brad (brad) on
Update it with what? The FAQ is for releases and this isn't even usable yet.
By Kurt Miller (69.122.119.232) on
Unfortunately, the binary license has defend and indemnify clauses. Which makes it not possible for us to create packages at this time. There are other issues like the binary plugs have native shared libs in there too but no GPL source to build them.
Sun has started projects to replace the encumbered components but it could be 6 months to a year before they are replaced. Java packages may have to wait until that happens.