LWATCDR writes "First we got 64-bit Flash; then the beginnings of 64-bit Wine; now Sun is providing a 64-bit Java plugin. For most people there is nothing to hold you back from running 64-bit Linux."
Linux has had a full-featured 64-bit Java plugin that even includes LiveConnect [wikipedia.org] support for at least months [softwhere.org] via IcedTea [wikipedia.org], a special build by Red Hat of the official OpenJDK source tree. For example Ubuntu 8.10 ships this 64-bit plugin as the icedtea6-plugin [ubuntu.com] package, which I have been using for the past 2 months. And, no, I am not talking about the GCJ or Blackdown Java implementations which are significantly more buggy or incomplete (lacks LiveConnect support).
What is new today is that Sun just released a development build of Java 6u12, build b02 [java.net], which includes the 64-bit plugin. However technically we still have to wait for a couple months before 6u12 is officially released. But again you can already get a 64-bit plugin based on essentially the same source tree via IcedTea.
you're confusing java applets circa 1997 with the java platform.
take a look through the it job listings and see how much java comes up.
much, if not most, server side *enterprise* work is done in java, which is a mature, robust, reliable, performant and scalable platform for which there are myriad commercial and open source libraries to give any project a great set of building blocks and frameworks on which to build.
i check out language du jour a couple times a year, and every time it reaffirms java's benefits.
the problem with applets is they were generally pretty hacky, but there are some good ones out there.
( check out the yahoo games website - my wife has been addicted to literati for years, and its a nice little java applet ).
java on the desktop has a place too, however its the same set of rules for design and structure as applets: done well, nobody would know/care what language its written in, but done poorly without care for threading models and it'll quickly turn into a steaming pile.
then theres j2me, and i'd wager if you have any tivo type device, or even set-top box for your cable service, or blu-ray player, or most mobile phones these days, then you have java working for you there too.
not that i'm arguing for applets by any means, but the more people spread the same old rants as above, the more i'm inclined to correct them.
Now it's racks of big ass servers or blades groaning under badly designed layers and layers of Java 'middleware'
so your premis here is the problem is the language/platform rather than the design at fault?
If you have insane amounts of CPU and memory to throw at it to cover up the slowness
either you need to replace the tandy coco you mention later as your primary pc, or you could actually _try_ it before you bag it. ( trying it again after 1997 might also be an idea..)
Must have missed it.
that tends to happen when you have HASUB* syndrome. it happens, dont worry about it. you probably havent noticed a lot of stuff.
.. some rant about java and vista bloat related to java desktop. and then brings solaris and mac into it. pfft.
yawn.
No, you notice when a small app starts sucking up all available memory. Java sucks memory so hard GNOME starts looking lean in comparison
i can malloc my way into something that smells the same in c too.. only in java you're less likely to leak.
hey actually put players on shelves that take upwards of two minutes to go from tray close to anything useful appearing on the display
huh? i drop blu-ray disks into my ps3 and its playing within a few seconds. you're smoking crack.
I've got a cheap crappy basic cell phone. You can almost see individual pixels draw on the darned thing...
unless you run an application on your cheap crappy phone, you're probably looking at just the cheapness and the crappiness of the phone, not java.
i think what you really meant in the above post was more along the lines of 'get off my lawn'.
i know this is slashdot, but occasional fact checking really cant hurt if you're going to go on a raving rant about your hatred of specific technologies.
*HASUB syndrome: Head And Shoulders Up Bum syndrome
Anyway, there are lots of reasons to use Java (though not in a browser setting) nowadays. Just my two cents. YMMV, not all languages are created equal, not every language is good for every project, etc etc etc.
Disclaimer: I have a great dislike for Java, but the job offer I just accepted is almost exclusively Java work. Silly me.
And this story is only important if somebody out there has a burning need to run a 64bit Java app... in a web browser.
Actually, the way I understand it, it's for those who want to use the plugin with a 64-bit browser (I didn't realize that was not possible until now). There's no such thing as a "64-bit Java app", only 64-bit JVM implementations.
Can anybody name a good reason to develop new code in the environment? Yes a lot of legacy stuff was created in the 1990s while Java was the new shiny for people too blind to see (or with a PHB too blind...) the myriad problems but new projects?
You're joking, right? Java Applets are dead and buried - and with good reason, they were a horrible hack from the beginning - but Java itself is one of the most important languages we have.
I know Java-bashing is a popular Slashdot pastime, and certainly it's not the most exciting and sexy language out there, but it's popular for a reason. It's got its share of problems (gasp! something that isn't perfect!) and more that its share of outdated myths (gasp! modern JVMs perform well!), but it strikes a pretty good balance between abstraction, performance, and complexity (much as I hate to use this argument, not every programmer out there is a rock star).
I really want to hear what you would recommend as a wholesale replacement for Java. I'm pretty sure I don't know of anything that's as broadly applicable.
(Plus, with projects like Scala and Clojure it's looking increasingly like the JVM isn't going anywhere any time soon, regardless of Java's fate)
I really want to hear what you would recommend as a wholesale replacement for Java. I'm pretty sure I don't know of anything that's as broadly applicable.
Try C++, which seems to get much less attention than it should. It's undeniably faster than Java, but equally good at creating usable abstractions.
Good riddence to java 32 and 64bit, Sun freed it about a decade too late for most people to give a crap
I still think the failure of Java on the desktop is a tragedy and hope it will rise again (though I'm not holding my breath). What has replaced it for rich applications on the web? I see steaming, muddled heaps of web-specific "standards" and scripting languages which, individually, are too weak to do much. Give me a real language, for pete's sake. Yet, my experience with Java in the browser was as bad as everybody else's - they hardly ever worked. Either my JVM wasn't new enough, or it froze up.
But what I see missing from this discussion so far is a reminder that, at the height of their power, Microsoft killed Java on the desktop very intentionally - they put a polluted "MS-Java" with embrace-and-extend hooks into Windows. So Sun sued them and in retaliation, Microsoft made sure Java on the desktop was a pain in the butt for everybody. It was still possible, but too much trouble to bother. This history is important because it means Java still might succeed if it were given a fair shake. And now that Microsoft is less dominant (and RAM is cheap:) maybe - just maybe - the phoenix can rise again?
Oh please. You're telling me you can implement a webcam viewer with Javascript?
The only real alternative for Java applets is Flash. Of course, compared to Flash, Java applets have a lot of downfalls. The VM takes a ridiculous amount of time to start up, and it's really intrusive when it sits in your system tray and constantly announces its new updates.
However, this is Slashdot, which means there's lots of open-source advocates around. So for all the OSS advocates out there, stop and think for a minute before you bash Java applets. They're not great, but they're the only open alternative to Flash right now.
The only real alternative for Java applets is Flash. Of course, compared to Flash, Java applets have a lot of downfalls. The VM takes a ridiculous amount of time to start up, and it's really intrusive when it sits in your system tray and constantly announces its new updates.
Down to less than 2 seconds on my system, these days. Each new release seems to take less time than the last. And the update announcements can be disabled, if they annoy you.
Also, Java applets have a lot of upsides to flash as well:
* Ability to access network services (not just via XMLHttpRequests), so live streaming data is a possibility * Signed applets can access local system resources that Flash cannot * Use useful APIs to do stuff that's beyond the capabilities of Flash (e.g. the Java port of OpenGL) * Don't have to design your user interface as a series of frames that you move between to show and hide aspects of it (yeuch... I've done one project of Flash UI design, and that was more than enough for a lifetime thanks.) * Much, much easier to support internationalisation * Acceptable calculation speed for CPU-intensive stuff
I'm sure there're more. OK, Java applets are a heavyweight solution. But they are the only solution other than ActiveX for many problems.
I wait with bated breath for a hyperlink that I can click on to play an Ajax version of Quake 2. Until then I'll just have to make do with http://www.bytonic.de/downloads/jake2_jogl11.jnlp [bytonic.de] instead.
In all seriousness though, my wireless card (Intel 3945 ABG) didn't work with kernel 2.6.25 x64 (though it did in 2.6.24 x86), but then I upgraded to 2.6.26 x64... and it works flawlessly, without redoing any wireless configuration or reinstalling anything else. Even the LED blinks appropriately:) (I wasn't even trying to make the wireless work when I upgraded the kernel, I was trying to make my audio work. Still no luck there.)
Most of the 3rd-party applications my work run only work with with java runtime 5.0 and do not work with 6.0. Until sun provides a 64-bit version of Java 5.0 then I will be stuck on the 32-bit version with a 32-bit browser.
Yes, we have one we payed a few hundred grand for. SungardSCT can suck my balls. Not only does it only work with java 5, but it has to be the exact right version. Do the wrong patch and its all over.
""First we got 64-bit Flash; then the beginnings of 64-bit Wine; now Sun is providing a 64-bit Java plugin. For most people there is nothing to hold you back from running 64-bit Linux."
What is it with large corporations and only creating RPM files for their software? I got the.bin file, but it just extracts to the current directory, without listing where all the files need to be copied to...
If anyone can post a quick tutorial (or list of folder locations), that would be awesome.
What is it with large corporations and only creating RPM files for their software? I got the.bin file, but it just extracts to the current directory, without listing where all the files need to be copied to...
The simplest thing you could do, is use the "alien" package to convert it to a.deb file. The alien package manager works, most of the time, and it beats using cpio to extract the rpm file and repackage it as a deb.
As for where the Java files go, they usually go under/usr/lib/java or/usr/lib/jre if I recall correctly.
What is it with large corporations and only creating RPM files for their software? I got the.bin file, but it just extracts to the current directory, without listing where all the files need to be copied to...
The simplest thing you could do, is use the "alien" package to convert it to a.deb file. The alien package manager works, most of the time, and it beats using cpio to extract the rpm file and repackage it as a deb.
As for where the Java files go, they usually go under/usr/lib/java or/usr/lib/jre if I recall correctly.
Alien is not going to fly as Debian is in the midst of moving Lenny out the door and this would first start in Experimental, then move to Unstable/Sid, which need to make sure they are lintian clean. I'm going to file a reportbug on this with the owners of openjdk-6 and get this moving into an update to the openjdk-6 all around.
The article implied that IcedTea (OpenJDK) is already 64-bit. My system reports the plugin as a 64-bit shared object. This release from Sun just makes it part of the official Sun Java download.
Sun has always made it a royal pain to use their java. For years they've always wrapped everything in click-through licenses, so you couldn't just download it and install it using your distro's packaging system. This version seems like more of the same, or maybe even worse. I went to the java.net page linked to from the article, downloaded the file. It's a shell script, and when you run it, the first thing it does is print out a license and ask if you agree to it. Some of the contents of the license:
3.1 Licensee may not duplicate Licensed Software other than for a single copy of Licensed Software for archival purposes only.
3.3 Except as otherwise provided by law, Licensee may not modify or create derivative works of the Licensed Software, or reverse engineer, disassemble or decompile binary portions
of the Licensed Software, or otherwise attempt to derive the source code from such portions.
3.5 Licensee shall have no right to use the Licensed Software for productive or commercial use.
6.1 This Agreement will commence on the date on which Licensee receives Licensed Software (the "Effective Date") and will expire twelve (12) months from the Effective Date, unless
terminated earlier as provided herein.
6.2 Either party may terminate this Agreement upon ten (10) days' written notice to the other party.
So in other words, it's not open source under the Open Source Definition [opensource.org].
I think it's great that Sun has GPL'd their implementation of java. Three cheers for Sun for doing that. But they've proved over and over again that any open-source project they control will have a closed development process, will ignore their user community, and will be a massive pain to install and work with. So the really good thing about Sun GPLing their version of java is that now, finally, we've gotten to the point where people other than Sun -- people who Get It about open source -- can take the ball and run with it.
>apt-get install openjdk-6-jre openjdk-6-jdk icedtea-gcjwebplugin >Sun has always made it a royal pain to use their java You are criticizing sun java, but that *is* sun's Java implementation. The only part that isn't is the icedtea-gcjwebplugin.
>For years they've always wrapped everything in click-through licenses, so you couldn't just download it and install it using your distro's packaging system.
Huh? For years I've been able to download and install sun java through ubuntu. Before they rebranded it as "openjava" you could still download it. The ubuntu package manager would *pop up* that clickthrough license that you are talking about.
>, it's not open source under the Open Source Definition
Not being open source doesn't stop it from being used on Linux... Most production Linux systems have proprietary software on them, especially proprietary drivers and firmware. You probably have some on your box and don't even know it.
For that matter, it's impossible to have a completely open source system because the hardware itself is not open source. Stopping at the software layer is totally arbitrary. All Linux users have *some* level of comfort with proprietary technology.
For that matter, Sun controls Java's language definition, so the language itself isn't really open. If you want an open platform, use C++, Python, Ruby, Javascript or any other language that is community controlled or standards based. Java is really an awful language, so I don't understand what your holdup is. You need to use Java, but not Sun Java? Use Java or don't, but don't Use Java and try to do it in a stupid way that will never work properly
People widely use Sun Java in production environments because the alternatives are buggy as hell. The "openjdk" you reference is actually just sun java repackaged, not an independent effort, but I used the older open source versions of java back in the day, and they were all awful and buggy. GNU Classpath in particular just does not implement much of the java libraries.
It includes a plugin and javaws support. The two major things sun java 64bit has been lacking for years. It is still lacking the rim.cgi, but I have never had a need for it.
The plugin needs some polish. It doesn't properly declare it's version. Which makes a kvm application I use fail, because it tries to check the version.
Unlike Flash, Java source-code was perfectly open and available for years (it has even been GPL-ed for a while, but before that was still available). Why did anyone have to wait for Sun to release the 64-bit plugin instead of compiling one? A fairly small patch was required (long vs. size_t somewhere deep inside)...
FreeBSD was providing Java [freshports.org] (with the plugin) for both i386 and amd64 for years now...
What does the fact, that this is news, tell us about Linux developers? First they holler at Sun to release the source, that's already available for download under GPL. And then they still would not touch it, until Sun gets around to it... "Freedom to tinker" my behind.
Someone forgot to future-proof their language. 10 years from now, when you're running a 128-bit cpu with a quarter-terrabyte of ram, those 32-bit signed ints are going to look mighty quaint. "What do you mean, I can't store the [file size|number of inodes|ipv6 address|whatever] in a 128-bit int? What do you mean, 128-bit java doesn't have 128-bit ints? You're shitting me, right? This is 2018... what's gonna happen in 2038 - we gonna have a 2k38 java problem? No? Why should I believe you? You can't even right-size your ints..."
Write some stuff in C#/.NET sometime. Especially the embedded version. You'll see why. Every time MS puts out some patch...stuff breaks. Why? Because they do crap like this.
I have an embedded platform that has the.NET 2.0 binaries on it, as well as a 3.5 version. And I had to hack that one in from binaries from Visual Studio manually. The 2.0 binaries don't run on 3.5. The 3.5 binaries don't run on 2.0. It *sucks*.
So - if you suddenly doubled the size of an int it would break backwards compatibility and do this sort of horrible crap to Java. People who use java 1.2-1.6 would need their 32 bit ints. If you wanted the same box to run your 64 bit int Java, you'd need two sets of binaries. And a way to switch between them.
Either int will be a fixed size and longer ints will have another name, or you can explicitly state the size of int as a declaration. This has always been done and 'good coding' should include explicit declaration. It is when people cut corners and use "what works" that can quickly create regression bugs when backwards compatibility is integrated, but you didn't follow good coding guidelines. "That always worked fine suddenly stopped working" issue. This is also why a lot of those "bugs" don't get fixed.
People need to follow proper coding guidelines, not try to stop things from progressing. Programming has always been progressive in this way, and just relearning the new way has never been much of a way to keep up.
The 256GB monster is actually non-production, due to the quirks of the management in our software side they wanted to have "identical" testing capabilities vs prod. Since we are CPU licensed the cheapest way I could get them two non-prod environments to match prod was to match the prod CPU count and double the ram. This way we have room to go prod if we need to. Our DR scenario is currently to either move the prod HBA's into the non-prod server or zone the prod disks to the non-prod HBA's depending on the failure mode, the app is currently not covered by our DR SLA, but should that change then we will begin either log shipping to a like DR box or buy a second SAN for DR and use SAN replication. Oh, and to answer your questions directly:
1)Cost, Oracle RAC is expensive per transaction, it's more of an availability tool then a performance one.
2)Data transform tool and the fact that the best way we have found to maintain decent I/O performance without turning down Oracle's data integrity options is to throw more log writers at the problem, one I/O writer per core.
3)Like I said prod is only 128GB and since our OLTP DB is currently only about 60GB uncompressed I don't forsee us outgrowing a maxed box before the 3 year hardware cycle is out.
4)Currently our primary table is growing about 1.2M rows a month, but we are adding addition capabilities about twice a year so data growth is hard to quantify over a long period of time.
5)Our SLA is something like 95% during SLA hours, hardly hard to achieve with decent equipment. We recently experienced some of the worst downtime in my career due to prematurely outgrowing our old Cisco 9140's (they fell over at ~1.7Gb max traffic, very pathetic), but it was a total of about 4 hours of user visible downtime and even less for the financial systems.
6)DR is talked about above.
Other)Storage, we use a Xiotech SAN, we have 36TB of raw space over 224 spindles which is utilized for file storage, SQL Server, Lotus Notes, and multiple Oracle installations as well as for some boot from SAN application servers. Our next move will probably be to their Emprise 7000 line which will probably suck in all of the data in our current until as well as host document archiving for ediscovery. The Emprise is a beast of a system, scalable from 1TB to 1EB, the bigger limitations are the connected servers (248) and LUN's (1,024).
An hour of DV footage is 10GB. A 32-bit offset gives you 4GB of addressable space, so that's not enough. A 34-bit offset gives you 16GB, so that's fine. Maybe you're recording raw HD footage though, let's say 1080p, so 1920Ã--1080 pixels. You're editing, so let's say you want 32-bits per channel, three channels. That gives you around 24MB per frame. Let's say 30 fps, so 712MB per second, or 2.4TB per hour. Let's say a filming session is 10 hours, so that's 24TB per file.
Take the base 2 logarithm of that, and you find you need just under 45 bits to represent any offset in it at byte granularity. If you double the horizontal and vertical resolution, you need 47 bits. If you double the frame rate, you need 48 bits. Go to double-precision floats for each channel, and you need 49 bits. If you use stereoscopic cameras, you need 50 bits. 64 bits still gives you a lot of space to play with. When your files are more than 16 exabytes, you should probably consider splitting them a bit. A filesystem more than 16 exabytes is likely to be needed over the next decade (hence ZFS), but 64-bit files are going to be fine for a very long time. Even today, very few files are over 4GB (mostly DV footage and DVD images), and we've had support for those for around a decade now.
I think the red title might be a "new/hot off the press article" color. I saw it as well, but refreshing it changes it back. At least, that's my guess.
64 bit Java? (Score:5, Informative)
Linux has had 64 bit java for donkeys years... *rereads summary* - oh, Java browser plugin. A piece of the 90s I was hoping we'd all left behind.
Re:64 bit Java? (Score:5, Funny)
Someone has to be slower to load than the acrobat reader plugin.
Parent
Re:64 bit Java? (Score:5, Funny)
Someone has to be slower to load than the acrobat reader plugin.
Not even Java can take that prize.
Java Joke:
Knock Knock.
Who's there?
Java!
Adobe Joke:
Knock Knock.
Who's there?
Crash.
Parent
Re:64 bit Java? (Score:5, Funny)
That's not really a properly-formed knock knock joke. How about:
Knock Knock.
Who's there?
...
...
...
...
Java!
Java who?
...
...
...
...
Java few minutes? 'Cause this might take a while.
Parent
Re:64 bit Java? (Score:5, Informative)
Linux has had a full-featured 64-bit Java plugin that even includes LiveConnect [wikipedia.org] support for at least months [softwhere.org] via IcedTea [wikipedia.org], a special build by Red Hat of the official OpenJDK source tree. For example Ubuntu 8.10 ships this 64-bit plugin as the icedtea6-plugin [ubuntu.com] package, which I have been using for the past 2 months. And, no, I am not talking about the GCJ or Blackdown Java implementations which are significantly more buggy or incomplete (lacks LiveConnect support).
What is new today is that Sun just released a development build of Java 6u12, build b02 [java.net], which includes the 64-bit plugin. However technically we still have to wait for a couple months before 6u12 is officially released. But again you can already get a 64-bit plugin based on essentially the same source tree via IcedTea.
Parent
Re:64 bit Java? (Score:5, Insightful)
you're confusing java applets circa 1997 with the java platform.
take a look through the it job listings and see how much java comes up.
much, if not most, server side *enterprise* work is done in java, which is a mature, robust, reliable, performant and scalable platform for which there are myriad commercial and open source libraries to give any project a great set of building blocks and frameworks on which to build.
i check out language du jour a couple times a year, and every time it reaffirms java's benefits.
the problem with applets is they were generally pretty hacky, but there are some good ones out there.
( check out the yahoo games website - my wife has been addicted to literati for years, and its a nice little java applet ).
java on the desktop has a place too, however its the same set of rules for design and structure as applets: done well, nobody would know/care what language its written in, but done poorly without care for threading models and it'll quickly turn into a steaming pile.
then theres j2me, and i'd wager if you have any tivo type device, or even set-top box for your cable service, or blu-ray player, or most mobile phones these days, then you have java working for you there too.
not that i'm arguing for applets by any means, but the more people spread the same old rants as above, the more i'm inclined to correct them.
Parent
Re:64 bit Java? (Score:5, Insightful)
Now it's racks of big ass servers or blades groaning under badly designed layers and layers of Java 'middleware'
so your premis here is the problem is the language/platform rather than the design at fault?
If you have insane amounts of CPU and memory to throw at it to cover up the slowness
either you need to replace the tandy coco you mention later as your primary pc, or you could actually _try_ it before you bag it. ( trying it again after 1997 might also be an idea..)
Must have missed it.
that tends to happen when you have HASUB* syndrome. it happens, dont worry about it. you probably havent noticed a lot of stuff.
.. some rant about java and vista bloat related to java desktop. and then brings solaris and mac into it. pfft.
yawn.
No, you notice when a small app starts sucking up all available memory. Java sucks memory so hard GNOME starts looking lean in comparison
i can malloc my way into something that smells the same in c too.. only in java you're less likely to leak.
hey actually put players on shelves that take upwards of two minutes to go from tray close to anything useful appearing on the display
huh? i drop blu-ray disks into my ps3 and its playing within a few seconds. you're smoking crack.
I've got a cheap crappy basic cell phone. You can almost see individual pixels draw on the darned thing...
unless you run an application on your cheap crappy phone, you're probably looking at just the cheapness and the crappiness of the phone, not java.
i think what you really meant in the above post was more along the lines of 'get off my lawn'.
i know this is slashdot, but occasional fact checking really cant hurt if you're going to go on a raving rant about your hatred of specific technologies.
*HASUB syndrome: Head And Shoulders Up Bum syndrome
Parent
Re: (Score:3, Insightful)
I hope you mean "C#/Mono disease"...
Anyway, there are lots of reasons to use Java (though not in a browser setting) nowadays. Just my two cents. YMMV, not all languages are created equal, not every language is good for every project, etc etc etc.
Disclaimer: I have a great dislike for Java, but the job offer I just accepted is almost exclusively Java work. Silly me.
Re:64 bit Java? (Score:5, Informative)
Actually, the way I understand it, it's for those who want to use the plugin with a 64-bit browser (I didn't realize that was not possible until now). There's no such thing as a "64-bit Java app", only 64-bit JVM implementations.
Can anybody name a good reason to develop new code in the environment? Yes a lot of legacy stuff was created in the 1990s while Java was the new shiny for people too blind to see (or with a PHB too blind...) the myriad problems but new projects?
You're joking, right? Java Applets are dead and buried - and with good reason, they were a horrible hack from the beginning - but Java itself is one of the most important languages we have.
I know Java-bashing is a popular Slashdot pastime, and certainly it's not the most exciting and sexy language out there, but it's popular for a reason. It's got its share of problems (gasp! something that isn't perfect!) and more that its share of outdated myths (gasp! modern JVMs perform well!), but it strikes a pretty good balance between abstraction, performance, and complexity (much as I hate to use this argument, not every programmer out there is a rock star).
I really want to hear what you would recommend as a wholesale replacement for Java. I'm pretty sure I don't know of anything that's as broadly applicable.
(Plus, with projects like Scala and Clojure it's looking increasingly like the JVM isn't going anywhere any time soon, regardless of Java's fate)
Parent
Re:64 bit Java? (Score:5, Funny)
Try C++, which seems to get much less attention than it should. It's undeniably faster than Java, but equally good at creating usable abstractions.
Parent
Re:64 bit Java? (Score:4, Insightful)
I still think the failure of Java on the desktop is a tragedy and hope it will rise again (though I'm not holding my breath). What has replaced it for rich applications on the web? I see steaming, muddled heaps of web-specific "standards" and scripting languages which, individually, are too weak to do much. Give me a real language, for pete's sake. Yet, my experience with Java in the browser was as bad as everybody else's - they hardly ever worked. Either my JVM wasn't new enough, or it froze up.
But what I see missing from this discussion so far is a reminder that, at the height of their power, Microsoft killed Java on the desktop very intentionally - they put a polluted "MS-Java" with embrace-and-extend hooks into Windows. So Sun sued them and in retaliation, Microsoft made sure Java on the desktop was a pain in the butt for everybody. It was still possible, but too much trouble to bother. This history is important because it means Java still might succeed if it were given a fair shake. And now that Microsoft is less dominant (and RAM is cheap :) maybe - just maybe - the phoenix can rise again?
Parent
Re:64 bit Java? (Score:5, Insightful)
Oh please. You're telling me you can implement a webcam viewer with Javascript?
The only real alternative for Java applets is Flash. Of course, compared to Flash, Java applets have a lot of downfalls. The VM takes a ridiculous amount of time to start up, and it's really intrusive when it sits in your system tray and constantly announces its new updates.
However, this is Slashdot, which means there's lots of open-source advocates around. So for all the OSS advocates out there, stop and think for a minute before you bash Java applets. They're not great, but they're the only open alternative to Flash right now.
Parent
Re:64 bit Java? (Score:5, Insightful)
The only real alternative for Java applets is Flash. Of course, compared to Flash, Java applets have a lot of downfalls. The VM takes a ridiculous amount of time to start up, and it's really intrusive when it sits in your system tray and constantly announces its new updates.
Down to less than 2 seconds on my system, these days. Each new release seems to take less time than the last. And the update announcements can be disabled, if they annoy you.
Also, Java applets have a lot of upsides to flash as well:
* Ability to access network services (not just via XMLHttpRequests), so live streaming data is a possibility
* Signed applets can access local system resources that Flash cannot
* Use useful APIs to do stuff that's beyond the capabilities of Flash (e.g. the Java port of OpenGL)
* Don't have to design your user interface as a series of frames that you move between to show and hide aspects of it (yeuch... I've done one project of Flash UI design, and that was more than enough for a lifetime thanks.)
* Much, much easier to support internationalisation
* Acceptable calculation speed for CPU-intensive stuff
I'm sure there're more. OK, Java applets are a heavyweight solution. But they are the only solution other than ActiveX for many problems.
Parent
Re:64 bit Java? (Score:5, Informative)
Parent
64-bit and 32-bit binaries (Score:5, Informative)
Lack of 64-bit {Java,Flash,Wine} doesn't hold you back from 64-bit Linux. A decent Linux distro can handle both 64-bit and 32-bit binaries.
Re: (Score:3, Informative)
Re:64-bit and 32-bit binaries (Score:5, Informative)
Parent
Re: (Score:3, Informative)
Get a non-crappy wireless card.
In all seriousness though, my wireless card (Intel 3945 ABG) didn't work with kernel 2.6.25 x64 (though it did in 2.6.24 x86), but then I upgraded to 2.6.26 x64... and it works flawlessly, without redoing any wireless configuration or reinstalling anything else. Even the LED blinks appropriately :) (I wasn't even trying to make the wireless work when I upgraded the kernel, I was trying to make my audio work. Still no luck there.)
Most of my 3rd-party apps do not work with Java 6 (Score:3, Informative)
Re:Most of my 3rd-party apps do not work with Java (Score:4, Informative)
Yes, we have one we payed a few hundred grand for. SungardSCT can suck my balls. Not only does it only work with java 5, but it has to be the exact right version. Do the wrong patch and its all over.
Parent
For most people (Score:5, Funny)
Except the fact that Microsoft Windows is superior in every aspect.
Re: (Score:3, Funny)
Why? 1.84467441 x 10^19 bytes ought to be enough for anyone!
Pamplona: Running with the bits. (Score:5, Funny)
""First we got 64-bit Flash; then the beginnings of 64-bit Wine; now Sun is providing a 64-bit Java plugin. For most people there is nothing to hold you back from running 64-bit Linux."
Owning a 32 bit computer might be an issue.
And here's your impetus to upgrade! (Score:3, Funny)
Seriously! This is great news. I'm buying new hardware right now!
Be still my heart.
-B
No debian lenny support (Score:3, Interesting)
no DEB files? (Score:5, Insightful)
If anyone can post a quick tutorial (or list of folder locations), that would be awesome.
Re:no DEB files? (Score:4, Informative)
The simplest thing you could do, is use the "alien" package to convert it to a .deb file. The alien package manager works, most of the time, and it beats using cpio to extract the rpm file and repackage it as a deb.
As for where the Java files go, they usually go under /usr/lib/java or /usr/lib/jre if I recall correctly.
Parent
Re:no DEB files? (Score:5, Informative)
The simplest thing you could do, is use the "alien" package to convert it to a .deb file. The alien package manager works, most of the time, and it beats using cpio to extract the rpm file and repackage it as a deb.
As for where the Java files go, they usually go under /usr/lib/java or /usr/lib/jre if I recall correctly.
Alien is not going to fly as Debian is in the midst of moving Lenny out the door and this would first start in Experimental, then move to Unstable/Sid, which need to make sure they are lintian clean. I'm going to file a reportbug on this with the owners of openjdk-6 and get this moving into an update to the openjdk-6 all around.
Parent
OpenJDK already 64-bit (Score:5, Informative)
The article implied that IcedTea (OpenJDK) is already 64-bit. My system reports the plugin as a 64-bit shared object. This release from Sun just makes it part of the official Sun Java download.
$ rpm -ql java-1.6.0-openjdk-plugin-1.6.0.0-7.b12.fc10.x86_64
$ file /usr/lib/jvm/java-1.6.0-openjdk-1.6.0.0.x86_64/jre/lib/amd64/IcedTeaPlugin.so
already have other options (Score:5, Interesting)
What already works for me on 64-bit Ubuntu Intrepid Ibex is this:
Sun has always made it a royal pain to use their java. For years they've always wrapped everything in click-through licenses, so you couldn't just download it and install it using your distro's packaging system. This version seems like more of the same, or maybe even worse. I went to the java.net page linked to from the article, downloaded the file. It's a shell script, and when you run it, the first thing it does is print out a license and ask if you agree to it. Some of the contents of the license:
So in other words, it's not open source under the Open Source Definition [opensource.org].
I think it's great that Sun has GPL'd their implementation of java. Three cheers for Sun for doing that. But they've proved over and over again that any open-source project they control will have a closed development process, will ignore their user community, and will be a massive pain to install and work with. So the really good thing about Sun GPLing their version of java is that now, finally, we've gotten to the point where people other than Sun -- people who Get It about open source -- can take the ball and run with it.
that *is* sun java (Score:4, Informative)
>apt-get install openjdk-6-jre openjdk-6-jdk icedtea-gcjwebplugin
>Sun has always made it a royal pain to use their java
You are criticizing sun java, but that *is* sun's Java implementation. The only part that isn't is the icedtea-gcjwebplugin.
>For years they've always wrapped everything in click-through licenses, so you couldn't just download it and install it using your distro's packaging system.
Huh?
For years I've been able to download and install sun java through ubuntu. Before they rebranded it as "openjava" you could still download it. The ubuntu package manager would *pop up* that clickthrough license that you are talking about.
>, it's not open source under the Open Source Definition
Not being open source doesn't stop it from being used on Linux... Most production Linux systems have proprietary software on them, especially proprietary drivers and firmware. You probably have some on your box and don't even know it.
For that matter, it's impossible to have a completely open source system because the hardware itself is not open source. Stopping at the software layer is totally arbitrary. All Linux users have *some* level of comfort with proprietary technology.
For that matter, Sun controls Java's language definition, so the language itself isn't really open. If you want an open platform, use C++, Python, Ruby, Javascript or any other language that is community controlled or standards based. Java is really an awful language, so I don't understand what your holdup is. You need to use Java, but not Sun Java? Use Java or don't, but don't Use Java and try to do it in a stupid way that will never work properly
People widely use Sun Java in production environments because the alternatives are buggy as hell. The "openjdk" you reference is actually just sun java repackaged, not an independent effort, but I used the older open source versions of java back in the day, and they were all awful and buggy. GNU Classpath in particular just does not implement much of the java libraries.
Parent
Works! But needs a minor fix (Score:4, Informative)
It includes a plugin and javaws support. The two major things sun java 64bit has been lacking for years. It is still lacking the rim.cgi, but I have never had a need for it.
The plugin needs some polish. It doesn't properly declare it's version. Which makes a kvm application I use fail, because it tries to check the version.
The source was out there for years! (Score:5, Interesting)
Unlike Flash, Java source-code was perfectly open and available for years (it has even been GPL-ed for a while, but before that was still available). Why did anyone have to wait for Sun to release the 64-bit plugin instead of compiling one? A fairly small patch was required (long vs. size_t somewhere deep inside)...
FreeBSD was providing Java [freshports.org] (with the plugin) for both i386 and amd64 for years now...
What does the fact, that this is news, tell us about Linux developers? First they holler at Sun to release the source, that's already available for download under GPL. And then they still would not touch it, until Sun gets around to it... "Freedom to tinker" my behind.
webstart? (Score:4, Insightful)
Re:Developers section red now ? (Score:4, Informative)
Looks blue to me
Parent
Re: (Score:3, Funny)
64-bit Slashdot still has a few kinks to work out.
Re:Developers section red now ? (Score:5, Informative)
Well, if it were running on 64-bit java instead of 64-bit perl, it wouldn't - java ints are still only 32 bits in "64 bit java. [blogspot.com]
Someone forgot to future-proof their language. 10 years from now, when you're running a 128-bit cpu with a quarter-terrabyte of ram, those 32-bit signed ints are going to look mighty quaint. "What do you mean, I can't store the [file size|number of inodes|ipv6 address|whatever] in a 128-bit int? What do you mean, 128-bit java doesn't have 128-bit ints? You're shitting me, right? This is 2018 ... what's gonna happen in 2038 - we gonna have a 2k38 java problem? No? Why should I believe you? You can't even right-size your ints ..."
Parent
That's a good thing - trust me (Score:5, Informative)
Write some stuff in C#/.NET sometime. Especially the embedded version. You'll see why. Every time MS puts out some patch...stuff breaks. Why? Because they do crap like this.
I have an embedded platform that has the .NET 2.0 binaries on it, as well as a 3.5 version. And I had to hack that one in from binaries from Visual Studio manually. The 2.0 binaries don't run on 3.5. The 3.5 binaries don't run on 2.0. It *sucks*.
So - if you suddenly doubled the size of an int it would break backwards compatibility and do this sort of horrible crap to Java. People who use java 1.2-1.6 would need their 32 bit ints. If you wanted the same box to run your 64 bit int Java, you'd need two sets of binaries. And a way to switch between them.
Trust me, you don't actually want this.
Parent
Re:That's a good thing - trust me (Score:5, Insightful)
People need to follow proper coding guidelines, not try to stop things from progressing. Programming has always been progressive in this way, and just relearning the new way has never been much of a way to keep up.
Parent
Re:Developers section red now ? (Score:4, Interesting)
1)Cost, Oracle RAC is expensive per transaction, it's more of an availability tool then a performance one.
2)Data transform tool and the fact that the best way we have found to maintain decent I/O performance without turning down Oracle's data integrity options is to throw more log writers at the problem, one I/O writer per core.
3)Like I said prod is only 128GB and since our OLTP DB is currently only about 60GB uncompressed I don't forsee us outgrowing a maxed box before the 3 year hardware cycle is out.
4)Currently our primary table is growing about 1.2M rows a month, but we are adding addition capabilities about twice a year so data growth is hard to quantify over a long period of time.
5)Our SLA is something like 95% during SLA hours, hardly hard to achieve with decent equipment. We recently experienced some of the worst downtime in my career due to prematurely outgrowing our old Cisco 9140's (they fell over at ~1.7Gb max traffic, very pathetic), but it was a total of about 4 hours of user visible downtime and even less for the financial systems.
6)DR is talked about above.
Other)Storage, we use a Xiotech SAN, we have 36TB of raw space over 224 spindles which is utilized for file storage, SQL Server, Lotus Notes, and multiple Oracle installations as well as for some boot from SAN application servers. Our next move will probably be to their Emprise 7000 line which will probably suck in all of the data in our current until as well as host document archiving for ediscovery. The Emprise is a beast of a system, scalable from 1TB to 1EB, the bigger limitations are the connected servers (248) and LUN's (1,024).
Parent
Re:Developers section red now ? (Score:4, Insightful)
An hour of DV footage is 10GB. A 32-bit offset gives you 4GB of addressable space, so that's not enough. A 34-bit offset gives you 16GB, so that's fine. Maybe you're recording raw HD footage though, let's say 1080p, so 1920Ã--1080 pixels. You're editing, so let's say you want 32-bits per channel, three channels. That gives you around 24MB per frame. Let's say 30 fps, so 712MB per second, or 2.4TB per hour. Let's say a filming session is 10 hours, so that's 24TB per file.
Take the base 2 logarithm of that, and you find you need just under 45 bits to represent any offset in it at byte granularity. If you double the horizontal and vertical resolution, you need 47 bits. If you double the frame rate, you need 48 bits. Go to double-precision floats for each channel, and you need 49 bits. If you use stereoscopic cameras, you need 50 bits. 64 bits still gives you a lot of space to play with. When your files are more than 16 exabytes, you should probably consider splitting them a bit. A filesystem more than 16 exabytes is likely to be needed over the next decade (hence ZFS), but 64-bit files are going to be fine for a very long time. Even today, very few files are over 4GB (mostly DV footage and DVD images), and we've had support for those for around a decade now.
Parent
Re: (Score:3, Informative)
I think the red title might be a "new/hot off the press article" color. I saw it as well, but refreshing it changes it back. At least, that's my guess.
Re: (Score:3, Funny)
Re:Developers section red now ? (Score:5, Funny)
Parent
Re:Developers section red now ? (Score:5, Funny)
Parent
Re:About time! (Score:4, Informative)
yup, very much about time. All of us sysadmins in Java shops have been hitting the 4 GB maximum for awhile. Java really does love the memory
Parent
Re:128 bit computing is around the corner (Score:5, Funny)
64.0 bits should be enough for anyone.
Parent
Re:128 bit computing is around the corner (Score:5, Funny)
My Intel processor claims that 63.99 bits should be enough for everybody.
Parent
Re:Aw crap (Score:5, Funny)
Parent
Re:More Java please? (Score:4, Informative)
I don't think you quite understand what JavaFX is... JavaFX is an alternative way of creating Java applets, which will run on Java Plugin.
Parent