status of OpenJDK on Haiku

Hamish Morrison hamishm53 at gmail.com
Thu Apr 26 16:21:38 UTC 2018


On Thu, Apr 26, 2018 at 2:07 PM, Mauro de Wit <maurodewit at gmail.com> wrote:
> I still haven't had time to dig in any further, but I tried following your
> discussion.
> Do the haikuports buildbots even support cross compiling from Linux?
>
> But if I understood correctly viable route (besides cross compiling) would
> be first fixing the OpenJDK 7 recipe and then the OpenJDK 8 recipe, right?

(Resending to include the mailing list)

No I don't think the haikuports buildbots support this. You'd have to
do this cross-compilation build manually, build a tarball of the
result, and then download this as part of the haikuports recipe to
build the final result.

So your options are basically:

1) Manually cross-compile OpenJDK 8 from Linux targetting Haiku. Use
the resulting JDK to build a new OpenJDK 8 hpkg on Haiku itself.
2) Find an old hpkg of OpenJDK 7 or 8 and use this as a bootstrap JDK
to build a new OpenJDK 8 package. Someone must have one lying around
somewhere - although whether it still works I don't know.
3) Use JamVM, Classpath and the Eclipse Java Compiler to build OpenJDK
7. This is tricky and requires lots of hacks to the code to make it
Java 1.5-compatible. I would not recommend it if you value your free
time :)

I would go for the cross-compiling option myself.


More information about the haiku-port-dev mailing list