Sun Releases First GPLed Java Source 206
An anonymous reader writes "You can now get GPLed JVM sources from Sun. Everyone seemed to be expecting the desktop version (J2SE) but J2ME has been released first. It looks to be buildable for Linux x86, MIPS, and ARM platforms. Sun now calls it 'phoneME.' Enjoy."
And if you want to play with it now... MIDPath (Score:5, Interesting)
And people already started hacking it and combining it with all kinds of interesting existing free java projects to product MIDPath [thenesis.org]
Seems the GNU Classpath, Kaffe, GCJ, etc projects really want to Collaborate [wildebeest.org] and work together [wildebeest.org] with Sun according to their latest release notes [gnu.org]. 2007 might be a pretty interesting year for Java and GNU/Linux (and mobile devices!)
Re: (Score:2)
Re: (Score:3, Interesting)
If SUN Java is GPL'd, why would anybody carry on with an alternative version? Do they really thing that they can do better than SUN? Usually they do worse.
Kaffe in particular has been a problem for my project because it lacks some of
Re: (Score:2)
Isn't that one of the whole points of the GPL, to enable that?
Sure. And they probably can, at least for certain uses.
Re: (Score:2)
To enable it, sure, but we've seen that for the most part, GPL-covered software tends not to be significantly forked most of the time, since the economics of the situation tend to encourage people to pool their resources together. I imagine this observation was a major consideration for Sun in choosing the GPL in the first place.
Re: (Score:2)
I don't know. I do know that there are a lot of competing trade-offs in implementing most complex systems, and that some users may have interests that are different than those Sun is designing around. So that someone else with access to the Sun source could make better implementations for specialized uses than Sun (even if it means, say, an Linux distributo
Re: (Score:2)
Re: (Score:2)
What? (Score:2, Funny)
Re: (Score:2, Funny)
No, I believe "ME" stands for "Millennium Edition".
Re: (Score:2, Informative)
Its 7:00 AM and its slashdotted (Score:2)
Its not responding. Are there really enough slashdotters awake at 7:00 AM (EST) to bring down something from Sun?
Or is it just so large that the two people that are downloading it are now sucking up all the bandwidth?
In any case, anybody have a torrent?
Re:Its 7:00 AM and its slashdotted (Score:5, Insightful)
Re: (Score:2)
Re:Its 7:00 AM and its slashdotted (Score:5, Insightful)
Re: (Score:3, Informative)
Re: (Score:2)
Re: (Score:2)
Re: (Score:2)
Re: (Score:3, Interesting)
Says who? Show me something that says more than 50% of Slashdot visitors are in the U.S. please.
And how do you figure
Re: (Score:2)
Maybe the fact that its in American english, on a us server, with a us domain and american editors. but most of all, and this is the real proof, the ads target Americans. If there were really more visitors from other countries dont you think it would be a waste advertising american products and services.
and
Re: (Score:2)
Re: (Score:2)
Re: (Score:2, Funny)
Re: (Score:3, Informative)
Re: (Score:2)
But I'm sure you meant something completely different.
Congratulations to Sun and Thank You. (Score:5, Interesting)
They are freeing up the crown jewels, and the significance of that fact should not be underestimated. Free as in 'gratis' and free as in 'libre' [wikipedia.org].
I am not a Sun employee, but I am a Java dev., and I would like to remind people of Sun's contributions to open source over the years. While the press communications of executives have muddied the waters, Sun have done more in the past for open source than a certain "Think Free" company. That company pressed for open sourcing Java and then bitched about the choice of the GPL.
I would love to see the source to Websphere (not the Geronimo 'Websphere' product, but the real deal).
Re:Congratulations to Sun and Thank You. (Score:5, Insightful)
As far as I'm concerned: the short-term impact of this will be decent as people start getting their teeth into the source (as they have done since November), but the long-term impact will be fucking huge. I don't have a lot of personal experience, but this announcement combined with the fact that so many CS degrees start with OOP by teaching in Java means that people will routinely be encouraged to appreciate the power of FOSS from the start, before they get used to the limitations that its absence imposes.
To reiterate: This-Is-A-Good-Thing.
Re: (Score:3, Funny)
Re: (Score:2)
Re: (Score:2)
I'm waiting until I can actually apt-get install java and have it work before I'm too thankful.
Re: (Score:2)
Re: (Score:2)
Re: (Score:2)
I haven't been taking Java seriously as a programming language because there hasn't been a libre version. Only a gratis one. I'm also rather glad that of the various plausible licenses they chose the GPL, but that's an "optional extra".
Re: (Score:2, Funny)
Negotiable at all? I have a bag of magic beans here. Would they take them?
When you apply for a job with IBM, do they show you the Websphere source? Why?
What is this supposed to do for their recruitment efforts?
Something real good I guess! (Score:3, Interesting)
requirements: (Score:5, Informative)
* Red Hat Linux distribution version 7.2 - 9.0
* Java 2 Platform, Standard Edition (J2SE(TM)) Development Kit (JDK(TM)) version 1.4.2
* GNU Make version 3.79.1 or later
* GNU Cross Compiler (GCC) 3.4.6 or later
* Doxygen version 1.4.1
* Development Kit for the Java Card(TM) Platform 2.2.1
To set up the Linux/i386 build environment, you must do the following things:
* Acquire Monta Vista Developer Tools
* Set Linux platform environment variables
Acquiring Monta Vista Developer Tools
To build phoneME Feature software for the Linux/ARM (P2 board) target platform, you must acquire the MontaVista CEE 3.1 ADK developer tools. [mvista.com]
Comment removed (Score:5, Insightful)
Java for OpenMoko a step closer then (Score:2)
This seems good for the upcoming OpenMoko [openmoko.com]-based ARM smartphone; although the project emphasizes native app development, fact is, there's a lot of mobile Java apps floating around. So once this is ported to OpenEmbedded/Moko, it should boost the platform's usefulness for many users.
So thanks, Sun, for this Christmas present. (Now just waiting for the phone to actually come out... :)
Thank you Sun (Score:5, Insightful)
Re: (Score:2)
Maybe they just want good developers?
JavaOS? (Score:2)
If not, will the open source of Java help any existing projects do
Smart (Score:2)
Open Source Java at SACLE (Score:2, Informative)
Java is not easy to tune (Score:2)
How does this impact PalmOS? (Score:2)
Will this source bring the updated versions to work?
Re:Linux is great and all (Score:5, Funny)
And I also want this running on the Super Nintendo this time tomorrow, *snap *snap
Re:Linux is great and all (Score:4, Interesting)
To be serious for a moment, I honestly hope that this encourages ports to the Wii, XBox 360, and PS3. Java is an extremely capable game programming language at this point, and could potentially save programmers a great deal of development and debugging time. In fact, the only thing that's been holding developers back from using Java is that it doesn't port to the major consoles. If that were to change...
Re: (Score:2)
I play Wurm Online [wurmonline.com], a fairly involved persistent online fantasy simulator which runs in Java and JOGL and games like it could easily be made to work on the PS3 with PS3Linux, if the OpenGL acceleration were available.
Re: (Score:3, Interesting)
More precisely, you'd just need the development kit. (Which, granted, is a pretty exclusive club.) Sony already support the micro version of OpenGL, so it shouldn't prove too difficult to port JOGL or LWJGL. Of course, my understanding is that a lot of the graphics programmers develop their own drivers for the consoles. So that part would probably remain un
Re: (Score:2)
No, They could do that by not writing shitty code like most video game programmers in my experience, do.
Java won't magically make them better programmers. And it has quite some memory consumption issues.
Consoles have a limited amount of memory, you can't carelessly let the heap bloat to hell and back like you can on the desktop.
Re: (Score:3, Informative)
Blu-ray spec requires that all Blu-ray players have Java(J2ME, JavaTV API, etc.) due to future interactive menus, bonus material, etc will be done entirely in JAVA.
This is the core reason of Microsoft's opposition to Blu-ray and support of HD-DVD(which uses MS's iHD instead of JAVA) being that having a machine that runs JAVA by default and in every home can be very scary to MS.
So you shoiuld be able to make BD-J games on Blu-ray and h
Re: (Score:2)
Re:Linux is great and all (Score:5, Insightful)
Mono is comparable, yes.
However, Qt, GTK and wxWidgets are all just GUI toolkits! You still need a programming
language (Pascal, C++, Perl, even Java(!)) to use these. Installation will be easier,
though. I'm personally looking forward to "apt-get install sun-java" or somesuch.
Also, it will soon (when J2SE comes out) be possible to write better integration with existing
apps, such as better (faster, more modern) browser applet plugins. That, I'm looking
forward to.
(Oh, and now that the sources aer GPLed, it should be really easy to make this thing run on *BSD if it doesn't already)
Mono is not compareanble either (Score:5, Insightful)
Sure,
Re:Mono is not compareanble either (Score:5, Funny)
Sure,
Re:Mono is not compareanble either (Score:4, Funny)
Re: (Score:2, Interesting)
1. HP Commandview SDM (for managing an HP VA7410 array)
2. Cisco ASDM (for managing Cisco firewalls. As of 5.0 they finally got it somewhat right, but it took nearly five years for what I consider a critical app. See my rant below.)
3. Rio Music Manager Lite
Re: (Score:2)
on example (that i have used only a couple of times) - azuerus. it's fast, it's responsive (especially for java app
then there's tribal trouble - 3d strategy game. yep, that's right, written in java.
i am sure there are many more good examp
Re: (Score:2)
It's one of those things I HATE to use. Yes, on the surface it works rather well, but the fact that it is sluggish on a dual Athlon MP 2000+ (which was the heck of a machine when I got it) is extremely unimpressive. The same box runs absolutely everything else flawlessly. Heck, Visual Studio 2005 runs a lot smoother than Azureus.
Re:Mono is not compareanble either (Score:4, Informative)
I (as a contractor) come to a customer site, and see crappy Swing-specific code written. Its usually the developer not knowing how to deal with multi-thread programming (event dispatch thread, etc.). I rewrite the app, it goes into production, and the user base loves it. They click on a single web link to start their app, and automatically get updates when new versions come out. They can run it on multiple OSs too (music industry companies use lots of Macs (for example)). Its performance is comperable to other apps running on their OS/desktop.
Java (and Swing, or if you prefer SWT) is more than fast enough to do the job, is very powerful and is allot easier to write to than 3GL languages. But like with any tool (or weapon), you need to know how to use it to use it effectively. And that can be said of any computing language, both 3GL and well as 4GL.
I don't mean to be insulting, but it seems like you really don't know what you are talking about. I would even argue that (especially for businesses) it is the BEST choice of language to write applications in. No idea about using it for writing a game and such, but if you're looking for a 4GL (PowerBuilder) type replacement, its the best out there (even though its really a 3 1/2GL language).
Re: (Score:3, Funny)
Re: (Score:2)
Re: (Score:2)
Re: (Score:2)
Re:Mono is not compareanble either (Score:4, Insightful)
Comparable means you can compare the two things - one might be wonderful and the other total shit, but they exist on the same spectrum.
Apples and oranges are (canonically) not comparable because they're different fruit, so they have different criteria to be fairly judged on.
You can compare a nice apple with, say, a shitty, maggot-ridden one - they both have the same criteria, so comparison is valid.
So, on the basis they're both managed programming environments, both compile to bytecode, both tackle the same kinds of tasks in a similar way, you can compare Mono,
You might believe one is better than the others, but that doesn't make them incomparable.
Re: (Score:2)
Re: (Score:2)
Apparently Java 1.0 was released in 1995, so the GP is potentially not exaggerating. I remember my boss giving me a book on it at the time (I was 17 or 18), and I started doing simple work with it in the 1996-1999 era.
It's okay, we're all getting old, and some seni
Re: (Score:2)
Re:Mono is not compareanble either (Score:5, Informative)
Man
Re: (Score:3, Insightful)
Actually, the software I administrate is a Java application, it's probably the ONLY Java application I've dealt with that hasn't been a royal piece of shit. Most in house development stuff here see
Re:Mono is not compareanble either (Score:4, Insightful)
.NET and Java in the enterprise (Score:5, Insightful)
It's kind of amusing, when you think about it, that what Sun really got out of their lawsuit against Microsoft for their (really, really minor, especially relative to stuff like what Netscape did) modifications to Java was a pure competitor in .NET.
You mention .NET's ability to easily (I'd say "relatively easily") link to native code as a big detriment, but in many .NET implementations that's not used at all. It's easier to work with disparate code like that through a SOAP or database interface. In practice you see a lot of .NET front-ends to traditional servers via a SOAP integration. You see less of it used as a replacement for traditional MFC code, the kind of thing where such integration would be most useful.
But getting back to the enterprise, .NET's largest problem in terms of enterprise software is not that it's less mature than Java (in many ways I'd say that Microsoft took the good stuff from Java and improved it a lot) but rather that it's locked to Windows. Maybe you haven't noticed, but Windows is not a very good server operating system -- not very reliable, not very fast (except in very specialized situations), certainly not scalable. It's all very well and good that you can drop a couple of hundred boxes in there to scale to huge applications, but when you could run the same application on a single Sun you're really not making a cost-effective choice. (I wish I were making that up, but it is actually pretty typical to be able to replace as many as 100 Windows servers with a midsize Sun or two, and that is true not only of stuff like IIS/ASPX versus Apache/whatever that are differentiated by more than OS but also for directly comparable stuff like databases and ETL). Push Windows hard and it will break, often. It's nuts to put it in critical places (although that is done, a LOT, and people pay the price in ongoing maintenance).
Having said that, .NET is probably the single best GUI implementation framework I've seen yet (although that may be damning it with faint praise), and Windows, at least aside from the malware issue, is a pretty fine desktop. In that domain it shows what Java could have been if Sun had been even remotely competent (rather than giving us stuff like AWT and the Swing abomination). We're going to see a lot of .NET on the desktop because it is pretty much best-of-breed. More power to it.
Java is today, and has been since at least the late '90s, often used in enterprise situations. Whether or not it's appropriate in a lot of those situations is debatable, but it is deeply integrated into the core operations of a lot of companies at this point. Personally I feel that JMS is not very good at its job and J2EE as a whole is a steaming pile of dung designed by people who wouldn't know a good application architecture if it ran over their foot, but Java as a whole and these things in particular are out there and being used by a lot of people -- and at least in some cases doing a good job.
It is certainly possible to build robust, reasonably efficient large-scale Java applications. It is even easier to do that in Java than it is in C++, especially if you avoid some of the more ridiculous parts of J2EE. But that doesn't mean it's easy to build that kind of thing, and as you might expect there are a large number of really awful Java applications out there (just as the majority of large applications built on all the other languages out
Re: (Score:2)
However a lot of corporations won't trust it because it's OSS, and I've found many corporations won't trust OSS.
Re: (Score:2)
Re: (Score:3, Interesting)
You mean the one (WinForms) that still doesn't have proper layouts, and until version 2.0 didn't have owner-drawn listviews? Or the one (WPF) which is so ugly it beats Swing in Java 1.4 (I'd rather look at non-smoothed fonts then suffer the pain of catching a glimpse of what WPF font smoothing does)?
Personally, I rather find Swing to be one of the best, if not t
Re: (Score:2)
The first two I can think of:
Nationwide's hiring website for the longest time (maybe even still now), would only work with IE, it was written in JSP/Applets. Dunno why, but a couple applets wouldn't work in firefox in Wi
Re: (Score:2)
I'll give you that applets never worked worth a damn, but their choice of JSP was irrelevant to whether or not the pages loaded in your browser - JSP generates HTML/CSS/JavaScript and your browser either understands it or it doesn't... the fact that the backend was done in Java is irrelevant in that case.
You're right about applets - although in Nationwide's (possible) defense, there was a time, not too long ago, when it was not obvious what the right
Re: (Score:2)
Re: (Score:2)
And I brought up FF + IE because they were both using the same JVM on windows.
Or would you rather an older example of Netscape on Windows (Sun JVM) and Netscape on Solaris (same version of the Sun JVM)...
I had a couple of those two.
Re: (Score:2)
I can add a few command line java utilities I used as well to the list, except I don't know there names, I just threw them away after findnig the worked well on Solaris, but not linux or windows even though they were supposed to.
Sorry, but if a cross platform API doesn't work the same on multiple platforms, it's flawed. It may work fine 99% of the time, and I may have had the 1% bad experience, but the fact is, I've dealt with th
Re: (Score:2)
But both the applications I mentioned before sent applets to the browser, not just server side JSP, so the browser was running Java stuff too.
Re:Mono is not compareanble either (Score:4, Informative)
> Actually, I do, and I am forced to work with the steaming pile all the time
I fall into the "work for a Telco and have to deal with steaming piles of java" category as well. Yes, the developers have something to do with it, but its also the Java mentality of those developers, as well as a few wonderful quirks of the language and its environment. For starters, it seems, for our dev team at least, anything can be done in the Java world if you throw enough $$ at a "platform" or "Framework" and then spend the next several years with large teams of developers and outsourced help (India) to find that the platform/framework you bought cant actually do anything you bought it for (buzzwords), so another one must be bought to solve all the problems (rinse/repeat). They also like to over develop stuff, writing full-blown "feature" filled aps where a single line of cron and/or 5 lines of perl would suffice, and spend the next few years debugging it and restarting it every time it crashes (nightly for most). Java has also somehow managed to become the ONLY SOX compliant language in the eyes of management, possibly due to the dev team, requiring SOX related stuff (which becomes whatever someone feels is somewhat related to SOX in any remote fassion) to be put into a Java wrapper if its not already Java based so that their Java platforms can tickle it all they want.
As for the Java platform itself, one of the most common things done in my group (system ops) with systems is restarting Java aps and Java engines. Why? The ap breaks or tickles some Java bug. One nice feature in Java (or Tomcat or JBoss) we know about because of specific breakage it causes is that it keeps its own cache of DNS. The only problem being it ignores TTL and the whole thing has to be reloaded to refresh that cache. Then there are the other Java bugs that cause breakage to the bewilderment of our dev team. Load a page, it works, go back and try again a few minutes later and it crashes. Most likely a poorly written ap causing some memory buffer to overflow, but wasnt Java written to handle that sort of stuff internally so the app dev team doesnt have to worry with it??
People might see it as Enterprise App worthy, but I think it has long gone the way of PHP, where most developers have gotten lazy and sloppy. I have used it in the past, though I currently use Perl for a good number of reasons. Like any language, it has its place.
Tm
Re: (Score:2, Interesting)
>For starters, it seems, for our dev team at least, anything can be done in the Java world if you throw enough $$ at a "platform" or "Framework"...
>They also like to over develop stuff...
>Most likely a poorly written ap causing some memory buffer to overflow...
>...but I think it has long gone the way of PHP, where most developers have gotten lazy and sloppy.
Re: (Score:3, Interesting)
On the plus side, at least java mostly r
Re: (Score:2)
Re: (Score:2)
Slightly offtopic, Etch seems to have lost support for OpenMotif. I used to install this and
then the Citrix ICA Client for Linux. Well that doesn't work anymore.
But, installing Sun Java, Apache and the Java ICA Client works quite well. Sure it's a lot of
closed source but Citrix just happens to be one of those "I'd always use Linux if it would just
run..." apps for me at the moment so Sun's Java really helped me in this case.
A couple more mo
Re: (Score:2)
Re: (Score:3, Informative)
Have you actually tried to compile it? I compile for my architecture (64) all the time with things that aren't made to support it. Sometimes I have to make small changes to strings, but it can't be THAT much worse installing on BSD.
Re: (Score:2, Insightful)
Re: (Score:2)
Re: (Score:3, Insightful)
Sun, you're a bit late.
Fanboys will always be fanboys. Why don't you just say "I like .Net better and that's why I am trying to scare everyone away from Java, so I have a chance"?
Sun did what nobody expected, opensourced its greatest (both in terms of size and of completeness) and industry leading development platform. Now productivity at the grasp of even the most rabid opensource zealot.
Now what? You are going to tell it's "too late"? I will tell you what is going to happen, Mono has just lost any reason to exist and to be use
Re: (Score:3, Insightful)
Re: (Score:3, Insightful)
The same place as the Amiga support! ;)
I don't think anybody at Sun would deny this. But so what? Enlightened self-interest [wikipedia.org] is nothing to sneer at.
Re:Quality of the code? (Score:4, Insightful)
Re: (Score:3, Informative)
PhoneME is Sun's name for their implementation of the Java ME specific
Re: (Score:2)
Re: (Score:2)
Re: (Score:2)
Re: (Score:2)
I've seen Linux distros with the Intel 3945ABG drivers (binary blob stuff) and Linux distros with Java...