Linked by Eugenia Loli on Wed 23rd Jan 2008 22:05 UTC, submitted by koki
BeOS & Derivatives The OpenJDK Porters Group approved by a unanimous vote the proposal submitted by the recently formed Haiku Java Team to port OpenJDK to Haiku. This makes Haiku the first OS platform to be sponsored by the Porters Group, and it means that the port is now officially part of the OpenJDK family of projects endorsed by Sun. The team already has a mailing list and a project home page; a mercurial repository is also on its way. Team lead Bryan Varner gives his latest update here on his blog.
Thread beginning with comment 297515
To read all comments associated with this story, please click here.
JDK 1.4?
by CaptainPinko on Thu 24th Jan 2008 06:20 UTC
CaptainPinko
Member since:
2005-07-21

First of all I am excited about this mostly for what this will mean for Java than Haiku itself. Every subsequent port should get easier and easier. One day I hope for a port optimized for the PS3! ;)

But first two questions:

1) Why port a JDK and not just focus on the JRE first? It seems like an unecessary distraction. It's better for end-users to get applications running then to be able to code them.

2) Why 1.4? 1.5 is such a large leap ahead that it seems like they will be missing a lot by not aiming for that. I wouldn't support a Java 1.4 app w/o a large $$$ incentive just for the loss of Generics alone. It seems like the most sensible think would be to port Java 7 so that when the port is done it's update and that they can contribute towards the development of Java 7 itself.

Reply Score: 2

RE: JDK 1.4?
by Savior on Thu 24th Jan 2008 06:54 in reply to "JDK 1.4?"
Savior Member since:
2006-09-02

I guess you are referring to
"I'm having some great flash-back style memories of working on the JDK 1.4 port."?

In that sentence he is talking about the Java port for BeOS, which was 1.4. There was also a video of it running on Haiku one or two years ago.

OpenJDK, and therefore the current port are, of course, Java 7.

Edited 2008-01-24 06:55 UTC

Reply Parent Score: 3

RE[2]: JDK 1.4?
by Soulbender on Thu 24th Jan 2008 10:09 in reply to "RE: JDK 1.4?"
Soulbender Member since:
2005-08-18

OpenJDK, and therefore the current port are, of course, Java 7.


Am I the only one who find the Java versioning confusing?

Reply Parent Score: 8

RE: JDK 1.4?
by abraxas on Thu 24th Jan 2008 14:23 in reply to "JDK 1.4?"
abraxas Member since:
2005-07-07

1) Why port a JDK and not just focus on the JRE first? It seems like an unecessary distraction. It's better for end-users to get applications running then to be able to code them.

Despite what SUN tells you java is not really "write once, run anywere", it's more like "write once, broken everywhere". Most large java applications will still have to be ported to Haiku in some fashion. You need a JDK for this.

2) Why 1.4? 1.5 is such a large leap ahead that it seems like they will be missing a lot by not aiming for that. I wouldn't support a Java 1.4 app w/o a large $$$ incentive just for the loss of Generics alone. It seems like the most sensible think would be to port Java 7 so that when the port is done it's update and that they can contribute towards the development of Java 7 itself.

Can you point me to where it says they are aiming for Java 1.4. I don't see that anywhere. As far as I read they are porting OpenJDK which is Java 7.

Reply Parent Score: 1

RE[2]: JDK 1.4?
by gjames on Thu 24th Jan 2008 15:28 in reply to "RE: JDK 1.4?"
gjames Member since:
2005-07-07

Despite what SUN tells you java is not really "write once, run anywere", it's more like "write once, broken everywhere".


This hasn't been true for quite some time now. So long as the programmer doesn't make any stupid assumptions there's no reason a Java application shouldn't run on any platform for which there exists a compatible JVM.

Most large java applications will still have to be ported to Haiku in some fashion. You need a JDK for this.


Yes, you do need a JDK, but that JDK can be on any platform. You don't need a Haiku JDK to write Java applications for Haiku.

Edited 2008-01-24 15:29 UTC

Reply Parent Score: 2

RE: JDK 1.4?
by bryanv on Thu 24th Jan 2008 20:19 in reply to "JDK 1.4?"
bryanv Member since:
2005-08-26

This is not 1.4.

This is post J2SE 6, and the code that's forming the beginning of J2SE 7.

This is not just a JDK. The JRE is just a JDK without the developer tools. The Virtual Machine, class libraries, etc. are all the same. In fact, you can't get a JRE without the JDK. You need the java development tools to build a JRE or JDK. Funny thing is, those development tools for java are themselves written in java.

Chicken, meet Egg.

Reply Parent Score: 2