Slashdot Mirror


State of the OpenJDK Project and Java 7

LarsWestergren writes "David Flanagan, the author of Java in a Nutshell, has a nice writeup on the state of the open source development of the next version of Java. The article explains the difference between the JDK7 and the OpenJDK projects and how to join them. Furthermore, it has an overview of the release schedule, proposed language changes and projects of interest. A more technical and in-depth tracking of the language changes and proposed new features can be found at Alex Miller's blog. This is the first in a series, and 'each future installment will provide an update on what's currently happening in the latest builds from the project, along with a deep dive into a new feature or API that's tracking for inclusion in Java 7.'"

13 of 184 comments (clear)

  1. v1.6 at 64bit on FreeBSDv7.0 by billsf · · Score: 2, Informative

    Simply happy to have a 'modern' jdk on a modern machine running a modern OS. Very slick stuff. :) Something new again? I call that real progress.

  2. Re:Waste of time? by aled · · Score: 4, Informative

    Isn't the OpenJDK just a waste of time (or a reinvention of the wheel?). The Sun JDK is already open, with the source code available...


    OpenJDK IS the SunJDK, is just that Sun open sourced the SunJDK under GPL with the name OpenJDK, minus some proprietary components that are being replaced by the community.
    --

    "I think this line is mostly filler"
  3. Re:Waste of time? by mhall119 · · Score: 4, Informative

    The OpenJDK is Sun's JDK, only under the GPLv2 license. Sun's JDK may make the source available, but you are limited as to what you can do with it.

    --
    http://www.mhall119.com
  4. Re:Java 7? by Anonymous Coward · · Score: 3, Informative

    Ask Apple. They're the ones that maintain Java for Mac OS X, which is why it's close to impossible to get a recent version of Java for any Mac OS X not released in the last three years.

  5. Re:Swing Sucks by samkass · · Score: 5, Informative

    In the latest JDK6 and JDK7 builds, Swing has been replaced with something that doesn't suck in terms of performance and looks halfway decent-- it's called "Swing" and has the same API as Swing. Seriously, there have been vast improvements in Swing lately, from using hardware acceleration to themes that very closely match native L&F's. I'm not sure what year you last tried Swing, but give it another look.

    In the latest JDK7 build, they even fixed the "mixing heavyweight and lightweight" z-order problem, so you can mix native AWT widgets into a lightweight Swing UI.

    --
    E pluribus unum
  6. Re:Swing Sucks by loubs001 · · Score: 2, Informative

    The default "cross platform" look and feel is indeed hideous, which is why most people would enable the native platform look and feel. The native platform look and feels were pretty bad in the past, but in Java 6 they're close to perfect, both on Windows and GTK. As for the cross platform look and feel, the Swing team have been working furiously to produce a modern replacement that will be available in a Java 6 update release early next year. It's called the Nimbus look and feel. Early screenshots available at http://www.galbraiths.org/blog/category/nimbus/ and http://www.jasperpotts.com/blog/category/nimbus/

  7. Re:Waste of time? by mhall119 · · Score: 4, Informative

    I think it's more a case of a "it isn't open source, so it can't be any good" kind of mentality, instead of trying to fix an actual problem. You couldn't fix the actual problems under Sun's old license, that was the problem. Sure you could submit patches, but you couldn't distribute your fixed version, so if your patch doesn't get accepted, nobody benefits. You were also limited as to how you could distribute the unmodified JDK or JRE, which is why most Linux distros shipped with GCJ and Kaffe/Classpath instead of Sun's JDK. This further meant that most Linux distros wouldn't ship Java applications, even open source ones, in the default install. Finally, most take a look at Mac OS X support, or 64bit support, they're both lacking in Java, and there isn't much people could do about it under the old license.
    --
    http://www.mhall119.com
  8. Re:Swing Sucks by LarsWestergren · · Score: 5, Informative

    The one problem for java applications is still startup time. I just don't know what can be done about that except preloading java at boot. Which is a waste if you are not running a java app that day.

    Actually, Chet Haase recently blogged about the changes being done in this area. Unfortunately many of these quickstart "cheats" are for Windows only, when questioned about this at JavaOne they said they didn't have enough engineering hours to do this for other operating systems but would welcome community contributions to this with open arms.

    Linux and other users WILL still benefit from the Java Kernel work by Ethan Nichola's team though, this will be backported to Java 6 as part of the Consumer JRE project.

    --

    Being bitter is drinking poison and hoping someone else will die

  9. Re:Swing Sucks by Anonymous Coward · · Score: 2, Informative

    In the latest JDK6 and JDK7 builds, Swing has been replaced with something that doesn't suck in terms of performance and looks halfway decent-- it's called "Swing" and has the same API as Swing. Seriously, there have been vast improvements in Swing lately, from using hardware acceleration to themes that very closely match native L&F's. I'm not sure what year you last tried Swing, but give it another look. Yeah, Swing has improved, but it's still awful. Last used date, umm, right now. I have use several Swing apps every single day and can't stand using them (Netbeans, JAP, others are internal only). Version? 1.6.0 (Ubuntu Feisty package). The two non-Swing programs I use are so much nicer (Eclipse, pdftk (command line)). I actually enjoy using those two, though several things in Eclipse aren't native and get very irritating.

    Try using the GTK+ native l&f. Everything looks very bad and wrong. None of the controls look right. Spacing is off. All the layout is weird. Font rendering looks awful. The select boxes look horrible and don't work properly. Nothing behaves correctly. Hell, even Firefox looks and acts more native than it and Firefox sticks way out and looks hideous compared to a truly native app. This is why I just use the 1993-ish ugly purple default Swing theme.
  10. Re:Refactoring by mhall119 · · Score: 2, Informative

    AWT and Swing need to be reconciled Reconciled in what way? Mixing AWT and Swing widgets has been fixed in current Java 7 builds. Other than that, I don't know what kind of reconciliation is possible.

    There needs to be a declarative GUI design grammar. Maybe JavaFX's grammar could be borrowed for that. JavaFX's grammar was taked from F3, which is a declarative GUI language for Java.

    And the long-promised merging of Swing and Collections needs to happen, too. (Like a popup list could be accessed as a java.util.List) Beanbindings (JSR 295) is already in the works, and will allow you to "bind" a java.util.List as the data model for a JList widget. Meaning that you can read JList info from the java.util.List, or write to a java.util.List and have the changes appear in the JList on the next repaint.
    --
    http://www.mhall119.com
  11. Re:Language-level support for XML? by WWWWolf · · Score: 2, Informative

    Awesome, just what I've always wanted. Parsing XML is an extremely important requirement in determining the expressiveness of a language, mind you. Except, they're gonna be screwed when CSV files come back. And don't even get me started on what a pickle they'll be in when those .DAT files return to claim their rightful place!

    As such, I move to recommend that Java incorporate support for parsing CSV and DAT files into the language.

    First of all, Java already has pretty good "language-level" support for XML for short while now - it's called JAXB. Basically, you can say things like "this class, Foo, represents XML tag <foo>" in your code, and use the JAXB Marshaller and Unmarshaller to save and load XML.

    And when the CSV files come back, all you need to do is implement String toCsvRow() or String toCsv() in your class and implement a marshaller/unmarshaller that walks your data structure and crunches it into CSV, or back. It's not like CSV would be some sort of rocket science or anything =)

    As for mysterious .dat files, Java has had ObjectOutputStream / ObjectInputStream / Serializable for ages for that exact purpose. Producing mysterious binary crap for over a decade now! =)

  12. Re:Still limited AMD64 support by j79zlr · · Score: 2, Informative

    So you are using a 32-bit browser. The only 64-bit java plugin available for 64-bit browsers is the insecure Blackdown java plugin which is still at version 1.4.2-something. It hasn't been updated in years.

    --
    I'm not not licking toads.
  13. Re:Waste of time? by wawannem · · Score: 2, Informative

    The OpenJDK is Sun's JDK, only under the GPLv2 license. Sun's JDK may make the source available, but you are limited as to how you can re-distribute it or derivatives of it.


    There, I fixed it for you. -W