64-Bit Java For Linux 387
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."
"The vast majority of successful major crimes against property are perpetrated by individuals abusing positions of trust." -- Lawrence Dalzell
Developers section red now ? (Score:2, Funny)
Re:Developers section red now ? (Score:4, Informative)
Looks blue to me
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 ..."
Re: (Score:3, Interesting)
Seriously, the data warehouse server I'm implementing this week is an HP DL585 G5 with 4x AMD 8378 and 256GB of ram using 2x Brocade 815 8Gb HBA's =)
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).
Re: (Score:3, Insightful)
Re: (Score:3, Informative)
jint == int32_t
jlong == int64_t
Deal with it. When 128 becomes an issue there'll be a jlonger, or something like that. (jquad may be used for quad precision float)
Re: (Score:3, Informative)
The D programming language (the Digital Mars one) has already reserved a pair of types, cent and ucent, for future use as 128-bit signed and unsigned integers.
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.
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.
Re: (Score:3, Informative)
The latter is precisely what you do in Java when you say "int" - you explicitly state that you want a 32-bit, two's complement signed binary integer. This is by design of the language, and expecting "int" to remain that way is certainly not an invalid assumption or a bug.
Re: (Score:3, Insightful)
The reasons why ints are 32 bits (Score:3, Informative)
The biggest reason of all is interop. A piece of Java code that runs in 32 bit mode successfully will wrap around and work exactly the same on the 64 bit platform. Perl will work differently. if a piece of Java calls a piece of identical Java and one is on 32 bit and the other 64 bit then they will work properly, Perl will behave erratically.
Basically its the difference between a language that has been designed for longevity (Java) and one that just defaults to what ever is around (Perl).
Defaulting to wh
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.
Re: (Score:2)
I'm pretty sure most people would describe that color as green.
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)
Re:Developers section red now ? (Score:5, Funny)
Re: (Score:3, Insightful)
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.
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.
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.
Re: (Score:3, Insightful)
Joke.
Ever.
Re: (Score:2)
Seriously, Java plug-ins are still around for some reason?
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.
Re: (Score:3, 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.
You're too professional. People around here suffer from SADD and if something doesn't tickle their leg just right it flies right over their heads.
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
Re: (Score:3, Informative)
Yea and a decade ago that 'enterprise' stuff was steaming piles of VB. Now it's racks of big ass servers or blades groaning under badly designed layers and layers of Java 'middleware'. Not sure things have actually improved much.
If you had worked with either of them you'd know that yes, things have improved tremendously. Alas, it's evidently you haven't used Java for a real-world project of a respectable size so...
If you have insane amounts of CPU and memory to throw at it to cover up the slowness you can keep a team of medium skill code monkeys permantly employed maintaining all that interfacing between the various middleware products from different vendors.
Which is much better than C++, where you need obscene amounts of CPU and memory to throw at problems, or rather, to all of the "me too" libraries your medium skilled code monkeys used to build your nifty little problem-solver that only they can extend because the code is such a mess. Or were you suggesting Python, Ruby et
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: (Score:2)
> I hope you mean "C#/Mono disease".
[voice Homer Simpson]
Doh!
[/voice]
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)
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.
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?
Re: (Score:3, Interesting)
Can't recall seeing a big gaping hole on a page where a Java Applet would be in at least a year. And this story is only important if somebody out there has a burning need to run a 64bit Java app... in a web browser.
Which you can't do, because Java runs all applications with a memory usage limit, which for an applet there's no way of changing, so you'll get the standard limit.
Actually, it's important if someone wants to run a 64 bit web browser and use Java, because 64 bit browsers can't interface with 32 bi
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.
Re: (Score:2)
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.
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.
Re: (Score:3, Interesting)
1. The rapid evolution of the language
2. The poor VM performance (before Hotspot)
3. Poor browser support
4. No default installations, except the MS JVM.
5. MS introduced incompatibilities and extensions
Sun should have laid off the "Java replaces the desktop" rhetoric, and paid Microsoft to ship the JVM on Windows. It would be as ubiquitous as Flash is today.
Re: (Score:3, Informative)
Re:64 bit Java? (Score:5, Informative)
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)
Re: (Score:3, Funny)
I really love the comment:
Submitted On 07-FEB-2005
The_Crusher
Please fix for Tiger. We certainly won't appreciate having to wait 18 months for a fix that's probably trivial on Sun's part.
Re: (Score:2)
For me 32bit flash on amd64 is always on the top layer (on top of drop down menus) and crashes every few hours.
(I assume that is what is causing it as my laptop that runs in 32bit mode has none of those issues.)
Hopefully 64bit flash will fix those issues. (or GNASH will finally close the gap enough to work better than 32bit Flash. for youtube GNASH is better than Adobe Flash, but other than that one case GNASH fails so much more than Adobe Flash that it is hard to migrate. I wish I could spec GNASH with Mi
Re: (Score:3, Interesting)
Re: (Score:2, Funny)
Yeah if only running wireless in 64 bit worked without the ritual blood sacrifice. Or ndiswrapper, or having to re-install with every kernel update.
Stupid ath wireless.
Then maybe I'd care about Java/Flash...
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.)
Re: (Score:2, Informative)
Re: (Score:2)
But firefox can't. :(
Aw crap (Score:2)
Re:Aw crap (Score:5, Funny)
Re: (Score:3, Funny)
Meh powers of 2 are for wimps, 100bit Gentoo is where its at!
Most of my 3rd-party apps do not work with Java 6 (Score:3, Informative)
Re: (Score:2)
It's not easy to find things that stop working with new Java releases. Those must be very crappy applications.
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.
128 bit computing is around the corner (Score:2, Interesting)
The time has come to begin discussing 128 bit computing.
Re:128 bit computing is around the corner (Score:5, Funny)
64.0 bits should be enough for anyone.
Re:128 bit computing is around the corner (Score:5, Funny)
My Intel processor claims that 63.99 bits should be enough for everybody.
Re: (Score:3, Funny)
Re: (Score:3, Interesting)
It took 30 years of PC use to roughly move from 8 bit to 64 bit and you're expecting it to take 100 years to move from 64 bit to 128 bit?
It sure as hell won't take that long, not to mention the notion of Memory won't even be remotely the same as it currently stands.
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!
Glad to have it (Score:2)
My employer recently outsourced timesheets to ADP, and ADP uses a horrid Java plugin. Hopefully this will get it working in Linux (well, when the site is stable enough to work--I expected better of ADP).
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
Let me get this striaght... (Score:2, Troll)
So... the most desirable applications for 64 bit Linux are virtual machines to run applications meant for somewhere else?
So much for the "mainstream" myth.
Nice troll (Score:2)
About friggin time (Score:2)
Not that it matters now. Sun has already lost. They have zero desktop adoption and aren't going to get any, because they treat their biggest evangelists and early adopters like crap (flash for linux? sadly, yes). As a developer, I haven't been using JavaFX at ALL. No browser adoption, doesn't run on my chosen platform, doesn't show any interest in making my platform a priority. Why the hell should I write an app that requires yet another 30 meg download?
I get all the vendor lock in, it's not open sourc
Re: (Score:2)
The OS companies and Linux distro companies don't want this to happen, but the trend is slowly creeping toward cross-platform/distro programs, and all it does is make the OS matter less, even though
Re: (Score:2)
"Operawhat?"
op-er-a [reference.com] - noun
1. an extended dramatic composition, in which all parts are sung to instrumental accompaniment, that usually includes arias, choruses, and recitatives, and that sometimes includes ballet. Compare comic opera, grand opera.
2. the form or branch of musical and dramatic art represented by such compositions.
3. the score or the words of such a composition.
4. a performance of one: to go to the opera.
5. (sometimes initial capital letter) an opera house or resident company: the Par
Re: (Score:2)
So the proof that the newly released JavaFX will fail is that you haven't been using it for building applications? Uhm...
No debian lenny support (Score:3, Interesting)
Madwifi-NG (Score:2, Interesting)
Except madwifi-ng drivers. I can't even count how many times people have bugged me about their Atheros cards not working in Linux, only to find that they were running a 64-bit distro.
Re: (Score:3, Interesting)
Well, I have a laptop that has such a card, and well, I found a version of the MadWifi drivers that works well enough [madwifi-project.org] on my 64-bit Gentoo. I must admit though that the search was incredibly frustrating, but given the recent news that Atheros has gotten more [slashdot.org] open [slashdot.org], the situation can only improve with time.
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.
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.
Re: (Score:2)
In the case of a bin file extracting to the current directory, the best place is to just extract it in /usr/local or /opt. Don't move the individual parts to places like /usr/bin /lib etc - leave those system dirs to be managed by the distros package manager.
You may need to do stuff like symlinking the browser plugin file(s) into your browsers plugin directory and maybe adding the java bin directory to your $PATH, but that should be about it.
Re: (Score:3, Informative)
1. Sun likes to 'default all java applications to /usr/java/jdk-version or /usr/java/jre-version so feel free to copy the files to any directory you please.
2. Add my_java_path/bin to your .bash_profile or .bashrc file so that you can run java applications from the command line
3. Link my_java_path/lib/amd64/libnpjp2.so into your Firefox plugins directory (forget where it is)
Restart firefox and you should be able to load any applets. You could also set JAVA_HOME to my_java_path, but that shouldn't be necessar
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
Re: (Score:3, Informative)
IcedTea != OpenJDK != Sun's JRE.
Rather, in approximate terms...
OpenJDK = Sun's JRE download - binary blogs - Java Plugin - Java Web Start
IcedTea = OpenJDK + GNU Classpath replacements + gcjwebplugin + netx
So the IcedTeaPlugin.so is actually cobbled together from gcj. Red Hat decided they couldn't wait for Sun, so they sponsored GPLed IcedTea replacements for applets and jnlp.
Today's announcement is that the 'official' Sun plugin now supports 64 bits. NB It's a totally different code-base from the IcedTea pl
More Java please? (Score:2)
.
Dang pesky 32-bit MacBooksPros!
.
Though a big Java fan, Java plugin into a browser ==fail. They should scrap it and get us a 64-bit javafx plugin.
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.
Google Gears? (Score:3, Insightful)
Just an example of something that doesn't work in 64 bit... not that it holds me back.
IBM Java (Score:2, Interesting)
IBM's 64-bit Java for Linux has been out for a long time...
http://www.ibm.com/developerworks/java/jdk/linux/download.html
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.
Re: (Score:3, Informative)
> Some of the contents of the license:
Yes Sun laywers are a bunch of dicks but remember that this is prerelease software. Normal releases od java don't have some of those nasty bits in the license and we can hope that the license will get improve as they continue the Open Source process with java.
A few posts above I slag Java pretty hard, just trying to be fair. :)
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.
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: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
Re: (Score:3)
Re: (Score:2)
Ignoring the little detail that java applet support doesn't matter anymore then yes, this is "stuff that matters". The kind of news you seem to be looking for you can find on c|net. Slashdot is the "News for nerds" site.
Re: (Score:3, Informative)