Catch up on stories from the past week (and beyond) at the Slashdot story archive


Forgot your password?
Programming Java Software IT Technology

Sun Lowers Barriers to Open-Source Java 144

Shyane writes "Sun Microsystems is making it easier for open-source programmers to ensure their Java versions meet the company's compatibility requirements, but the deal extends only to those involved in Sun's own open-source Java project. The program grants access to its Java Technology Compatibility Kit to anyone with an open-source Java project that is based substantially on Sun's open-source Java software and governed by the GPL. Programmers need access to the test kit to prove that a project is in compliance with the Java specification. Projects that pass Sun's compatibility kit tests also can use the official Java logos for free."
This discussion has been archived. No new comments can be posted.

Sun Lowers Barriers to Open-Source Java

Comments Filter:
  • Openness! (Score:3, Informative)

    by kevmatic ( 1133523 ) on Friday August 10, 2007 @11:30AM (#20183375)
    Finally, "open, cross-platform" Java is beginning to become open. Now I just hope it becomes more cross platform, rather than "Windows, Mac, x86 Linux and whatever-you-spend-a-million-hours-developing-an-i mplementation-for."

    Seriously, I was pissed when I found out just how bad Java support is for Linux PPC. I couldn't get an iMac to go to Yahoo! games for my grandma. :(

    Now all we need is cross-platform Flash.
  • by loubs001 ( 1126973 ) on Friday August 10, 2007 @11:55AM (#20183767)
    Fortunately the GNU Classpath guys are right on board with OpenJDK. One of their most prominent members Dalibor Topic (who's the lead on the Kaffe VM) is on the OpenJDK governence board and works with Sun and other representivies on managing the project. Other promiment members like Roman Kennke, David Gilbert, Mario Torre and others. are active on the OpenJDK mailing lists and submitting patches. They are all interested in becoming regular contributors to the project.

    Other GNU Classpath developers working for Red Hat were very quick to produce a version of OpenJDK using pieces of Classpath to fill the wholes of "encumbered" components that havent been open sourced (like the font, graphics and sound engines that were licensed by Sun by 3rd parties). This is called IceTea. Though its more of a quick 'n dirty temporary project to have a completely GPL JDK right now until the holes can be plugged properly. For example, Sun released a more sophistated FreeType based font engine this week, and the rest of the holes will eventually be filled. But for now, IceTea is a great playground for experimentation. And as far as I can tell, Red Hat wants to contribute anything useful back in OpenJDK.

    You might that the GNU Classpath guys would be dissapointed, feeling that their hard work is obsolete, but no, they're happy because they know they were a big part of the reason why OpenJDK exists, and they're looking forward to contributing.

  • Re:Openness! (Score:4, Informative)

    by cerelib ( 903469 ) on Friday August 10, 2007 @12:01PM (#20183859)
    IBM has a free version of Java, I believe up to 5.0, for Linux on PPC. I have it running on an openSUSE PowerMac. I believe this [] is the site to look at. They don't say PPC, but you want the pSeries version (in both 32 and 64 bit varieties).
  • Re:don't need this (Score:3, Informative)

    by Anonymous Coward on Friday August 10, 2007 @12:02PM (#20183863)
    Translation: No Microsoft MSJava++ with Sun's Java logo on it.
  • by matfud ( 464184 ) <> on Friday August 10, 2007 @01:34PM (#20185289) Homepage
    Actually hotspot compiles code after it has been interpreted for a while and it has noticed that it is a "hotspot" in the code (sort of there in the name really). The slow start up is because
    a) it loads and validates a fuck load of classes at startup (although the preverified core classes can be cached)
    b) it starts running in interpreted mode.

  • by AKAImBatman ( 238306 ) <akaimbatman&gmail,com> on Friday August 10, 2007 @01:34PM (#20185299) Homepage Journal
    You continue to fail it. Amazing.

    Then explain why there's a "javac.exe" under Windows and [Linux]

    Simple. It's a stub. Typing "java -cp tools.jar" all the time isn't very convenient, so Sun provides executables that load the JVM and execute the compiler. If you look in your JDK installation directory, you can find the tools.jar file in the "lib" subdirectory. You can try running it from that directory as above, or look inside the zip file for the mindblowing (eye roll) Java class files for the compiler.

    No, it can't. By definition you have to start with a JVM written in something that isn't Java. Otherwise your JVM is written in bytecode that nothing can run, since it isn't compiled to native code until runtime.

    Perfect example of someone who didn't read or take the time to understand. The Jalapeno VM and JNode OS are both written in pure Java. They used their own JIT compiler to compile themselves into native code. That native code is a Java program that runs on the native platform.

    By that definition, Python, Perl, and JavaScript are all compiled languages.

    Python is not compiled. Perl is not compiled. Javascript is not compiled. These languages are read in, line by line, and executed. You fail it.

    This is CS101 stuff we're talking about here. How badly can you fail it?

Think of it! With VLSI we can pack 100 ENIACs in 1 sq. cm.!