Java to be Open Sourced in October 267
thePowerOfGrayskull writes "Sun is now stating that the Hotspot JVM and javac will be open-sourced in October of this year, with the rest to follow by the end of 2007. There is still no word as to which license it will be released under. For those who haven't seen it yet, Sun has previously opened a public developer community site for soliciting feedback and providing updates about the process."
eh? (Score:3, Insightful)
Big deal for OSS (Score:5, Insightful)
Okay, but what does "open source" mean? (Score:5, Insightful)
Is this "open source" as in Apple's "public source" Darwin project, where they're basically going "you can see and compile all the code, but no way are you going to be redistributing this as any kind of commercial project"?
Is this "open source" as in Microsoft's "shared source" projects, where it's totally not open source at all except in a PR sense?
Is this "open source" as in Sun's Solaris "open sourcing", where it's open source in all technical senses, but it's under an unbelievably elaborate license which exists for no reason except to engender GPL incompatibility and keep Linux from benefiting from the source release, which effectively scares everyone away from the project?
Cuz really, unless "Java to be Open Sourced" really means "Java to be Open Sourced", it won't make a difference, acceptance of Java will continue to be held back by the perceived closedness of the Java language and real linux-unfriendliness of the Java runtime, and languages like C#/Mono will continue to make inroads until Apache finishes their Harmony project.
So all the juicy bits are to be left for later (Score:2, Insightful)
And then there's the license bit, but I shan't speculate on that uninformedly.
Re:Good (Score:5, Insightful)
Re:Big deal for OSS (Score:4, Insightful)
Why is it only Java is so fragile that it can't withstand openness?
Re:Okay, but what does "open source" mean? (Score:3, Insightful)
Comment removed (Score:5, Insightful)
Re:Does it still matter? (Score:5, Insightful)
who cares? (Score:2, Insightful)
Java is still only good for simple embedded web applications, or server-side applications. From an application developer's stand point, Java grew out but never grew up. Open sourcing doesn't fix any of this.
Mono is still a better option.
Re:So all the juicy bits are to be left for later (Score:4, Insightful)
Exactly. Free Software has plenty of JVMs and compilers. Heck, the Free Software world has too many JVMs and compilers. What's needed are Java compatible class libraries under a license that is both amenable to proprietary and Free Software developers.
At this point Sun is simply trying to draw support away from the various Free Java implementations. Sun knows that if the Free Software implementations ever become popular that its chances of controling Java long term are essentially flushed down the toilet. Sun reacted too late with Solaris, and it is desperate to keep Java from suffering a similar fate. So it is doing everything in its power to keep people away from Free Software Java-alike systems.
If Sun were serious it would A) concentrate on releasing the Java class libraries, and B) it would have given Java developers some guidance on the license that it will be using. Everything else is just fluff.
Comment removed (Score:3, Insightful)
Re:This is what I don't understand about Sun... (Score:3, Insightful)
There is a truth in what you are saying. The real problem with Java is the lack of pace, and the locked Java Community process, which locks the platform and language. Also, since Sun was keen to hold on to the Enterprise space, the platform became too focused on Enterprise applications, while the language was stagnating. It took C#, Python and Ruby to finally get some new language additions.
Had it been Open Source, a lot more (free)wisdom would have gone into the core language.
Re:Better and smaller class libraries (Score:3, Insightful)
A perfect Java distro would maybe drop all the deprecated methods (will Sun ever do that? Java 1.6 is a good opportunity...) and unbundle some of the least-used stuff like the CORBA and RMI stuff. Heck, even Swing and AWT should be optional packages.
And the fragmentation begins...
Open source changes... (Score:2, Insightful)
Add operator overloading (and I mean PROPER operator overloading, not some find-and-replace garbage) to the JDK v6, and you've got a language that (despite being slower than C++ in some cases) towers over C++ in so many ways - garbage collection, easy exception handling, a huge standard library...
Re:Better and smaller class libraries (Score:3, Insightful)
As for deprecated stuff, it should be avaliable as an easy-to-install packages that aren't installed by default. It's a real shame that some of Sun's own demos in Java Tutorial designed for an old VM don't work on 1.5 (maybe they've fixed this now, I don't know). One of the strong points in Java is that it's abstracted so that if you write an app you're sure it will work pretty much the same after ~5-10 years. If an OS's API changes, Java's classes can be rewritten so that older apps still work. That's why many educational stuff is written in Java (or Flash) - because if you buy an encyclopedia or dictionary (things that don't change over time and don't need to do any platform-specific stuff), you won't be buying upgrades every year just because some library is "deprecated"; after all, these things are pretty much like music and videos, platform-independent and not changed every year.
Re:Better and smaller class libraries (Score:1, Insightful)
But Sire, the train has left the station (Score:2, Insightful)
1. In the application space, there are much more productive languages and tools. Think Ruby, Python. And extreme performance has never been a Java forte either.
2. Core language capabilities are obsolete now. Bruce Eckel's famous piece The departure of the hyper-enthusiasts [artima.com] captures this nicely. And looking at the C# 3.0 spec, with lambdas, automatic type inference, monadic comprehensions and lots of functional programming goodness, Java is left way behind. MS is also way ahead in adding dynamic languages support to the platform (Microsoft supported IronPython v1 for
3. I think Gosling needs to move on. After he said Ruby/PHP are just scripting languages, and they just generate web pages, and lack the "power" of Java. [Which "power"?]
4. With Vista MS would have finally killed Java's Run Anywhere promise. It will still run, but it will look totally out of place. The new eye candy, and the good communication foundation (WCF) is better and easier accessed through
The only reason to have Java is for compatibility in a "Legacy" Java environment. Kind of the same reason why we still have mainframes. These days I cannot think of a single reason why someone would go with Java, other than interop.
Re:Okay, but what does "open source" mean? (Score:3, Insightful)
If Java were GPL'd it would require that every single project that use it also be GPL'd.
GPL'ing Java would kill virtually all commercial usage of it.
LGPL'd, maybe....
Re:Big deal for OSS QWZX (Score:5, Insightful)
I know, I shouldn't feed a troll....
You are the reason they were reluctant to make it (fully) open source.
You obviously are confident you know more about what makes a good language than the designers of Java do. Have you read even one paper at jcp.org [jcp.org]? Have you looked at the people [jcp.org] who make up the JCP? IBM, Apple, Cisco, Intel, HP, ATI, NVidia, Creative Labs, Google (!), Apache, Apogee, Namco ... you really think you're smarter than their combined intellect and months of discussion? Trust me, you're not.
I'm sure you and a lot of others are already giddy with excitement over the idea of making a "better Java" with const [sun.com] and operator overloading [sun.com].
When you understand the "less is more" [sun.com] principle, you'll begin to understand why all your pet features don't belong in the language.
Re:Better and smaller class libraries (Score:4, Insightful)
And for the love of gods, why bother trimming the libraries? If you don't use the classes, they don't get loaded into the VM. Everything else is inflating including the OSes and you want to trim the programmers libraries?
The more I look at your post, the more I realize you are straddling two fences. You say drop Swing and AWT implying that you are on the server in which case, your not downloading the JVM & libraries to the client anyway. Then you say Java needs to be like a Java Web Start install, meaning you are on the client side and therefore need the libraries you just said to toss! Oh and btw, Java Web Start is part of the jre download - if you have to download and install something to the client, why not download it all at once? Besides, the libraries *are* broken up - j2se and j2ee, correct?
Re:But Sire, the train has left the station (Score:2, Insightful)
"1. In the application space, there are much more productive languages and tools. Think Ruby, Python. And extreme performance has never been a Java forte either."
Uhm, yeah. Let me guess, never programmed in Java, huh? Java on the server runs as fast, and occasionaly faster than native code. About 8 years ago, Swing was dirt slow, but even it has picked up since about 1.4.2 release. Don't even ge me going on the security superiority of VMs and compiled coded vs scripting languages like Ruby and Python. Clearly you do not have a clue.
"2. Core language capabilities are obsolete now. Bruce Eckel's famous piece The departure of the hyper-enthusiasts captures this nicely. And looking at the C# 3.0 spec, with lambdas, automatic type inference, monadic comprehensions and lots of functional programming goodness, Java is left way behind. MS is also way ahead in adding dynamic languages support to the platform (Microsoft supported IronPython v1 for
"3. I think Gosling needs to move on. After he said Ruby/PHP are just scripting languages, and they just generate web pages, and lack the "power" of Java. [Which "power"?]"
Go to Jini.org, jxta.org, or any one of the number of Java based projects out there and show me how Ruby, PHP, Python or even C# can do some of that stuff. BTW, Ruby and PHP are just scripting languages. Get over it.
You could also admit that there are times when Java is the right tool and times when Ruby or PHP is the right answer.
"4. With Vista MS would have finally killed Java's Run Anywhere promise. It will still run, but it will look totally out of place. The new eye candy, and the good communication foundation (WCF) is better and easier accessed through
Huh? Sun and MS have signed a partnership agreement. If you don't think there are Sun engineers busy coding a Swing PLAF that matches Vista, you are an idiot. Actually, considering the other stuff you wrote, you are an idiot. Besides, Vista doesn't look like it will see the light of day anytime soon so I shouldn't worry. Oh and guess what, if Java is OSS, then a whole buhc of new engineers can pitch in to port it to the new platform. That sort of the point.
Man you kids are really getting sloppy with your trolls these days...
C# 3.0...your comparing curent Java 1.5 with an unimplemented spec, basically vaporware. Right. How about you compare Mustang(1.6) or Dolphin (1.7) with C# 3.0. Only and MS fan-boy would even write this crap.
Re:Big deal for OSS QWZX (Score:5, Insightful)
Yeah. The individual usually is smarter than the group.
drop dead, Sun (Score:3, Insightful)
Now that FOSS implementations are mature and nearly complete, Sun is trying to undermine them by finally open sourcing Java (at least in name--in practice, the license will probably be a sham).
The sooner Sun goes out of business, the better for everybody. Microsoft at least makes no secret about where they stand on FOSS, but Sun pretends to be a friend to FOSS but keeps spreading FUD about FOSS and keeps stabbing FOSS efforts in the back.
Re:Big deal for OSS QWZX (Score:4, Insightful)
Unless you're posting that from an AT&T Unix console, you're benefitting from people who had the hubris to think you're wrong.
The road of progress was paved by people who thought the current way of doing things was dumb, and who set out to find a better alternative. This is generally regarded as a good thing (except by people with a vested interest in the old ways).
Re:Okay, but what does "open source" mean? (Score:3, Insightful)
That would satisfy Sun I think - the main deterrent to open sourcing Java has been MicroSoft getting their grubby hands on it again. With GPL, that can't happen (in theory at least).
Remember, a GPL word processor does NOT make your letters GPL. A GPL Java environment would NOT make your Java programs GPL.
Commercial use can continue, without modifying Java itself - which is exactly what we have today.
I don't see a problem.
Re:Big deal for OSS QWZX (Score:3, Insightful)