Will Sun's Java Go Open Source?
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."
and i would completly embrace an OSS approach. sun often have the consumer in mind and understand their products and the market well....
Hey, is anybody using the gnu java compiler much? How's the performance on java programs made with it? Obviously there'd be some positive side effects, but exactly how much could the community benefit from having Sun's compiler open-sourced?
I already ditched java a long time ago. After trying some .net, settled on python, who wants to write 10 lines of code, and have to pass through 2 layers of variables to open a file?
Python: open(filename,r/w,0)
Java: JSKALDAHSJKDHLSA;
ASDJH(ASLDHJKLASH);
ASJHDJAKSHDJHASD();
REALLYLONGBUFFERNAME();
"Project Peabody" is really the code name for Sun's secret development of The Wayback Machine to send Scott McNealy back to a time when Sun was relevant.
__ Someday, but not this morning, I'll finally learn to use the preview button.
signs point to yes
"Sun has elected not to use an open-source license at this time because its commercial customers are concerned with "forking," or the creation of incompatible editions of the base Java software" Currently, Java seems to be close to, if not the lead in cross-compatibility. They do not seem like they want to lose their integrity as a stable cross-platform language.
Sun has a lot of tight control of java. But I believe IBM also has their own java implementation, and I think that version has alot of proprietary and licensed code. But most of the jvm is not available for all different platforms.... anyone seen a 64bit jvm ?
Open sourcing java seems good, but the reason Sun may not want to do that is because sun wants to milk the embeded devices market where java can be a real breakthrough.
I'd like to see an open source, "simpler" version of java as an option in FireFox. Currently, I don't have java installed because there are exploits for it (for example, java allows websites to exploit IE even if the user is using another browser, such as FireFox or opera). I don't really need it for anything, either, but I'd use a stripped down version. It just seems too bloated now, for the uses.
"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.""
.Net maybe, but not PHP.
Ummm, excuse me? I wouldn't call PHP a competitor to Java.
No
No
No
No
No
No
Maybe
Haha... No
Slightly off-topic, but what impact will Sun's open-sourcing of the JVM have? We already have several Open Source JVMs, Kaffe and IBM's RVM(Research Virtual Machine). Since the Java specs are anyway open, is there any point if Sun opens up the JVM implementation?
Because it doesn't need to. Java is now so big and so corporate that stability is far more valuable to its constituents than innovation.
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.
If it were up to me (I know it's not, so shut up ;_; ), I would put it in the public domain and pretend I wasn't the one who wrote it. Then I'd be all "Oh wow, Java's so cool, you can even download all the source code for it!"
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?
[o]_O
Well the nice thing about .Net isn't the VM. But more what I call bringing Mohammed to the mountain. By having multiple languages that compile down basically to one language. You take out the some of the adoption pain.
Why does everybody in IT have to be a fortune-teller. First, google is not going to create a global internet filesystem for the entire world and eliminate the computer. If you are a software developer. You only look 6-9 months ahead and google's take away the computer plan won't happen for 900 years. Second, Java is a simple language. Java mainly benefits from the amount of libraries and other tools that are already on the market. We have been looking at Java's source for the last several years now anyway. Nobody really gets excited. I would watch the language tools that are already out there, so don't wet your pants on java being open-sourced. Yay or nay, it probably won't effect the market too much. Geeks who live in dim-lit caves will probably have something new to play with, that is all
---- Berlin Brown http://www.newspiritcompany.
Sun is in trouble because GCJ is getting so much better. It has a strong chance of becoming the "defacto" version on Linux very soon. RedHat engineers already have Eclipse built and running on it, and tightly integrated with Gnome and Glade development. It's starting to look really nice, and SWT compiles natively into Linux binaries. Sun will likely maintain the lead on Windows pretty easily, but they stand a big chance to lose out to GCJ on Linux. No biggie, because Linux isn't a real server platform after all, right Sun? ;)
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/, 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
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.
As soon as Java goes open source, I plan on forking it. Job 1 will be to add first class support for COM and XPCOM objects. After that's done, I'm planning on adding Delegates for event-driven programming. Good RAD-Designer support is important too.
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.
Whenever I hear the word 'Innovation', I reach for my pistol.
If you really want to save your, er, um...typing hand? I would suggest you learn APL.
Do we still hate Java or what? I'm confused.
Anyone who reads Jonathan Schwartz's blog will know that Sun is gonna open-source java. He's been hinting about it for a while now, interspersed with hyping up the open-source release of solaris. Sun seems to understand that going open-source is there best chance of survival in the software world.
A Multiplayer Strategy Game for Mac OS X, Windows, and Linux
I mean I guess there's still the speed issue, and oh yeah, the swing-is-ugly issue, but really... who does Sun think they are taking away one of the single strongest and fundamentally irrefutable arguments that the anti-Java camp ever had?
File under 'M' for 'Manic ranting'
Raise your hand if you know anything about cobol. ..."Don't see any hands" Why are people comparing a language still popular in the year 2005 to a language used in the sixties and seventies.
If Sun could really create a fast VM, and people are actually excited about downloading a JRE. I see java being used as a lower level language over higher dynamic languages like Jython/Ruby/Groovy. All of the eyes should be focused on the team that reduces the java startup times, the 100MB memory footprint. And for the sake of Moses. Get rid of the default "I-am-too-cool-look-and-feel". If Sun does this, possibly adopts a dynamic language project. Sun could actually go after MS, possibly even google. Look at the recent jolt awards. Most of the best software engineering projects were java based. Cobol, java is not. Elegant, not that either?
http://www.sdmagazine.com/jolts/
Cobol has a little different feel than...
dog.jump(); ...
100200 MAIN-LOGIC SECTION.
100300 BEGIN.
100400 DISPLAY " " LINE 1 POSITION 1 ERASE EOS.
100500 DISPLAY "Hello world!" LINE 15 POSITION 10.
100600 STOP RUN.
100700 MAIN-LOGIC-EXIT.
100800 EXIT.
---- Berlin Brown http://www.newspiritcompany.
How did they do a Linux port without the source? Were they licensed by Sun?
And did Sun ever make Java source code available for viewing only (not modification), or did they never make even this available?
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?
It seems to me there's a completely obvious solution to this: only allow patches against their version to be distributed, not already-modified versions. And don't let modified versions use the trademark. That way it would be completely obvious which was the real java.
I am trolling
Acknowledged, Java has some downfalls (slow, etc) and it is not a native programming language, but overall, Java is a great way to go. Java applications developped for a website is a powerful tool, instead of using php. And Java games are very popular in the cell phone industry right now, not flash. Overall, I think the possibilities that Java offers are enough in itself to warrant making it open-source. But I'm biased... I just started learning it.
Foxed Design
"If Sun wants to control Java's development after it opens it, then it is not true open-source."
Wow! Some choice.
Closed-source: Maintain integrity, especially against forces hostile to it. hint, hint.
Open-source: Subject Java to completely random forces with odds that would make a gambler nervous.
Guess we know which companies will bet on.
The primary reason is to get workpower for the industry.
If the industry demands people skilled with Java (for whatever reasons), then people skilled with Java is what they shall get.
Now, I personally find this a bit sad. First of all, we as people do not live FOR the software (or any other industry). Second, true innovation comes from NOT having to think about whether whatever you might come up will sell 1 billion dollars in the next five years. I wish we could skip the money-focused thinking especially in institutions which are supposed to teach people who want to learn (unless that's what they go to learn about!).
That said, I think Java is very good to learn OO things from. It sort of automatically teaches good design and clear OO-based thinking. It gets you to know the basics, in a way. Add to that some reading, and pretty soon you'll have a good picture what OOP, OOA and OOD are about. From thereon, you can develop your skills as far as you can, and since you've understood the concepts, you are no longer bound by just Java as language. You can switch to Python, it will be easier than starting it from scratch.
Dude, would they just make up their minds? They keep saying they may then they wont then they may then they wont etc. etc. Sun, please stop teasing those of us who actually would like to see Java improved.
Students should be forced to learn in a bondage-and-dicipline language like Java. Once they understand a type system, they can better understand when to break the rules.
We've already been down the Python/PHP "typeless" road with teaching Visual Basic, and the end result is a lot of sloppy programmers.
Don't Care. Tastes Good.
Netscape opened Mozilla up to the world, and see how far that has reached?
Had AOL controlled Mozilla every step of the way, Mozilla wouldn't be where it is now. Sure, Mozilla had its ups and downs, and experienced many random forces, but they survived.
If Sun truly cares about Java, they are free to create something like the W3C, where other companies and developers have a voice, to make sure there is a standard for Java. Any rogue developer whose JVM chooses not to follow the standard will be ignored because the JVM would not work with the majority of Java applications out there.
I don't think it's GCJ they're worried about, it's Mono. Mono does the write once run anywhere thing, has better (native) look and feel, and is open source. I think Sun has been surprised by the speed of Mono development, which they now realise they could have harnessed for Java if they were willing to open it up. Sun is in real danger here, because if Mono continues to develop at the same pace it will leave Java far behind.
I am trolling
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. We have MSFT pushing their own completely incompatible java-like system.
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.)
Whats the harm in going open source? Dosnt the principle apply that the more you give the more you get in return! Just Look at Linux!
Perhaps if you could tell us why you thought Eclipse and Netbeans suck it would be easier to come with a suggestion?
Anyway, some of the most popular would probably be JBuilder, JDeveloper, IntelliJ IDEA, KDevelop...
If you prefer more light-weight IDEs, you can always use ANT together with something like Emacs or JEdit.
Being bitter is drinking poison and hoping someone else will die
Considering that Byte Code is essentially open, you can construct a language how ever you want and have it compile to Byte Code so that the JVM will execute it. So, in this regard it's open.
.NET.
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.
"If you are a dreamer, a wisher, a liar, A hope-er, a pray-er, a magic bean buyer
... GONE.
...
Proponents of making Java open-source argue that a different license and development process will help accelerate usage of Java,
would - (slashdot spelling: wood). Ok, WTF.
CC.
TaijiQuan (Huang, 5 loosenings)
> Netscape opened Mozilla up to the world, and see how far that has reached?
Yeah, they went from a 50% marketshare to 5%.
Not to completely troll your point, but Java is still the dominant platform and doesn't really *need* OSS mojo for whatever.
While i haven't done much research, a little casual testing suggests that opensource JREs run a lot more java software than mono runs .net software.
If they had to pick, they should have opened java instead of solaris.
At least microsoft realizes this. "Developers developers developers!" heh
I wrote a brief article on systems that scale down, with programming languages in mind. You are correct that all the Java baggage comes into its own when you start writing larger programs, but for beginners, or people just wanting to whip something together, it is baggage.
http://dedasys.com/articles/scalable_systems.html
http://www.welton.it/davidw/
I've been using gcj to develop Hecl ( http://www.hecl.org/ ) with, and so far I've been pretty happy. I found one compiler bug, which I reported and which was then promptly fixed. At FOSDEM, I also had occasion to go visit the Free Java developer room, and the impression I get is that these guys are making enough headway that it doesn't matter what Sun does at this point. Redhat had something like 3 or 4 very sharp developers (Tom Tromey, for instance) working more or less full time on gcj and ClassPath. Sure, Sun has way more people, but for now, all the free guys have to do is play catch up with the spec, not surpass Sun. That comes next;-)
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.
http://www.welton.it/davidw/
No, it means free as in the right to bear arms.
"Play is the only way the highest intelligence of humankind can unfold." -- Joseph Chilton Pearce
Lots of people use PHP instead of JSP, even for "enterprise*" applications.
*PS: The word "enterprise" in any software context is bogus.
--
the strongest word is still the word "free"
something foreach <*.gz>
Or to the post above mine:
use Tie::FileStore '%f';
something foreach @f{<*.gz>}
(oh wait, I never released that module, so only I can do that...yay cowardice)
Until now, you are only allowed to distribute the JRE with Java software. This has always been an problem for creators of Linux distributions who like to include Java in their distribution.
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.
Me
Java is crossplatform. Runs on Windows 2000 AND Windows XP.
Java is a langauge and say it is prorietary is like saying C or C# are proprietary. I have read the freely available documentation on Java and you'd be surprised how complete it is. There is no need to reverse engineer anything since JavaDoc spells it all out for gou, and heck Sun provide the source code to the files too! It bugs me that people perfer Mono'a C# over Java because it's "more free". Well it's only free because people coded it up. If they spent half the time coding a JVM that they've spent coding a Mono they'd be done years ago. And if Sun keeps their own implementation proprietary, well they own so let them. You can use IBM's or Apple's or your own. Why don't people stop using C since Intel still offers it's own closed source compiler? Java is really spread wide open from letting people participate with JSR (though just like in democracies unless you are with someone big you won't get heard.. but you are free to try), and even poke around with the source. Is there some big piece that I'm missing that would bother anyone besides GPL Zealots?
Your CPU is not doing anything else, at least do something.
Because Python is relatively new and CS programs only change their "standard" language about once a decade. It makes life a little easier on everyone (profs and students) if they aren't all having to switch to a new language every semester, especially when the new language doesn't provide any truly compelling advantages over the others.
Because PHP is rancid pile of festering monkey crap "designed" by people who have the same level of CS knowledge as Homer Simpson.
Surely the most important thing is that there is choice! Java is not about to die a death, and it's good that there's competition because it makes Sun make Java better!
I don't care whether it's open source or not. What practical difference would it make to me? Absolutely none!
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.
Seriously. Why, oh why, did Sun put it in the base J2SE?
"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."*
Oh it's a bigger win than just "we can now include lot'sa java apps on our DVDs". When you include "Web Start" (Java's "one-click" installation). The picture is even brighter. That overcomes two complaints with Linux distro's. Ease of installation, and ease of keeping current.
*BTW SuSE comes already set up with Java.
While the parent was marked as a troll, I think the author was actually serious.
Here's some more facts:
+ In bed with Microsoft? That would be why they produce StarOffice - a competitor to MS's main cash cow.
+ In bed with SCO? Sun really doesn't seem to want any more lawsuits - that's why they bought a SCO licence, and that's why they paid off Kodak.
+ Despite you whining bastards constant Sun-bashing, Sun has tried to be nice to the OSS community - there's no way they're going to start lawsuits - see the comment above, too.
+ Sun's licence is incompatible with the CPL entirely because they don't want Solaris merged into Linux, and can you blame them?
What's the harm in going Communist? Doesn't the principle apply that the more you give the more you get in return? Just look at Russia!
Something about a cease and desist from archive.org.
Sorry, I got to this discussion late. Are we having another Y2K scare?
Not only does this one-language narrow approach limit the teacher and student, but the whole proprietary aspect of it just acts as a kick in the face.
Emacs!
Seriously though, IBM has an article on it here.
I, for one, am really sad.
SUN used to be a great computer company, hugely innovative and a major donor to the community.
Gosling's FUD and marketspeak cannot hide the fact that 3 months after OpenSourcing at least 20 of the most annoying bugs and the huge bloat of the current Java implementation would be gone.
Two simple examples, which pose NO risk of INCOMPATIPILITY: (a) a '\n' to JDB does nothing, it should repeat the last command so n '\n' '\n' ... would step through a program like it does in Perl, (b) add a pre-fork option to JVM startup so executing "Hello World" didnt take 5-10 seconds an the average laptop. This would change the face of development by making much of the containerisation un-necessary.
As one who uses C, C++, Perl and Java in my everyday work I cannot stress too strongly that tools developed behind a baracade quickly suffer from the prejudices of a small team, while, in the OpenSource arena natural selection means that good ideas are quickly adopted.
Finally, the fear of forking and incompatibility relating to Java is a reflection to SUNs FUDing in the past. Six months of creative matketing could easily reverse that. Many IT managers are realising that, as we all know, a tool does not a good programmer make! Many are beginning to turn away from Java. This is unwise but something must be done about the bloat and verbosity of the current Java paradigm.
"Open source versions are forked. Therefore, if it had been open source there would be no forks"?
Not quite - the different versions black-box reverse-engineered from the proprietary product aren't all perfectly compatible. The products which are open-source (and so can be intimately inspected by all) haven't forked at all.
There's a big difference between multiple re-inventions and forking a codebase - if you can't see how something works but try to copy it, you're going to make mistakes or have to make assumptions at some point, and those can introduce (unintentional) incompatibilities.
It think the grandparent was trying to show that if it's open-source (ie, you can inspect every line of code form the get-go), the evidence is that it's pretty very rare for anyone to intentionally fork the codebase.
Everything in moderation, including moderation itself
Surely an open source Java would open the door to an MS modified version of the JRE being bundled with (but not part of) Windows or IE?
Where is the "+0, RMS Clone" moderation option? =)
Sun will only open source enough to hedge their bets against eroding their market foothold. And not a penny more.
Their stock sucks. From a Wall Street point of view, they are not a very healthy company. They are trying very hard to sell and re-sell themselves as a capable Enterprise solution for corporations. But it's getting harder to do.
At the high end, they are being eroded by the other high end hardware available through HP and IBM. Their reliability of hardware has suffered badly in the last decade and that's costing them market share in related products as people start moving to other platforms.
Erosion is also happening at the low end of the market by the likes of Linux where x86 architecture can compete.
If they make the use of JVM, through JRE, easy to use on the low end, they have some chance of getting a foothold on small companies before they turn into large corporations. This path is what they don't want because as a company grows, they may try to make their existing platform (PHP, Perl, Python) work in their more demanding environment.
This results in a drop in the market for Java developers.
This also affects the developer environment as well. If you have a linux box and want to write some code, you aren't very likely to spend an entire weekend trying to get some sofware running when you already have several good tools to choose from. One of the reasons I never really took up Java development was because of issues related to getting things working correctly at the JVM level on my distro of choice.
That being the case, developers will look to other platforms, starving the Java Market of designer resources.
Releasing JRE into a open license agreement addresses the issue of keeping the market space viable, but it doesn't address the issue of developing resources. Of course, with schools pushing Java hard and everyone older than 12 years old in India learning Java, they may not have to.
Perhaps it all makes sense in their grand scheme of world domination?
Mono and Java are running different races (client vs. server side), and both of the races are over.
Sun wrote off Java on the client and focused it as an enterprise server technology (which it is great at), which is why they've never done anything useful about the sucky AWT/Swing stuff.
Mono on the other hand seems mostly focused on the client side. While the technology really rocks, the taint of Microsoft licensing/patent fees will always make it problematic for many.
It's too bad but if Sun had open sourced Java and gotten on the SWT bandwagon it would have provided some competition and maybe kept Mono from getting momentum.
> Because PHP is rancid pile of festering monkey crap "designed" by people who have the same level of CS knowledge as Homer Simpson.
I think I love you!
Advanced users are users too!
I've had exactly the opposite experience. I didn't mind Java's verbosity at first -- I figured the Java guys knew what they were doing and all this crap had a purpose -- but as my program grew, it became much more noticable (and annoying).
Needing twice as many lines of code (or more) isn't so bad if you only have 3 methods; if you have 300 classes it can add thousands or tens of thousands of lines of code that doesn't add anything to your program.
True, things like arrays/ArrayList/Vector are there "for a reason" (the latter two mostly historical reasons, today), but that doesn't make them good. Having to convert an array between array-type-1 and array-type-2 does not help my program in the least.
I've ported significant Java programs (>50,000 lines) to Python; they're *significantly* shorter in Python (4:1 isn't uncommon). (Interestingly, they're also usually faster in Python, since it's so simple I can add optimizations that wouldn't have been practical in Java.)
When you have to compare it [Java] to COBOL to make it sound good, you know something's wrong. No, I won't deny that Java is much better than COBOL; that doesn't make it good.
I've never used Visual Basic (it's not really my thang), but it does have the benefit that it makes apps that have the real Windows L&F -- not "almost", like Swing. I never thought I'd say it, but I'd use VB before I used Java again.
which faces ongoing competition from Web open-source scripting tools, such as PHP, and Microsoft's .Net line of tools.
What im saying is how has Java faced competition from PHP, only fools use jsp
This comment does not represent the views or opinions of the user.
is there a script in slashdot that periodically repeats the same stories??!?!? :-D kde vs gnome: which one is better? will sun release java as open source? emacs and vi, which one is the king of editors? :-D
COBOL is just fine. For file handling, I don't know many languages that are better.
Why do "only fools" use JSP?
...and it is not a native programming language...
:)
Actually there are native compilers available for Java: Gcj, J2exe,
Excelsior JET and Manta.
There are downsides to using native compilers though, including a) the need to maintain separate platform versions of your app, and b) the loss of the ability to decompile back to Java source. But some developers don't mind a), and the more proprietary ones positively love b).
Kaffe, on the other hand, isn't a native compiler in the sense that the compilers above actually cough up an executable for you at the command line. But it has a just-in-time (JIT) compilation system which translates the bytecode to native machine code on a method-by-method basis as the application is executed. This really boosts Java app performance a lot.
...or you could use log4j from Apache and have a very powerful logging engine that's fairly simple to use and fast.
</shameless plug>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.
Stick Men
Many people don't realize that Sun is beginning to cash-in big amounts of dollars from Java. That's because any Java-enabled Phone, PDA, Digital TV set-top-box, or gadget-du-jour means a royalty to them, up to $1/box. There are already several millions of these gizmos, and a lot more are to come in the next years with the advent of HDTV. Sun is even lobbying to put Java within DVD players (in order to replace the crappy system used to author interactive menus, that is).
Why on earth would they open-source something that looks like the next goldeen goose ? That would be pure business suicide.
Waken up people. It's all about the money ! Not about "forking" and other stupid claims made to distract the open-source zealots from the real issue.
Sorry, A letter of intent from som MS lackey is not a legal document from the company.
And royalty-free RAND is not necessarily open source compatible. More than one Microsoft product has been licensed as "you use this library for any purpose except on open source applications" or "you use this library for any purpose but only on a Microsoft licensed operating system".
Do we still hate Java or what?
Yes.
Save your wrists today - switch to Dvorak
How to make sure any released "derived works" of their JRE, JVM and JDK are 100% compatible with their official releases.
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.
Besides the fact that my favorite linux distributions cannot ship the sun jre/jdk out of the box (pls don't tell me about JDS) and I cannot emerge it without download it from the sun website.
Sun is right to make sure tha every jvm is compliant with every bytecode. Write once, runs everywhere need to be preserved by all cost.
One of the key thing that opening Java would give is the possibility to debug issues ourselves.
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.
Sneak teach kids Algebra using a game
While I agree with you generally, you have to realize that Sun's licensing is a hindrance. You can't just port Java to OpenBSD, for instance.
You can say it doesn't matter, but it's just an example (on the other hand, the safest OS in the world is nice thing to have as a server -- say you're a banking instituion, wouldn't you say so?).
And by the way, you're just trolling, or disinformed. Gnome developers are interested in Windows.Forms in order to run apps written for Windows. There's cross-platfrom for you, something java never really achieved.
The JACOB project:
http://danadler.com/jacob/
Your teller is probably using Java based software to bring up your account details and conduct your transactions.
This holds double true for brokerage trade executions , matches, and settlement.
And then there's your phone bill. Chances are that is touched by Java somewhere -- on the website, in the call centre, etc.
etc.
PHP is prevalent on the web, but not as prevalent in major business applications.
-Stu
You sure as shit don't know what you're talking about. Sun was the one who pulled itself out of the process of going through a specification process. Microsoft went ahead, and C# was released with ECMA blessing.
Blackdown is just Sun's JVM with some customizations, nothing more, nothing less. Guess it's similar to the IBM JVM or is that one a complete implementation from scratch by IBM?
This works. Is it awful? Eh, verbose, but otherwise ok... Python is certainly more compact. But frankly, the tasks one does in Java are usually very different from what one would do in Python. Very different emphases.
File[] fileList = new File(".").listFiles(new FilenameFilter() {
public boolean accept (File dir, String name) {
return name.endsWith(".gz"); }});
for (File eachFile : fileList) {
do something
}
-Stu
Maybe I'm wrong or just stupid but to me, a fork is forking an existing source tree to take it another direction.
Some examples:
Xorg is an Xfree fork
Cedega is Wine fork
I don't think a fork means to follow some specs and write some code, for example:
GJC is not a Java fork, its an implementation.
Nor is a fork downloading patches for your windows machine. (someone mentioned it)
I don't know where all these people are getting these crazy definitions of fork, my only guess is that some "informative" posts are spreading false information.
I mean, a lot of people talk about forks like if they exist, they creep their way into the servers at night and fuck things up. You don't have to use a fork if it exists and it will probably live and died without you even knowing about it.
Forking the code in another direction is good for open source because those developers who forked the code can now work under their own terms and when a developer does that, he usually does his best work. Are all forks successful? Hell no, but its possible some of the code will find its way back to the original project, or other projects, and thats how open source lives on and flourishes. Its the most insane code reuse technique ever created.
I've never understood the argument that open-sourcing java will convince people to choose it over .NET? Why would someone choose .Net over java because java is not open source?
Bottom line is: the community owns Mono.
Sun owns Java.
So all you smug Leenox weenies out there: Java is not free. There's no Java for BSDs yet.
... would be IBM's fork of Java. There would be enterprises that would adopt that, even if it was no longer called "Java".
IBM would soon "Eclipse" the Sun.
random underscore blankspace at ya know hoo dot comedy.
The problem is that Sun's Java is not installed by default in most Linux distributions. As a Java developer (also use Ruby, Lisp, and Python a lot) the best situation for me would be to have Java installed by default on Linux and Windows - like on OS X.
For server side Java (web apps), which is mostly what I do, it does not matter too much because setting up a JDK, Tomcat, etc. is easy enough. It is a different matter however for Java client apps. Java is not that bad anymore for GUI applications and it would be great to not have end users having to install a JRE themselves.
BTW, natively compiling Java applications with GNU gcj is really getting to be a viable alternative to running under the JRE. I have been playing with Java and SWT also - looks promising.
I actually asked my professor this. His answer was really simple.
Free runtime, free IDE, free docs.
Technology Consulting & Free Downloads
Java was long time _the_ VM. And because they were the only option they could make their game "we own java and we alone decide were we go".
But now time has changed.
There is another System C# and the CLI. People say that it has advantages to java. I'm not that deep in java and c# to confirm that. But for me it sounds logical. Java was the first VM and since them there was enough space to learn more about the concept and learn from the mistakes of java.
But i think that's not the main reason. I think both platforms are well enough for most of the usual tasks.
But MS will push .Net on windows and i'm sure that this will be one of the main platforms for developing on windows in the future. So you have a great integration in windows. On the other hand you have Mono. In most cases it will be compatible with .Net, so your programs runs on windows, unix and MacOS. .Net activeX, COM,...
But at the same time you can have full integration in one platfrom:
- windows:
- Unix: Gtk#, gnome#, gst#,...
- MacOS: coca#
so you have all options: best integration or portability.
And all this bases on a ISO standardised C# and CLI.
So the arguments for .Net:
- comparable to jave (maybe better)
- multi language support
- based on a open standard
- platform independend or best integration (depends on what costumer wants)
- Free solutions with Mono (were everyone can decide what to do with the software)
And what have sun to over?
That there name is not Microsoft? That may be an argument for some kidies but not for the whole IT market all over the world.
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.
Web open-source scripting tools, such as PHP You can't make a fair comparison between the Java technology (whatever that means) and PHP.
PHP has its uses and Java has its uses. And Java is not a scripting language. Just because you can deploy a web site using JSP, you can't put Java in the same category as a web scripting language, me thinks.
Esta es una firma en Espanol.
COBOL is to Java what Neal Stephenson is to Issac Asimov. Both write good science fiction, but in the end they are really two different things entirely, syntax-wise.
(With applogies to the High School set who didn't have to endure analogies on the SAT this year...)
If I have to write lots of "rows and numbers" type programming, COBOL isn't bad. (but still not my first choice these days.) However, I don't think I want to write a GUI or the server side to a web site in it. Ditto for VB.
Of course, the whole comparison thing is meaningless unless you take into consideration what each language was designed for and when it was designed. COBOL has been around a LONG time (computer time wise), and certainly has been surplanted by new technology. There would be very few compelling reasons for me to start a new system in COBOL today. Java is (basically) a refinement of C++, with much better library support. As such, it's syntax is C based, which also has been around a long time. The C-like languages survive for two reasons: flexibility and terseness. (word?) C-like languages work on data structures, whereas COBOL-like languages work on 'business' or 'work' structures. That is the inherenet flexibility of the C-like languages vs. the COBOL-like languages. I can get C/C++/Java to work with basically any structure I want, but I'd have to bend over backwards to get COBOL to do a linked list. And I can do it in fewer characters to boot. (Programmers are lazy, ya know.)
You want your new whiz-bang language to survive? Make it flexible, make it terse, and make it fast. Perl met this criteria for many people. Java does too. VB was an aberation, surviving mostly on the sheer force of Microsoft's will. BASIC-like languages were certainly useful for what they were, but I'd argue today that a good scripting language like PHP is more appropiate for now.
}#q NO CARRIER
In Korea, only old people use EJB's.
Seriously, EJB's are the worst thing to ever come out of the Java camp that has managed to (sort of) survive.
See EJB's 101 Damnations
Well, isn't it obvious why Eclipse and Netbeas suck? Because the BileBlog said so! Sorry, I'm too lazy to find a quote on netbeans.
unless they have a special contract with Sun that costs an undisclosed amount of cash that allows them to do it. See Attachment D of SCSL for commercial use of J2SE source code.
cheers,
dalibor topic
This of course makes no sense on a lot of levels. The choice of a tool is completely dependent on the environment in which it is being used. If I have a mostly Java based system, with business objects and a database layer, it makes a lot of sense to use JSP's over PHP. A lot of that choice comes from the magnatude of the system in development, developer skills, etc. I'd even consider mixing the two technologies under certain circumstances. Large multi-tier systems are complex beasts that can quickly get out of control, and JSP's fit nicely into that scheme. PHP is a powerful scripting language with many great features in its bag of tricks, but it's still a scripting language and should be used correctly.
}#q NO CARRIER
Recently I discovered a Gentoo feature that now IMHO makes it the most enterprise Java friendly distro.
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.
Hardly. Kaffe already does a lot of things better than the non-free implementation does on a variety of platforms, and so does gcj. If there is *any* good, maintainable code in Sun's implementation after they hypothetically licensed it under an open source software license and the license was GPL compatible, then someone would merge it in, and make it work well.
Kaffe and gcj are not 'Java'. They are in a lot of ways better than the non-free implementations. And they are catching up quickly in those areas where they are not.
Sun's source code is simply getting more and more irrelevant every day. And that's a good thing for the Java platform, as it needs a second leg to stand on.
cheers, dalibor topic
For the class libraries, please go ahead and start sending patches for the 1.5 branch of GNU Classpath.
cheers, dalibor topic
cheers, dalibor topic
cheers, dalibor topic
For starters, you cannot call something Java unless it passes Sun's tests, which they charge you to run. In addition, all their books they ever made have a license in front that says basically if you read this you cannot make your own Java from scratch for free. you become bound by their license, even if you don't ever use their implementation in your life.
Practical upshot: you cannot just write a Java compiler/environment and call it Java.
I cannot think of another language that was a success that you couldn't write your own implementation for.
Sun really screwed the pooch on this one by using a license that was designed to enrich them and stifle all innovation. And kicking their language off the most popular platform (Windows) was stupid too.
I don't think so....
When was the last time you saw an ad for some device claiming "midp v.X.X"?? If you buy a device (say a mobile) the seller usually have no idea of what version of midp the device is, heck most people don't know what j2me is.... Face it, in the beginning people was exited over the possibility of running "cool apps" on their phones...well some years down the line and most people learned that the chances of some "cool app/game" working on their device is slim, you have to d/l the app/game version for that particular device...
Having been close to j2me developers, I can tell you they HATE sun..see, to much of the api is "up to the implementation" , so the "write once run everywhere" is a sad joke... And people has realized that...none is going into a store and ask "is this midp 2.0?? does it have sockets, more than one?? server sockets, does it support jsrxxx?....
Head over to the j2me.org forum and you will see (apart from the same newbie questions over and over again) questions like "I would like to do this, and then the user can do this, then the software do zat, how do I do it?" to which an answer is posted - "it depends on which device you are using, but for the most part....nope..can't be done"..
To be honest I made some developing myself, but soon got fed up with it and moved over to Symbian, which limits the number of potential custormers - the device has to be a "smartphone"... but then again, doing it in midp x.x also limits the number of targeted devices... Oh, and I tell you, once you got your app through QA, some bug shows up, which you fix..and everything is dandy until you realize that you broke the builds for some devices you scream about bugs in the kvm, read the affected javadoc and realize that it is possible to interpret the api in great many ways and often it's "up to the implemntator"...
Good lord, I get to upset...can't spell, feel light headed..I need to take a nap.
I agree. I read his blog for sheer entertainment value, as his thinly-veiled attacks on Red Hat, the FSF, and free/open source developers routinely top anything I could have imagined. Shocking! C/C++ still matters! What a fool.
It is really an interesting look into the Sun executive mentality.
Watch out dinosaurs! That astroid hit already!
It's not just Java that Sun has mis-managed. It's C/C++ developers as well. People forget that at one point in the late 90's, a lot of embedded software engineering was hosted on Sun boxes. That market is mostly gone now. Also gone: telecom, financial services, others. Sun has not had a compiler that competes, feature wise, with the GNU compilers for four or five years. While the FSF developers were competing against top-of-the-line compilers like KAI/icc, and forming industry consortia (Apple, Red Hat, Intel, SuSE, IBM), Sun was sleeping. To add insult to injury, they charge an amazing ammount for these crappy tools. (Sure, they will always optimize better on sparc64. That's not the point really, unless they can beat GNU compilers by 70% and match standards compliance and feature-wise. They can't.)
Since the FSF released gcc-3.4.x, Solaris support has improved remarkably (no thanks to Sun, of course: thanks to Eric Botcazou).
Since linux of the late 90s developers are used to
a platform that comes with GNU tools installed and ready to use. Oh, and did I mention this is at no cost? Hello? Plus all the other bits: recent bash, python, perl etc all working out of the box. Yes, we can get and install this stuff for Sun boxes. That's not the point. Make it easy, free, and painless. Stupid, stupid, stupid.
Also not helping: performance of linux on cheap boxes is 3-4 to 10x better than more expensive Sun hardware.
It is really sad to see Sun forget that it's the developer, stupid. Their technical documentation still reigns supreme, and has helped linux developers clone the best of Sun's API. Their contributions to POSIX and ELF are outstanding. Too bad their executives forgot that C (and later C++) built unix.
>Sun Microsystems wants to send Java closer to the open-source world, yet keep it safe from harm
Is this the most biased statement ever?
How can it state that a commercial software company cannot produce decent software?
Java, which faces ongoing competition from Web open-source scripting tools, such as PHP
Is that a joke?
I mean PHP is great and all, but are there really fortune 500's out there going "you know what lets replace our entire java infrastructure with PHP"?
I tried for 5 years to come up with a clever sig...only to realize that I am not clever.
For those who haven't noticed, Sun is just as bad as Microsoft in every regard. They are equally antagonistic towards Open Source. Java peaked years ago and its future is anything but certain.
Too bad, they could have been the good guys and Java could have been important. Of course, that would never happen. McNeally and Gosling were drinking the same Kool-Aid as Gates right from the start.
I don't think you understand. All the devices described by the parent post are compliant with standard(s) which mandate both a Java VM (which can be from any vendor) as well as standard-compliant class files from Sun. Even if you write your own VM, or buy one from a third-party, you're still going to pay a royalty to them because of it.
If these class files were open-source, you wouldn't need to pay anything to embed them.
Note that this has nothing to do with the technical quality of the various Java embedded APIs(MIDP, JavaTV, JavaMedia, JavaWathever...). It's all about mandatory royalties imposed by industry standards.
Actually, NetBSD's package system would be a better choice since it's portable everywhere. A colleague of mine has systems running Solaris, NetBSD, OpenBSD, FreeBSD, RedHat Linux, etc. They don't want to have to deal with building separate packages for each *NIX variant, so they're using NetBSD's system instead of the native package systems.
That the sound card won't work anymore. :(
Sure, to be free to do whatever you want with the source is nice and all, but let's not kid ourselves into thinking it's strictly neccessary.
James Gosling & Mc Nealy.
I fault Microsoft. Microsoft's insecure formats for documents and spreadsheets have trained users to click "yes" to "Are you sure you want to open this?" messages. If I had to open 50 such files a day in the course of my work, as many people do, I probably would have clicked right through the applet dialog box myself.
Your employer's an idiot and has bought into the FUD. They should be infintely more worried about hiring somebody who worked at another company before, since that person is also "infected" and this time with secret IP of that other company. GPL code is allowed to be read and examined, this employee is far, far worse, since even looking at the code is illegal.
In fact if "infection" was a legal worry, all software companies would have to hire everybody when they are about 3 years old and train them in-house on a special company-developed curriculum, with no ability to leave the premises or contact anybody outside.
I'm developing an Ultra JIT-HotSpot-AOT for C# 2.0.
It's HotSpot of HotSpot of HotSpot of AOT of AOT of JIT of CLR for Mono.
Well..I know, and I do understand, I just had an itch to scratch...you know..really frustrated with the implementations of the apis...
However, the success of the java is dependent of the quality of the apis, and there is much (imnsho) to be improved... Myself, I wont touch java (for any serious project) ever again... As to how much money SUN is actually making from these royalties, I don't know.
Java is trademark of Sun.
C# 2.0 is not trademarked.
Irrefutable Theorem: Java != C# 2.0.
So, C# 2.0 is not copied from Sun's Java.
Sun won't need to opensource his Java (tm) Virtual Machine because people is using open source Mono.
Don't get me wrong - Java/JSP has its place. But for that matter, so do PHP and ASP (ugh, though), as well as .NET (double ugh - I just prefer open solutions). However, I don't think any company that has an established Java infrastructure and coders to support it is going to rip it out and replace it with PHP - unless they save money (ie, fewer developers needed, for example), time (takes less time to roll out new changes), or it give increased performance/security...
Reason is the Path to God - Anon
I do.
cheers, dalibor topic
Nope. The JRL only allows research use -> no distributions. The JDL only allows distributing after passing the costly test suite -> no (volunteer based) distributions. The JIUL will only allow *internal* use -> no distributions.
cheers, dalibor topic
The lawsuit (I believe) had to do with a VS 6.0 product called J++... which was a clone/fork/ripoff and promptly pulled from the shelves.
I could have swore I read this article (Sun planning on opening Java) - In 1989?
Indeed, according to the FSF, that's a major reason the open source movement exists:
Digital Citizen
Where to go from Python? I thing I can think of is Lisp.
That's a bit of a Red Herring. As most people have mentioned, there are open source alternative Java tools.
.NET and then Mono would need work. You aren't even talking about the same thing.
Mono isn't even a Microsoft thing. MS could wildly change
Sun charges a boat load of money for a J2ME license, unless you happen to be Nokia or Sony or ARM.
... because only licensees have paid to use the conformance suite.
And then there's the extortion which is licensing the conformance tests.
Java is not open source until you have conformance tests that everyone agrees are good enough. That's why Sun will let you see the code
"No you can't. "
Did you tell the Blackdown guys they couldn't?
java is suitable for enterprise applications, but
its too bloated to be useful for anything quickly deployable that is table. Java is highly unstable
across platforms.. Sun should open source just by virtue of how unstable java is, it could use some
optimization and simplification..
Personally I would be interested in reduced instruction set and resource constrained versions
of the java VM.. I have a plan for a concept called
a media object, which replace files with objects that contain methods with the code (open sourced by design) for the purposes of convering media formats to the simplest yet flexible implementation..
I think the future of file formats are object formats.. MOV, WMV, RA, MPG, etc ==> Movie Object,
which contains the methods to interpret the encapsulated movie data.. The methods implemented in open source (by definition, mechanism, otherwise it will not work). Use CRC and Public Key Encryption to protect the integrity of the object methods from manipulation. Applications that load the media objects would run the media objects atop a VM.. This VM could be the open sourced Java VM.. If so, it would do away with vendor-lockin and leveraging practices that are enabled with static file formats.. Object formats are harder to leverage, especially if the method sets are open sourced by definition. Also it keeps the files from be obsoleted, as the libraries that extract the data are with the data (the definition of a Object).
The purpose of this organization would be to encourage the convergence on a simple set of object
media container formats, that are flexible enough to
change without causing applications to become incompatible (by supporting the basic interface
at the very least).
Just say no to license servers!!
Ah, Lisp! The sweet embrace of death...
Read the fine posts before you press Submit.
cheers, dalibor topic
With the one liner, I so often reach for FileFilter and FilenameFilter that I overlooked the plain 'ol String[] list() for this example. My bad.
-Stu