Will Sun's Java Go Open Source? 519
Ritalin16 writes "CNet report that Sun Microsystems wants to send Java closer to the open-source world, yet keep it safe from harm. "Project Peabody" adds two licenses that make it easier for outsiders to see the code. But Sun stops short of embracing open-source. Sun's licensing practices for Java are closely watched. Proponents of making Java open-source argue that a different license and development process will help accelerate usage of Java, which faces ongoing competition from Web open-source scripting tools, such as PHP, and Microsoft's .Net line of tools."
off-topic-a-roony (Score:5, Interesting)
Re:off-topic-a-roony (Score:3, Informative)
I don't know of anything beyond that.
The community would benifit from having a Open Source java implimentation because it would allow distributions to distribute java runtime enviroments and allow tighter integration of java into general linux offerings. Like you could begin writing Java-based GUI applications and then distibute them yourself without requiring your audiance to agree to r
Mono viability (Score:5, Insightful)
Re:Mono viability (Score:5, Interesting)
Re:Mono viability (Score:3, Interesting)
Most benchmarks show GCJ lagging behind the modern "just in time" JRE's in performance.
This is largely because GCJ is, well, quite poor... it certainly -could- be faster (in theory). The point is that, just because it's ahead-of-time compilation doesn't make it faster...
The devil is still in the details.
Re:Mono viability (Score:3, Interesting)
Personally i do prefer java. Although c# and the
There seems to be a wealth of compatible JRE's so it's hard to believe that the lack of an international standard has really hindered java.
Re:off-topic-a-roony (Score:5, Interesting)
Well, there are already at least a couple - Kaffe and GCJ, why not just contribute? Sun already did the hard part - theoretical research, design, marketing - for free. Actual coding of well-researched projects is not that difficult. You can even study Sun's source code to learn general concepts for your own project as opposed to just "lifting" it.
See, there is no shortage of C/C++ compilers and nobody is grumbling about AT&T not releasing their stuff under GPL.
SUSE and gentoo already do, I would guess someone (Debian?) made their own decision not to ship Java rather than being disallowed by Sun.
Like you could begin writing Java-based GUI applications and then distibute them yourself without requiring your audiance to agree to restrictive licenses and download and install Java on their own.
Enjoy a license-free download! [suse.com] And the winner is:
Probably a bit to late for all that, unfortunately. Sun had it's chance and now Linux has managed code in the form of Mono (open source
Do you mean Microsoft released their own
Re:off-topic-a-roony (Score:3, Interesting)
I don't think Mono is better than Kaffe/GCJ/... The GNU/Classpath based Java VMs are already covering most of the Java API. The biggest/most visible obstacle is probably the Swing implementation, but OTOH Mono also doesn't have a complete Windows.Forms implementation. Don't say GTK#, this is also accesible in Java via java-gnome or SWT, which b
Re:off-topic-a-roony (Score:3, Informative)
Re:off-topic-a-roony (Score:5, Informative)
C# !=
Not even close.
You can't study Sun's code to learn from it (Score:5, Informative)
Re:off-topic-a-roony (Score:3, Informative)
While I'm not sure how SUSE manages to distribute Sun's JRE, Gentoo doesn't distribute it at all. Instead, the ebuild merely simplifies the process of downloading the file from Sun and installing it.
While this may seem like a small nit to pick, the fact is, if you look on the Gentoo CDs, they distribute the Blackdown JRE, not the Sun JRE.
Re:off-topic-a-roony (Score:4, Insightful)
This may have a reason. Swing doesn't work properly on Linux. At least not if you don't use an US keyboard and US locale. In many European locales some characters will be untypable, what exact charaters depends on the locale.
This is of course a bug, but its been around ever since swing was born. It was almost emediatly bug reported. After a couple of years sun closed the bug with the bug still UNFIXED. I guess it got embarassingly high bug votes on their top 25 list.
Now the bug is reported again (under a new bug id) and has been on the top 25 list for a couple of years now.
Any Linux programmer know by now, that Sun either is too incompetent or fix this, or have some other agenda that make them unwilling to fullfil the promis of compile once run everywhere that once was used to promote java.
You can get more information on this bug from:d =4799499
http://bugs.sun.com/bugdatabase/view_bug.do?bug_i [sun.com]
If you like you can even cast your vote for it to be fixed. Not that I think it will make much of a difference. To Sun java is something for the serverside only.
Re:off-topic-a-roony (Score:3, Insightful)
http://bugs.sun.com/bugdatabase/view_bug.do?bug_i [sun.com]
Re:off-topic-a-roony (Score:3, Interesting)
Re:off-topic-a-roony (Score:3, Informative)
Now, it may be that the JVM simply takes 2 seconds to start up and the GCJ version doesn't. I do not know. However, I have no complaints about the performance of GCJ. The biggest problem with i
Re:off-topic-a-roony (Score:4, Informative)
Regards,
Steve
gcj is nice (Score:5, Interesting)
By the way, I don't think blackdown is actually open source in that it's based on the Sun code.
I'm curious - does the new Fedora actually ship with gcj and gij as 'Java'? That will be an interesting development to watch.
Re:gcj is nice (Score:5, Informative)
Actually, yes. Red Hat has actually aliased 'java' to them in the default install for quite some time now.
The more interesting thing is that FC4 will for the first time include natively-compiled Java packages. And not just any packages, but Eclipse and Apache Tomcat.
Re:off-topic-a-roony (Score:3, Informative)
From www.blackdown.org:
Re:off-topic-a-roony (Score:3, Funny)
Think about C# that executes faster on Linux than it does under
Think about mixing the resulting
Urrrk, I really should switch to decaf...
GJC (Score:5, Informative)
However, the biggest problem with the GNU compiler is the lack of compliant class libraries. The GNU Classpath project, which aims at creating an open source cleanroom implementation of the Sun class libraries are severely behind. My optimistic guesstimate would place them at being about 3 years from full 1.5 compatibility, at which time we're probably using the beta of 1.7.
However, GNU Classpath has an easier job ahead of them than the Mono folks, which begs the question as to why they chose to go with the Microsoft technology in the first place.
Re:off-topic-a-roony (Score:3, Informative)
Having seen some of the simplistic negative responses to this post, I have to say it's not that simple. gcj has its strengths and weaknesses, and for some things it's substantially faster than the commercial Java VMs.
Performance wise, its weak spot seems to be GC performance and some other specific areas like synchronization monitors and exceptions. However, if you tailor your code to gcc's strong point
Already ditched (Score:5, Funny)
Re:Already ditched (Score:5, Funny)
Re:Already ditched (Score:5, Informative)
next?
(yes, I know it's still more typing than python, and I know you were tying to be funny, but Java really isn't that much work)
Re:Already ditched (Score:3, Insightful)
Re:Already ditched (Score:4, Insightful)
Re:Already ditched (Score:3, Insightful)
Yeah, this:
And you're worse off than with an unchecked exception that isn't caught.
Re:Already ditched (Score:3, Insightful)
If the "do something with it" looks like this:
...that's not going to help you, it's just going to make the compiler not complain.
I actually make it a point to put in a comment like "// do nothing, this is OK" when I do something like that, so it's clear to the next programmer that I meant to just shut up the compiler, and I've either got a case that I know doesn't matter or cannot happen because of other constraints.
Re:Already ditched (Score:5, Insightful)
For small programs, Java can get very wordy and very verbose, especially if you coming directly from C/C++, or from a language like Perl or Python. It does get annoying at first, typing in public in front of nearly every class/method and having to type in System.out.println when a simple printf() or cout or print would do suffieiently in another language. However, once you start making larger programs, Java isn't that bad, and all of those words are there for a reason. It starts making sense after a while, and it really is a nice language, once you grasp the OO concepts and get past some of the annoying differences between Java and C/C++/Python/whatever. It gets really convenient when playing around with Swing.
Put it like this, I'll bet you that you'll want to code in Java long before you want to code in Visual Basic, or even worse, COBOL. If you thought Java was verbose, Visual Basic is even more verbose, and COBOL takes verbose to another level....
Java doesn't "scale down" (Score:2)
http://dedasys.com/articles/scalable_systems.html [dedasys.com]
Re:Already ditched (Score:3, Informative)
public static void main(String[] args){
}
public void print(Object o){
System.out.println(o);
}
Makes everything I write just that much easier
Kleedrac
Re:Already ditched (Score:5, Insightful)
You know, that is an annoyance just because you do not use object orientation much. Java is strongly typed, and it has a lot of advantages. A quite usual way of creating a new variable is:
Or the more familiar:
This does also enable stuff like:
If you don't understand the advantages of this kind of casting, you don't understand object orientation, and therefore, you don't need Java.
Re:Already ditched (Score:3, Informative)
Sun's covert ops (Score:5, Funny)
Re:Sun's covert ops (Score:4, Funny)
Quiet, you!
eightball says: (Score:3, Funny)
No, they want to keep their integrity. (Score:5, Interesting)
Re:No, they want to keep their integrity. (Score:2, Interesting)
If Sun wants to control Java's development after it opens it, then it is not true open-source.
Re:No, they want to keep their integrity. (Score:3, Insightful)
You can say that with a straight face, after the debacle with Microsoft's J++ Runtime of Incompatibility?
You may have heard of the court case. Took years to resolve. Somehow, I think Sun has learned its lesson about relinquishing control over what is, and isn't, Java(tm)./p.
Re:No, they want to keep their integrity. (Score:4, Informative)
Patches, surely (Score:3, Interesting)
Re:No, they want to keep their integrity. (Score:5, Interesting)
Why? Because Java is the only real threat. Java's real importance is in 'enterprise' development; many large companies have been developing in Java for the last 3-5 years, the importance of Java in such environments dwarfs any other development platform, except maybe for cobol. Thus Java remains the most likely target for sabotage actions, and needs to be protected vehemently.
Especially now that Java is in direct competition with
Re:No, they want to keep their integrity. (Score:5, Insightful)
Mono Developer Meeting [oreillynet.com]
Re:No, they want to keep their integrity. (Score:5, Interesting)
Ms no longer cares about java now that they have their own version of it.
Re:No, they want to keep their integrity. (Score:4, Interesting)
These versions of course would add some candy to attract developers (such as operator overloading) while destroying the 100% compatability that java offers, creating confusion and thus discrediting java for enterprise development.
By the way, someone wrote that
Re:No, they want to keep their integrity. (Score:3, Informative)
While I do not disagree with your argument on why Java needs to be protected, your statement that there is no formal spec for
From the microsoft site:
The Common Language Runtime (CLR) is Microsoft's commercial impleme
and how's that working out? (Score:4, Insightful)
Now, lets look at some fairly popular languages that have been open-source since the beginning: perl, python, tcl, ruby. Gee, not one of them has shown the faintest sign of forking. My conclusion? Sun is run by a bunch of idiots. (Really too bad, because I used to be a big fan back in the eighties.)
Re:and how's that working out? (Score:5, Insightful)
We have MSFT pushing their own completely incompatible java-like system.
Imitation is the sincerest for of flattery. Microsoft has cloned Java, and now you are going to blame Sun for the fact that it isn't 100% compatible.
Let's see: we have kaffe, gcj, and a handful of other open source attempts to clone java, all of which are not exactly one-hundred percent compatible, and none of which would exist if java had been open source in the first place.
I think you have to explain your reasoning a bit here, because no matter how I try to read this it sounds like you contradict yourself.
"Open source versions are forked. Therefore, if it had been open source there would be no forks"?
Re:and how's that working out? (Score:5, Informative)
Ok. I'm thinking of perl. I'm thinking about various systems I've seen and worked on over the last couple of decades. I'm thinking "fairly popular" is a pretty serious understatement when talking about perl. Tcl/Tk? Maybe not so much, but I've still seen lots and lots of it running behind the scenes on all sorts of systems. Python? Ok, I haven't seen much enterprise penetration there. Yet. But it's pretty new, relatively speaking. And it's already got zope, plone and gnue, and looks like it's only going to be growing from there. (Anyway, I can hope, 'cause python sure seems to me to suck less than perl, java, or tcl.)
Microsoft has cloned Java
From what I've seen, they haven't merely cloned it, they've actually improved on it. I know, a blasphemous thing to say on
I think you have to explain your reasoning a bit here.
Ok. I didn't think it was that tricky of a thought, but since you ask.... Kaffe and gcj are not forked from each other, they're forked (very loosely speaking) from the design of their not-open-source predecessor. Nobody is trying to fork kaffe or gcj - they're already open source, so there's no particular reason to fork them. And if java had been open source from the start, there never would have been any reason to create these competing projects.
Ask anyone involved with either project (kaffe or gcj) if they would have even considered working on those projects if java had started as open source! If java had been open source there would be no kaffe or gjc! Period! I don't know how I can explain it any more clearly than that!
And, for that matter, if java were open-sourced, even at this late date, I would expect to see kaffe vanish almost instantly, and I wouldn't place any bets on gcj's long-term prospects.
Re:and how's that working out? (Score:2, Insightful)
If i'm wrong, I apologize.
Re:and how's that working out? (Score:5, Interesting)
Actually, there are at least six forks of Python:
In practice, it's not much of a problem, I don't see why people are so scared of forking.
Re:and how's that working out? (Score:5, Interesting)
Psyco is just an extension module for CPython, not a fork. And you can add Pyrex to that list - a fork of CPython which adds C data types.
Re:No, they want to keep their integrity. (Score:2)
I have written a library which is only practical to have one installation on a machine, and one interface defined. Multiple incompatible versions of this library would cause huge problems, or be very wasteful. It would also take away control from the original developer, which isnt fair, and a major motivation to *not* open the source.
What license can I use that wou
Re:No, they want to keep their integrity. (Score:5, Informative)
By definition of the term `open source' as it is used now, it means that people can get, change and use the source and at least with some restrictions redistribute the resulting changed version.
I.e. `open source' more or less means `you can fork'.
The solution is perhaps to grow up and stop wanting to keep control. Life is to short to worry about that kind of thing.
And, of course, the fact that control is not enforced by the licence doesn't mean that there will be no central control. I think most people would say that Linus has reasonable control of the future of the linux kernel, dispite the fact that anyone could fork it, and many do for special purposes.
Consider XFree86 vs X.org for an instance of why the ability to fork is a good thing. Sometime when you get bored with working on your library, or fall under a bus, someone else with enthusiasm can take over, and if they do a good job, their branch will take over from yours and, assuming it wasn't a bus, you can go off and do whatever you are more interested in doing at that point.
What's so significant? (Score:3, Interesting)
Re:What's so significant? (Score:3, Informative)
An irrelevant question, since Sun has no plans to open-source their VM.
Since the Java specs are anyway open, is there any point if Sun opens up the JVM implementation?
Writing your own implementation is really, really hard. Especially since the "spec" doesn't specify everything. So in the near future Sun-derived VMs will be the only complete ones.
Re:What's so significant? (Score:2)
Sun is marketing Java as the only real cross-platform solution. Therefore proper cross-platform support for the JVM is of key importance to them.
Extending the JVM in such a way that it would break third party (i.e.: mostly IBM's) implementations would be very counterproductive as they have no interest in supporting every plat
Re:What's so significant? (Score:3, Insightful)
2 All the main OSS libraries build and run on Kaffe, including things like the SWT window toolkit, xerces parser, etc. Look at the Gump to see how well it is going: http://brutus.apache.org/gump/kaffe/ [apache.org]
3. A lot of focus in the gump/ant dev groups is about improving gump builds. If we can clean build the OSS stack on the OSS platform, we will be independent of Sun.
4. the big issue with libraries i
Re:What's so significant? (Score:2)
Why Java open-source will never happen (Score:2, Insightful)
It will be the development system of choice for corporate development for another decade, providing jobs for all the new and soon-to-be CS graduates who aren't taught anything else. Yet Java is already completely ossified.
zerg (Score:3, Funny)
And then I'd get featured on slashdot as "Sun's Java Went Open Source" instead of some silly speculation that Sun might make up some magical license that lets you look at the code but not do anything w/ it.
Will open sourcing Java source code mean that the language will get submitted to a standards organization like ECMA or ISO or something?
Re:zerg (Score:3, Informative)
If you want to be able to do something with the code and distribute the end result you should look at "Free Software".
By definition Free Software is Open Source but not necessarily vice versa.
Re:zerg (Score:5, Insightful)
So, your objection is that the "open" in "open source" can be interpreted to mean merely available to be viewed, despite the other meanings of the word open. Which is no worse than the problem "free" has, in "free software", since gratis software is quite common.
Here's the thing -- a random member of the public, hearing the word "free software", will immediately jump to the conclusion that it doesn't cost anything. Especially since the way the word is most often used in the media as "gratis", and since the Windows world is full of "freeware" -- most of it low quality software that supports the proposition "you get what you pay for".
The same person will not have any idea what "open source" means, since he is unlikely to even know what source code is. Instead of being misinformed by the term, he will notice there is something here he doesn't understand.
Which is better, from a public-education point of view? The term that immediately misleads your audience from what is meant, or the term that is a semantic nullity, in which you can pour meaning?
Hint: they're less likely to listen if you tell them their first conclusion was wrong than if you don't have to tell them they were wrong.
Doesn't matter much (Score:3, Insightful)
If Sun wanted to make themselves insanely relevant very quickly, they would fully embrace Debian and support it extremely well. Then, they should work to standardize on http://www.autopackage.org/ [autopackage.org], or something very similar to it. Then, they should work to get Java much better integrated into Firefox and vice versa. Here is a good article on it the level of integration between the JVM and the browser, which is just pathetic at the moment:
http://www.softwarereality.com/soapbox/swing.jsp [softwarereality.com]
I wish there were a sane event model to share between Java and the Browser so that I could use the browser as a display technology and have access to all of the Java class libraries for networking and such.
Re:Doesn't matter much (Score:2)
JPackage [jpackage.org] perhaps?
There is also a popular request for enhancement here [sun.com]urging sun to make the Java RPM play better in Linux, i.e. respecting the filesystem standards for where to place documentation etc.
I doubt that GCJ is going to take over on Linux though. Not that they aren't doing FANTASTIC work, but there is still lots of catching up to do and Java is a moving target.
Re:Doesn't matter much (Score:2)
Ah, I see.
Re:Doesn't matter much (Score:5, Insightful)
Now if you say they are afraid that if they BSD-license Java and then end up having the GCJ team dictating what Java is and is not, then yes. That is exactly what Sun means when they say there is a potential problem with forking.
I'm looking forward to this (Score:3, Funny)
Of course, there might be some minor incompatibities with other JVMs, and the initial releases will be Windows-only, but since Java is such a neat and productive environment to program in, I think people will overlook these issues. Anyone interested in joining this project, please contact me.
Re:I'm looking forward to this (Score:2)
You may be able to get away with calling it a virtual machine suitable for running browser applets and other highly machine independant code.
Re:I'm looking forward to this (Score:2)
Having support for COM/XPCOM/whatever has really destro
Get informed (Score:5, Informative)
Java and "Unsupported" Platforms (Score:5, Interesting)
It would be great if the Java JDK were open-source, or at least distributed with a less restrictive license. Installing Java on "unsupported" platforms is a nightmare. Take FreeBSD, for example. First, I have to install the Linux version of Java, because for some reason, the native Java port requires the Linux version for bootstrapping purposes. Next, I have to manually fetch the sources for Java from Sun (since Sun prohibits redistribution other than from Sun's site, and the latest precompiled package for Java is for FreeBSD 4.x, which doesn't work under FreeBSD 5.3; not to mention that I can't really do anything with the sources other than compile them; the license is very restrictive). Finally, I have to compile them, which took me 18 hours to compile on my computer (I'm not trolling; the fastest computer I own is a 475MHz K6-2 with 64MB RAM; I'm poor). For Sun to advertise that programming in Java is about "writing once and running everywhere," I guess "everywhere" is defined by Sun's view on the world. The only reason why I compiled the JDK in the first place is because I need it for my upcoming classes.
It would be great for all developers if Java were open sourced under an agreeable, OSI-compliant license. Developers of "unsupported" platforms would be able to port the JDK to their favorite operating systems (and redistribute sources and binaries of the JDK, too), which would raise the number of developers using Java, which in turn raises the number of people using Java-based applications. Next, I don't think Sun has to worry much about Java being forked. Look at C, C++, Python, Perl, and Ruby. C and C++ are ANSI-certified, and Perl, Python, and Ruby are open source. As far as I know, there aren't any forks of C, Perl, and the other languages that I've listed.
In the meanwhile, I wonder how good are the free, open source interpretations of Java and how they stack up to the Sun JDK?
Re:Java and "Unsupported" Platforms (Score:4, Insightful)
Yesterday, I tried to install Java because a colleague is developing a web application with a Java component in the browser, and I wanted to try it and maybe help him out. That meant installing a Debian helper package. Then manually downloading Java, clicking through some license agreement nobody reads. Running the helper package, typing answers to questions, paging through the same license agreement in the terminal, having to type out "yes" and hoping things work. Not impossible, but at least 10X more work than every other piece software on my system, especially if I want to keep up to date with point releases
And of course it ended up not working - my Firefox still refuses to run Java for some reason. I ended up taking the path of least resistance which was VNC to a Windows computer - a pathetic and painful workaround. Normally I'd file a bug and the package maintainer would smooth out these system integration issues, but Sun's redistribution terms are preventing that. To add insult to injury, I think I remember reading that Sun sued Microsoft for NOT distributing Java at one point, which makes me wonder about corporate schizophrenia. If Java were true open source, I'm confident things would finally get smoothed out and I'd be much more inclined to develop for the platform and trust that it would always be there for me.
Furthermore, there's now a few useful open source programs written in Java that also get hampered. For example, the Lucene search toolkit can't currently be built without Sun's SDK. Therefore, it can't run on the Debian autobuilders and gets relagated to second class citizenship status. As both a proprietary and an open source software developer, my life would be easier, happier and I'd be far more Javaphilic (as opposed to just plain grumpy) working on an open source platform.
YAY! (Score:2, Insightful)
Byte Code Is "Open" (Score:3, Insightful)
As for opening it to a standards committee, I hope Sun never takes this route. The committee mind for just about anything is terrible. Many great artists won't work with committees and I think Java is better served if Sun calls the shots on it.
I don't know much about the licensing of J2EE but for people that don't want to pay (do you have to?) you can always use something else or pay for
I don't care one way or the other really if Sun "Opens" Java but I'd rather them or a small group of people call the shots on the language. Gosling et all for instance. Whatever they do, I hope Java doesn't fall victim to ANSI or IEEE or whatever as the language will never advance.
Distribute JRE with Linux distro (Score:5, Insightful)
I seems Sun is gonna change their license at this point so every Linux distribution can distribute the JRE and support Java out of the box.
This is probably the most important part of the license change and I hear nobody about it.
Write once, run somewhere (Score:4, Funny)
Java is open like C (Score:4, Insightful)
Re:Java is open like C (Score:5, Informative)
Wrong. There are many implementations of C. There are three of C# (excluding the runtime).
There is no need to reverse engineer anything since JavaDoc spells it all out for gou,
No it doesn't. Sun's documentation is terrible in lots of places.
and heck Sun provide the source code to the files too!
Looking at Sun's sources if you want to make your own implementation is legal suicide.
It bugs me that people perfer Mono'a C# over Java because it's "more free".
It IS more free (see below).
If they spent half the time coding a JVM that they've spent coding a Mono they'd be done years ago.
Well, I would certainly like to to see more resources go towards free Java development, but the missing thing at the moment isn't a VM. There are lots of free JVMs (gcj,kaffe,jamvm,sablevm,jikesRVM,cacao and so on), some of which are quite mature.
The missing part is the class library.
You can use IBM's or Apple's or your own.
These are not seperate implementations; They all use Sun's code, notably the class library. They are all covered by the same licensing restrictions set by Sun.
Is there some big piece that I'm missing that would bother anyone besides GPL Zealots?
Yes. For instance, what if you'd like to include the install of the runtime in your own installer? Can't do it.
What if you do embedded work and would like to exclude the parts of the runtime you don't need in order to save space? Can't do it.
What if you do find a bug in Sun's code, and include a work-around in your code? Bravo. You just violated Sun's license.
The biggest problem for sun is... (Score:3, Informative)
Look at what happened with microsoft, they took the sun JVM and did an "embrace, extend and break 3rd party compatibility" act on it and so Microsoft (up until sun forced Microsoft to remove it) was shipping a JVM that was incompatible with the official VM from sun (and people actually built java apps that only work on the Microsoft VM)
What sun should do (IMO) is to release the code under an Open Source licence. BUT, if you want to use the sun java trademark (e.g. to represent that what you have released is a java VM or whatever), you need to pass a compatibility test and get a stamp from sun. Then, they could release the compatibility test to the world so that everyone can test their code before it goes to sun for approval. The same test could apply to any java VM or compiler (e.g. GCJ).
People who want to modify (and share modifications to) the JDK, JRE and JVM can do so. (e.g. people wanting to port the JRE/JDK/JVM to a new platform/OS)
People who want to try out "unapproved" modifications can do so (with the full knowledge that they arent official and may not be 100% compatible with the official sun releases)
People who want "java" so they can run java apps can feel safe and only download stuff approved by sun.
If the licence was like GPL where source must be
released if binaries are released, it would help prevent what happened with Microsoft and the MSJVM (since any incompatible modifications would mean that you wouldnt get approval and couldnt call it "java" and also any modifications you make would need to be returned to the community).
Because of the rules for the use of the java name, there would be every incentive for anyone making changes to the JRE/JDK/JVM to do the compatibility test and get their changes approved (the licence, the trademark licence and the other factors would work against any incompatible forks showing up especially since companies like MS with an interest in incompatible forks would not want to use code under a licence like the one I suggest)
Developers would have a big incentive to write 100% compatible java code (since they would be instantly able to see that their development setup is not "compatible" and unless there is a good reason to use that incompatible VM (e.g. like what happened with the MS VM being used because it was shipped with windows, IE etc), they would be more likely to choose one that had the "java" name and sun "seal of approval".
And by having a dual licence and/or a "copyright assignment" like OpenOffice/StarOffice, they could also continue offering commercial licences for java like they do now (just like they use outside code contributions to OpenOffice in the commercial StarOffice product)
There are probobly holes in my plan somewhere through, something I havent thought of.
debugging VM bugs (Score:3, Interesting)
For example I have crashes with the official Sun's VM. I am unable to debug the problem properly without access to the code (and I won't do that with a proper license). For sun I have to go all the way to create a test case, which is not easy when it comes to isolate a problem in a complex application.
I am sure I would go faster with access to the code. Instead of spending time making a test case, which I am not sure Sun is going to have a look at.
Sun's marketing clowns (Score:4, Funny)
Java 1.1 = Java
Java 1.2 = Java2
Java 1.3 = Java2 version 1.3
Java 1.4 = Java2 version 1.4
Java 1.5 = Java2 version 5?!?!?!
I mean crykies, I'm almost in fear of what Java 1.6 will be named. And prepare to move into a bomb shelter when Java 2.0 comes out.
Gentoo Java fact I was very impressed with (Score:3, Informative)
Besides supporting bunch of JVMs, Gentoo integrates all the Java stuff in Gentoo way: you can just "emerge jboss" and you will end up with a complete server environment with all the scipts, etc. Very nice.
Re:Sun's tight control... (Score:4, Informative)
Re:Sun's tight control... (Score:2, Informative)
And IBM's AS/400/iSeries/i5 is 64 bit PowerPC, so the Java JVM on the AS/400 would be 64 bit.
rd
Re:Sun's tight control... (Score:2, Informative)
Why do you think that? IBM created a superior background garbage collection for example and gave it back to the community. IBM of course write JVM's for their own OS's, and those JVM's meet Java Community specs.
It would do IBM no good to have a proprietary JVM. I haven't even heard of proprietary Java extensions from anyone but Micro
Re:Integrate into FireFox? (Score:5, Informative)
It is exploiting a clueless user that doesn't know enough to click "No" when presented with a warning dialog that says that an untrusted application is trying to make changes to the local filesystem, and it asks permission from the user if this should be allowed. Previously, it had been assumed that a user would be ever so slightly clueful enough to not actually permit an untrusted application to do this, especially since they are getting a nice and friendly warning dialog, but hey... I guess user stupidity reaches new lows every week. The people that are vulnerable to this are the same people that think it's a good idea to run native exe attachments in emails from unverified sources.
Re:Integrate into FireFox? (Score:2)
Re:Integrate into FireFox? (Score:2)
Both Microsoft and Firefox have made UI enhancements to make it more difficult for users to just reflexivly click "Yes" on every modal permission dialog that pops up.
I think it's perfectly fair to hold Java to the same standard, since it turns out that Java really is not safer than "native" extentions like ActiveX or XUL or Plug-ins (despite years worth of propaganda saying otherwise). "PEBKAC" is a cop-out.
Re:Integrate into FireFox? (Score:4, Insightful)
You're clearly just trying to save face if this is all you can complain about. Not all vulnerabilities involve users clicking Yes in security dialogs.
since it turns out that Java really is not safer than "native" extentions like ActiveX or XUL or Plug-ins (despite years worth of propaganda saying otherwise).
The "years worth of propaganda" was probably referring to Java's immunity to buffer overflow vulnerabilities and other attacks that exploit the machine-level details of C-style calling conventions. Or it could have referred to the sandbox security model under which applets can be run safely without even requiring a security dialog- as opposed to ActiveX for example, which is typically implemented in "unmanaged" (but digitally signed) C++, has a security model consisting of nothing but a security dialog, and which must run either with full privileges or not at all- based on whether you feel you can trust the author. You can run Java code in a sandbox and not have to trust anybody. The sandbox has such restrictive security, in fact, that it partly (along with install base and JDK versioning issues) led to the demise of applets relative to ActiveX.
Re:Integrate into FireFox? (Score:2)
Re:That would be nice..Mohammed to mountain. (Score:2)
Re:Why do colleges proselytize with java? (Score:2, Informative)
We've already been down the Python/PHP "typeless" road with teaching Visual Basic, and the end result is a lot of sloppy programmers.
Re:Speaking of Java..anyone know (Score:5, Informative)
Anyway, some of the most popular would probably be JBuilder [borland.com], JDeveloper [oracle.com], IntelliJ IDEA [jetbrains.com], KDevelop [kdevelop.org]...
If you prefer more light-weight IDEs, you can always use ANT together with something like Emacs or JEdit [jedit.org].
Re:if not java == cobol: - java is not cobol (Score:2)
There are some of us who still remember COBOL (the 6th language I ever learned, I believe, although it's been too many years ago to remember).
Most of us won't admit it any more, though!
Re:if not java == cobol: - java is not cobol (Score:2)
Because Java is being deployed in businesses everywhere. Many of the ancient IBM mainframes are being replaced with servers running Java applications on them. Java of 2005 is compared to COBOL of the 1960s-70s because of its popularity and widespread use in businesses. Businesses like Java's enterprise tools, scalability, and employability (since it seems that most universities are teachi
Depends (Score:3, Funny)
Not if it comes from IBM. We only hate the stuff from Sun, and we also like .NET in the form of Mono, because Miguel started that so it must be cool.
Re:Why is there a problem seeing the code? (Score:3, Informative)
At my previous employer (a big IT company you'll have heard of), we were not allowed to even LOOK at GPL software without going through an approvals process first: for fear of "infecting" proprietary code with GPL methods.
I've not looked at these new Sun licenses, but maybe the idea is that a corporate legal team can look at them and far more easily say "sure, we're happy for you to