IBM Collaborating With Open Source Java Project 149
lord_rob the only on writes "According to news.com, IBM has begun participating in the open-source Java project Harmony and intends to contribute code to the initiative, according to a Big Blue executive. At this point, IBM's participation is limited to thoughts on design, but the company has plans to contribute code to the project in the future." From the article: "We really like to see the community get started, and they're still working out the rough edges of what they want to deliver. And we didn't want to disrupt that,"
Eclipse? (Score:4, Informative)
Re:Eclipse? (Score:2, Insightful)
Re:Eclipse? (Score:5, Informative)
In fact, fedora core 4 comes with a natively compiled version of eclipse and a 100% open source jvm implementation.
Still needs quite a bit of work, but has definetly come a long way
Re:Eclipse? (Score:3, Informative)
Re:Eclipse? (Score:3, Insightful)
I'll say it again. Fedora will always be buggy, unstable and untested. That is what it was designed to do, serve as a community testing ground for products and services that may or may not make it into the commercially supported enterprise editions.
Redhat themselves are very clear about this on the Fedora project page [redhat.com]
Stop complaining about Fedora and get a tested, 'stable', desktop focussed distribution. Most importantly, stop encouraging those new to Linux to try it.
Re:Eclipse? (Score:2)
I have found it to be too buggy to use for java at work, so I'm still doing most development using regular eclipse on top of the Sun jvm.
Never had it crash the entire OS.
Only played a little with the c++ dev environment, so I can't vouch for stablility there.
I am looking forward to trying out native eclipse to do some php development once phpeclipse.sourceforge.net upgrades to the 3.1 eclipse version from 3.0.x
Re:Eclipse? (Score:2)
If the whole thing was somewhere like in
PATH could then just include
Re:Eclipse? (Score:3, Insightful)
Why wait when Mono is open-source and C# kicks ass? I say this having done both server and GUI Java development for 5 years, and a having been a very vocal detractor of C# at its inception, until I finally tried it out.
Try Mono; I think you'll be pleasantly surprised.
I tried .NET and C# (Score:2)
All good style from the Java world (that I have grown accustomed to after 5 years of java, done 10 years C++ before that) is gone, the
Re:I tried .NET and C# (Score:2)
I hope you're happy on your little island.
Here in the Real World(TM), we have to work with other people's code too. Code from our team or project members, code from other projects, code from third-party systems, code from libraries and plug-ins, code from that ghastly project from a couple of years back where they were all incompetent and have now moved on but we still have to use it and we haven't got the budget to rework all the
Eclipse is Open Source (Score:2)
It ships with Fedora Core 4 as the main IDE and Red Hat sells commercial support for it as Red Hat Developer Suite.
Re:Eclipse? (Score:4, Insightful)
I'm a programmer. I've been burned by bugs in my tools before. Sure MOST bugs are my fault, but once in a while I'm pretty sure it is the tool's fault. With open source I can fix those bugs and move one. With closed source I'm at the mercy of vendors who rarely care about my project.
Then too, a lot of documentation is bad. Either it doesn't exist, or the program doesn't work like the docs say. The source code is definitive about what is really going to happen, and I can read it. IF you are not a programmer it doesn't matter because you can't read the source, but I can, so it matters.
Re:Eclipse? (Score:2, Insightful)
Re:Eclipse? (Score:2)
I learned Smalltalk before Java. C before both.
With Smalltalk, I learned more from the existing code of the platform, than from everything else combined.
Access to the source code is so beneficial, you could say it's critically important.
Going back to proprietary platforms, and black-box APIs is so painful!
Re:Eclipse? (Score:3, Insightful)
Re:Eclipse? (Score:2)
You're right about most things, but in the case of Sun's java, you can read the source behind the core classes. Rarely would the source behind the hotspot compiler (doubtless one of the most complicated pieces of software ever written) help you.
Not that I disagree that opensource would be better, but I'm not sure that it's best to spend the effort to attack a system that is very close, when there are so many that are not close at all.
That being said, it's good to have large, complex systems like this open
Re:Eclipse? (Score:2)
Re:Eclipse? (Score:2, Insightful)
I have read that Mono is complete enough to run VB ASP.NET applications natively on a *nix box. (But not VB GUI apps since they don't have the Windows GUI classes implemented).
As for "Open Source" bias, it ranges from a politica
Re:Eclipse? (Score:4, Insightful)
Part of the commercial reason to use opensource is to future-proof yourself against long-term eventualities like this. If Java decides to stop letting you bundle the JVM with your OS, then you can't provide OpenOffice anymore without paying them. If MS stops supporting a platform, then you're screwed if there's an unworkable bug and you're stuck on the platform.
Fundamentally, when you invest labour on designing products and infrastructure based on a closed-license platform, you gain fealty to them. They now control you - they can make you lose the use of the product of your labour. They can stop providing their product, they can refuse to fix un-workaround-able bugs, or they can just go out of business and leave you high and dry.
With opensource, you can lose your support provider, but you can never lose the platform - at worst, you may have to maintain it yourself.
Yes, you may even have a solid, bullet-proof contract with your provider - but what happens when they go out of business?
Do you know how to read? (Score:2)
Simple - what happens if the platform goes away? What happens if microsoft moves away from .NET, and you want to move to a new platform (PowerPC for example).
Who gives a crap - I have never touched the Microsoft .Net runtime. You don't need Microsoft anything to run or use Mono.
Hell, what happens if 20 years from now you find you need an old tool you made in C#? Will it still work? Will there be a compatible .NET run-time for 256-bit computers?
You re-compile Mono for the 256 bit computer?
it is cal
Re:Do you know how to read? (Score:2)
This sounds like an argument saying that whether or not a product is open-sourced is irrelevant.
My point wasn't arguing against
Re:Do you know how to read? (Score:2)
I think they said that the only thing that has patent issues is Windows.Forms.
It seems to me that most Linux guys are going to use glade#, gtk#, or qt#, so I don't think that's much of an issue long-term.
Re:Eclipse? (Score:2)
Have you heard of MS agreeing to escrow contracts? Who with? What about Ashton-Tate, you know, the compnay that used to own the PC database business?
When a company feels in a powerful position relative to it's customers, it will rarely agree to an escrow contract that has any utility. Even when it IS a valid escrow contract, how do you know what you'll be getting? One co
Re:Eclipse? (Score:2, Insightful)
Each and every free software activist want the opening of ALL source code, no matter if they're actually wanting to have a look at it. As one of many, I don't see any area where I woudln't free my code, but unlike some, I can understand that resources may be non-free (e.g, in a videogame, while the engine should be free, say dual licenced GPL /
Re:Eclipse? (Score:2)
Re:Eclipse? (Score:2)
I can't really understand why anyone wouldn't be biased this way. It's our common property, and the more use it gets, the better it becomes.
Re:Eclipse? (Score:2)
I decided to focus on C# precisely BECAUSE it has an open-source implementation (and because it's an ECMA standard, which is a very nice feature). Sun can completely change the whole Java language whenever they feel like it -- that bothers me. You can't change an ECMA standard on a whim -- if you learn C#, you've learned something that'll be fairly static for a while.
Come to think of it, Sun could sell Java to someone else, they could decide just to stop developing it, etc. In a way, the Mono
harmony / kaffe (Score:1)
What is the relationship between Harmony and Kaffe [kaffe.org]? Anybody know?
Re:harmony / kaffe (Score:1)
Re:harmony / kaffe (Score:1)
Re:harmony / kaffe (Score:2)
I don't think that's a "given" at this point, but some of the people who are involved with both Classpath and Kaffe, have expressed support for, and interest in, Harmony. Whether that will extend to those projects actually offering their code to Harmony or not, is still up in the air, AFAIK.
Re:harmony / kaffe (Score:2)
Re:harmony / kaffe (Score:2)
Re:harmony / kaffe / sablevm (Score:1, Interesting)
answering my own question (Score:2, Interesting)
Once I found the Harmony site from someone else's post (hint: it's in the Apache incubator, not a full-fledged project yet), I saw this in the FAQ:
Talk about fragmenting the standard... (Score:5, Insightful)
Looks like ~not~ open sourcing Java is fragmenting the Java language after all!
Re:Talk about fragmenting the standard... (Score:1)
Re:Talk about fragmenting the standard... (Score:4, Insightful)
No matter how compliant Harmony purports to be it is still going to be different than Sun's JVM. Any sysadmin that has ever had to juggle multiple JVMs can tell you that Sun's Write Once Run Anywhere motto can quickly become Write Once Debug Everywhere.
It's also entirely possible that Harmony won't even try for complete compliance. Don't forget that IBM is still pushing their non-Java SWT instead of Swing. Red Hat already has its own Java stack that's good enough to run most Java Free Software (including Eclipse), but no one is pretending that it's Java.
Sun has stated that it doesn't want to "free" its J2SE stack because it is afraid that source availability would lead to forks. However, no fork of Sun's code is likely to diverge from Sun's fold as much as a completely new Free Software Java-like implementation.
Re:Talk about fragmenting the standard... (Score:3, Insightful)
But this is a general problem of having different JVMs. So now also having one that is open source doesn't change the situation in any way.
"It's also entirely possible that Harmony won't even try for complete compliance. Don't forget that IBM is still pus
JVM versus platform (Score:1, Informative)
The language is not simple, but it is well documented and understood. Creating a JVM which is absolutely correct and compliant with Sun's is not hard.
What is hard is implementing the class libraries. These are huge, beastly, and not all that clearly documented. And unless you count gnu-classpath
Re:JVM versus platform (Score:2)
Rubbish. 'fragmenting the community' is nothing to do with open sourcing Java. I also think that 'linux/open source' is a geekcist remark, and I won't tollerate geekism. Not everyone in these communities agrees with that, I would say most would choose the cowboy neal option in a poll and carry on writ
Re:Talk about fragmenting the standard... (Score:1)
Re:Talk about fragmenting the standard... (Score:2)
Re:Talk about fragmenting the standard... (Score:1)
Re:Talk about fragmenting the standard... (Score:2)
Do you have an example? I have never found this; even substantial applications like NetBeans run on different VMs, and even different vendors VMs.
Don't forget that IBM is still pushing their non-Java SWT instead of Swing.
Apart from the fact that few people are using SWT, it is not an instead-of situation; any distribution of Java called Java has t
Re:Talk about fragmenting the standard... (Score:2)
Re:Talk about fragmenting the standard... (Score:4, Insightful)
The JRE for Windows XP is already 15.4 MB. If there was 5 different REs that I had to download to use all the Java flavors, that wouldn't be cool.
I feel that Sun's thinking is sound from a business and usefulness perspective, even if it is starting to backfire.
Re:Talk about fragmenting the standard... (Score:1, Insightful)
Re:Talk about fragmenting the standard... (Score:3, Interesting)
Talk about missing the point!
The person you are replying to was pointing out that Sun's stance causes fragmentation of the Java platform.
Pointing out that Sun not wanting to fragment the Java platform is entirely beside the point. The best thing they could do to avoid fragmentation would be to make their implementation open-source. Anything else, and it will force many people to create new implementations rather than use Sun's.
Re:Talk about fragmenting the standard... (Score:5, Informative)
This project is implementing a Java Virtual Machine. How in the world does this fragment the Java Language any more than let's say Apple or IBM's many JVM implementations?
Now, if Harmony intends to "extend" the Java Language by lets say, adding new keywords, just as Microsoft did with J++ at one point, then you can start worrying about Java Language fragmentation (in which case Sun would not allow Harmony to call itself a Java(TM) Virtual Machine).
No, you're not quite right. (Score:2, Informative)
Platform fragmentation is as, or more important than, language fragmentation*. A language cannot stand alone. You need libraries. Platform fragmentation is what Sun is worried about right now, not language fragmentation. The JVM is not even part of the "open source java" debate, since open source JVMs already exi
Mod parent up - Java (Score:2)
They have stated the issue is complex, and have open sourced a heap of good stuff, including their Solaris, which has had limited exposure, but what has been seen is awesome, and I am suprised many more slashdotters don't rave about Solaris 10.
IBM have also open sourced a lot of stuff, however cloudscape and their voice work is less fundemental (and both built on Java anyway).
Java is a
Neat (Score:5, Interesting)
The "control it" side of things keeps winning, because in the end Sun makes the JVM so they can technically decide what goes in and how it gets distributed.
This is why I think Harmony is interesting. Sun will no longer control the only good JVM, and if Sun can't stay at least as good as Harmony, then Sun will no longer control the primary JVM. This makes the JCP's democratic ideals a lot more attainable because Sun's just lost their biggest degree of control. IBM trying to weigh in on the side of Harmony, given this context, makes a LOT of sense. They can begin to grow the language how THEY wanted again.
This is going to be good for IBM, good for open source, and in the long run good for Sun once they realize that trying to control Java too much isn't really in their best interest.
Re:Neat (Score:2, Interesting)
This is something I confess to not really understanding. The IBM java SDK is as good as the Sun one (probably the only other full fast implementation) why don't they release this as open source. I'd always presumed they couldn't open source is due to Java trademark rules but then if harmony is allowed to do it that can't be the reason.
Or does the IBM Java SDK contain code they don't own and they can't be bothered to rewrite it?
Re:Neat (Score:3, Informative)
If IBM ha
Re:Neat (Score:2)
Re:Neat (Score:2)
What we need is IBM's JVM to be open-sourced PLUS a finished GNU classpath. [gnu.org]
Re:Neat (Score:2, Insightful)
How does this differ from the incompatible Java framework released years ago by Microsoft? If Harmony takes "the lead" - will it be possible that it can be taken to court by Sun? Or is it simly because of the monopoly market situation that Microsoft is and were in?
Making assumptions (Score:2)
There has been some backlash over the way the Harmony project is being managed, some of it kinder [pastiche.org] than others [jroller.com].
Personally, I agree with Charles Miller - start the project with some working code. down the road, you may have to refactor, but that's a part of software development.
so? (Score:5, Funny)
"IBM's participation is limited to thoughts on design, but the company likely will contribute code to the project".
I put this through BabelFish's translator. Apparently, this could be taken to mean:
"A big company is going to do little to help out, but is willing to share credit for an open source project."
Me? cynical? Never!
Re:so? (Score:1, Insightful)
What about GCJ? (Score:3, Interesting)
Swing? (Score:5, Informative)
Re:Swing? (Score:3, Insightful)
If you are willing to forgo Swing and use SWT then GCJ is a pretty compelling choice.
Re:Swing? (Score:2)
And god forbit, your users might not be so drastically punished for your terrible error of judgement to use java to write a desktop application!
Its a win win!
(for completeness: swing is supposed to become better with the next java release)
Re:Swing? (Score:1)
http://savannah.gnu.org/cgi-bin/viewcvs/classpath
If you want javax.swing.* to be complete, why not join in and make it happen?
Re:Swing? (Score:2)
I thouroughly hate Swing. It's very usefull, has great concepts of a good GUI implementation, but it forgets that about 90% of the users want their native widgets put to good use. SWT is quite enough for me. Both Eclipse and Azureus are on top of the heap for Java GUI implementati
Jave Everywhere (Score:1)
Having an open source Java... (Score:1, Offtopic)
[plug]
Support your local open source static code analysis [pmdapplied.com] utility!
[/plug]
Re:Having an open source Java... (Score:2)
Yup, true.
> An empty catch block? Useful for
> ignoring non-critical errors.
Yup, true.
> Empty If statements? Sometimes [...]
Occasionally but rarely true. But I'd venture to say that the vast majority of empty if blocks are either bugs or just sloppy coding and should be cleaned up.
So yes, you're right, sometimes the warnings can be ignored. But in many cases, they are legitimate.
And Harmony is? (Score:2, Funny)
Re:And Harmony is? (Score:2)
in summary: (Score:3, Insightful)
Here we go (Score:5, Interesting)
Re:Here we go (Score:2)
Exactly. There are a lot of programmers who don't understand that less is better. Java has already allowed too much, though my gripes are likely a little non-standard. For instance, curly braces after an if/for/while should be mandatory, not optional....
The whole point of a language is to codify thought in a unambiguous and easy to understand manner. Having 20 ways of doing anything doesn't help. The guys who love C++ also tend to be the loudest, most obnoxious bunch when it comes to standards. If java was
Re:Here we go (Score:2)
The language is controled by the Java Community Process. That involves Sun, 3rd Party companies and community spokespeople.
A question about Java (Score:2)
That is how MS-word became popular since M$ allowed Word to be pirated. The same applied to Windows.
Re:A question about Java (Score:1)
The question is why doesn't Sun let Java "go" ?
Vendors don't put java in the "community" releases because of licensing issues (hint: not free). It's more of a philosophical thing. For the same reason you don't find mp3 players in some of them.
I don't understand why you try to make a connection to spreading java by including it in a distro and spreading windows by pirating it. It's not the same thing. I have java on my linux system and I got legally from Sun's webpage.
Re:A question about Java (Score:2)
The concept was about "spreading" a piece of software...not the concept of pirating vs legally obtaining a software.
But I understand your point and totally agree with it.
Re:A question about Java (Score:1)
My sort of off-topic comment is next. Why does an open source jvm/wanting to open source the language appeal to everyone? Well okay, the idea of an open source jvm isn't so bad since with Sun's licensing, we can't get it bundled with our distros
Re:A question about Java (Score:2, Informative)
Can someone inform you why SUN will not allow Linux distros distribute java? I know it about licensing but what is the logic behind this?
The last thing Sun wants is Linux distros being competitive. The "let's support Linux" war was lost at Sun a couple of years ago... Java and its licensing is a weapon in that war. Why make it possible for Linux distros to legally distribute Java easily when it would take sales/support money away from OpenSolaris? *That's* why an open source Java is needed... or prefera
Re:A question about Java (Score:2)
Sun does allow Linux distributions to distribute Java. For example, Slackware [slackware.com] comes with the Java SDK as standard.
Sun, IBM, and Compatibility. (Score:4, Interesting)
Yet, IBM loves it and is now, apparently, committing to it. Once IBM backs an open-source product (e.g. Linux) and ships it to customers, then IBM ensures that the product performs flawlessly. Who can doubt that IBM is a significant contributor to the high-reliability of today's Linux build? The strength of IBM is its commitment to its customers.
What is interesting is that, from a business perspective, there is no need for Harmony to be fully compliant with Sun's closed Java standards. The route to divergence is to (1) define a new language called "Harmony", (2) place it with a standards body, (3) maintain full compatibility with only the current version of Java (in order to support all of IBM's current customers and developers) but deliberately diverge from compatibility for future versions of Java, (4) arrange for IBM to jettison use of future versions of Java and to fully utilize Harmony, (5) generously borrow the best concepts from Java while ensuring that the word "Java" is never used (in order to avoid a lawsuit), and (6) build support for Harmony in GCC. This strategy could work.
C# is a ripoff of Java and is quite popular.
There is nothing magical about the Java name. Just consistently use the name, "Harmony", on this proposed Java variant. Everyone will know that "Harmony" is Java -- plus additional stuff. Even if "Harmony" is only 98% compatible with future versions of Java, "Harmony" could grab the software development if the open-source community backs it.
Re:Sun, IBM, and Compatibility. (Score:1)
I wanted to moderate interesting but I am not sure of what you actually mean. What I understood is:
IBM loves Java and it is committed to it.
But IBM wants to open Java and make it incompatible, creating another free standard.
So, who is going to be happy with this ?
Java developers that have another standard to support (beside SWT)
IBM, after they hurt Sun attempt to have a standard platform ?
Will the free community be happy after every one can create their own language ? (They can already do that,
Re:Sun, IBM, and Compatibility. (Score:2)
The postulate was that Harmony would be compatible with the CURRENT release of Java, but would diverge in the future. This would seem to imply a rather slow divergence, with a large shared core language.
Now personally my idea of the desireability of Sun as a language designer is such that I stopped using Java BEFORE I decided that I didn't like their EULA. (I must admit it's not a horrible EULA, but the provision that all distribution must come from Sun is one t
Re:Sun, IBM, and Compatibility. (Score:3, Interesting)
I think that full compliance is important. There's a world of difference between getting people to use a new VM for an existing language, and proposing a new language.
If Harmony is a fork of Java, then I want nothing to do with it.
Harmony (Score:2, Redundant)
Harmony [apache.org] is the Apache Foundations project to create an open source edition of Java SE (Standard Edition).
Re:Harmony (Score:1)
I'd be more interested in support of J2EE 1.4 than J2SE 5. But that's just me.
become one with the Microsoft.. (Score:1)
Harmony.. Java.. whilst you wrestle with what you ought to be and the collection of features you might someday have
Resistance is futile..
You too will become one with the Microsoft.. once you have kids, wives, car payments, and mortgages.
Join us, won't you
Re:become one with the Microsoft.. (Score:1)
Linux/FOSS has not only been accepted at major corporations, it's thriving. While the desktop market share of Linux may be relatively small, to suggest that this implies that no 'serious' work can be done with FOSS is simply unrealistic.
The job
Cue SCO (Score:2)
Good. This way a few years from now, SCO, or whoever else has bought the rights to the decrepit old proprietary UNIX I mean Java codebase can sue IBM for allegedly contributing code they didn't have the rights to to Harmony.
I mean, nobody could build a Java virtual machine without copying code, right? That would be an impossible superhuman feat!
Bad sign for Sun (Score:3, Informative)
IBM could create Harmony overnight (Score:1)
Re:IBM could create Harmony overnight (Score:5, Informative)
Because IBM's JDK wasn't written from scratch. It's based, to some degree, on Sun's code. I don't know how much Sun code is in IBM's JDK, or the exact details of the license between Sun and IBM, but I know IBM's JDK is subject to Sun licensing.
Re:IBM could create Harmony overnight (Score:3, Informative)
Re:IBM could create Harmony overnight (Score:2)
So it's a full-blown J2SE implementation then? If so, that's cool. Maybe IBM will wind up contributing some or all of it to the OSS world. That would be nice.
Re:IBM could create Harmony overnight (Score:2, Insightful)
Re:IBM could create Harmony overnight (Score:4, Informative)
Re:IBM could create Harmony overnight (Score:2)
Yeah, but we already have plenty of JVMs to choose from. The problem is the rest of the JDK.
Apache license? (Score:1)