News for hackers. Stuff that matters.
Re:JDK 7u11 Release Notes by reaperhulk on Sunday January 13, 2013 @06:11PM (#5052291)
Java update process on my 10.8 Mac:

1) Open Java Control Panel, see it says I have an update. Click "OK".

2) Reopen Java Control Panel because OK closes the window. This time click "Update Now"

3) After downloading 50MB another installer opens. Notice that it says 7u10 and not 7u11 (I was running 7u9).

4) Look back at Java Control Panel and see that it claims "Java Update was last run at 5:03 PM".

5) Reopen the JCP several times to try to force it to recognize that 7u11 is the latest, not 7u10.

6) Give up and install 7u10

7) Reopen JCP yet again. Success, 7u11 is available!

8) Click "Update Now" (not falling for your tricks again "OK" button)

9) http://d.pr/i/9UdC

10) Curse and post this.

Re:JDK 7u11 Release Notes by revelation on Sunday January 13, 2013 @07:21PM (#5052537)
Java update process on my Windows 7 machine:

1) Be notified of an update through the automatically running update check (probably with weak crypto and verification, given their track record...)

2) Clicking launches the MSI installer

3) "Java is wasting cycles on 6 billion (right now) insecure devices. Update now."

4) Remember to uncheck the Ask.com toolbar installer (Are you even trying at this point Oracle? Just kill it outright)

5) Installing

6) "Remember, Java is awesome, and for the moment its secure again"

(Not a comparison, just to make the point that the "experience" is equally great on the other side)

Re:JDK 7u11 Release Notes by joenathan on Sunday January 13, 2013 @09:28PM (#5052982)
Including a toolbar with your product, especially with an update is like giving your customers the finger.
Re:JDK 7u11 Release Notes by manishsharan on Sunday January 13, 2013 @08:00PM (#5052676)
Cry me a river ! This is how we do it in Ubuntu land http://www.wikihow.com/Upgrade-Oracle-Java-on-Ubuntu-Linux.
Re:JDK 7u11 Release Notes by foohbarbaz on Sunday January 13, 2013 @08:53PM (#5052878)
Nothing easier than Linux. 1. Download zip archive 2. Install into $HOME. 3. Switch symlink from old version to new. Done.

I have 3 different JDKs installed at the moment.

Re:JDK 7u11 Release Notes by tacticus on Sunday January 13, 2013 @09:57PM (#5053066)
there are PPAs out there for oracle java
Re:JDK 7u11 Release Notes by drivebyacct2 on Sunday January 13, 2013 @10:42PM (#5053179)
Appears they're still on 7u10 though: https://launchpad.net/~webupd8team/+archive/java

Unfortunate that they're dragging their feet on this.

Re:JDK 7u11 Release Notes by Silhouette on Sunday January 13, 2013 @10:10PM (#5053095)
Java update process on my Windows 7 machine:

1. Run "Ninite Java installer.exe".

2. Control panel -> Programs and Features -> Uninstall any old versions, if applicable.

If anyone on Windows doesn't know about www.ninite.com, it's probably worth your time to take a look.

Re:JDK 7u11 Release Notes by pasbesoin on Monday January 14, 2013 @05:47PM (#5057170)
Hyperbole. IIRC, the installer dialog said "3 billion". ;-)

I am happy for one thing. After having used the Control Panel feature introduced in 7u10 to allow disabling Java in all browsers via one checkbox, when I ran the 7u11 update and subsequently -- carefully! -- checked, I found that Java remained disabled in all the browsers on the system.

Hallelujah! Finally -- much too late, IMO -- one can apparently (I'd continue to manually verify, for the near if not foreseeable future) disable Java in the browser(s), and the setting sticks.

Prior to this, after each update, I'd have to go into all the browsers on the system and manually disable the Java plugins -- at least I had to until some, but not all, of the browser makers got smart and started ensuring that disabled Java plugins remained disabled, despite the Java installer's attempts.

And even disabling the browser plug-ins was apparently not sufficient, for IE:

http://krebsonsecurity.com/how-to-unplug-java-from-the-brows...

(see the section on Internet Explorer)

Re:JDK 7u11 Release Notes by martinced on Sunday January 13, 2013 @06:57PM (#5052454)
On a Mac, find the JavaAppletPlugin.plugin file and move it to trash.

That when, next month, the next 0-day exploit targetting Java applets comes out you'll be safe.

It only disable applets, nothing else.

Re:JDK 7u11 Release Notes by hughw on Sunday January 13, 2013 @08:23PM (#5052765)
"Installing this update will ensure that your Java applications continue to run as safely and efficiently as always." Thanks for the warning.
Re:JDK 7u11 Release Notes by frendiversity on Sunday January 13, 2013 @06:22PM (#5052323)
That was actually a pretty fast response, considering the behemoth Java is and that the team is fractured since the acquisition. Things will get better, the websites are not even fully transitioned yet.

Wish people would cut Oracle a little slack here, although they really need to improve the Java update process. They could and should learn something from Flash (as depressing as that is to say!)

Re:JDK 7u11 Release Notes by ghshephard on Sunday January 13, 2013 @06:35PM (#5052370)
Ironically you have just named the two plugins that have been disabled in my mainstream browser for over a year. Both of those plugins are examples of what not to do with regards to security, and the first thing I do with new users is train them to surf the web with them off, and switch to a different browser than their main one if they specifically need that functionality. I.e. browse the web with safari (all plugins/java disabled), switch to chrome to watch flash videos (and pray that their sandbox protects you) and switch to Firefox to run your corporate java plugin VPN.

Ideally java/flash plugins will die quickly, and we can replace them with browser native technology that we can hold the browser manufacturers accountable for.

Re:JDK 7u11 Release Notes by tsotha on Sunday January 13, 2013 @09:55PM (#5053060)
>Ideally java/flash plugins will die quickly, and we can replace them with browser native technology that we can hold the browser manufacturers accountable for.

I don't know why you would think browser native technology will be any more secure. Java and Flash aren't heavily exploited because they're worse than other products - they're exploited because they're ubiquitous. And it's not like we don't have manufacturers to hold accountable here, whatever that means.

Security is hard. It's really, really, really hard to add new functionality without leaving a chink in your security armor. This cycle of 0-day exploits is not going away even when Flash and Java are only discussed in nursing homes.

Re:JDK 7u11 Release Notes by drivebyacct2 on Sunday January 13, 2013 @10:43PM (#5053181)
I am willing to take my chances with the security record and response of the Chrome team over Adobe or Oracle's.
Re:JDK 7u11 Release Notes by tsotha on Monday January 14, 2013 @12:15AM (#5053380)
People used to say the same thing about Java. When you can write a web app for Chrome that can do the same sorts of things applets can do, you're going to see the same sorts of exploits. The problem isn't that the Sun and Oracle people didn't know what they were doing. The problem is your opportunities for security problems scale with the amount of functionality you're delivering.
Re:JDK 7u11 Release Notes by drivebyacct2 on Monday January 14, 2013 @12:26AM (#5053403)
You can do almost anything you can do in an applet, now from NaCl/PNaCl or from Javascript (including TCP/UDP sockets, etc) when writing a Chrome CRX or CRX-less webapp that the user opts to install.

Maybe you're right, we'll see. That having been said, again, with Chrome's track record, update schedule, update mechanics and more, I'm trusting them a huge factor more than Oracle. Also, keeping in mind that having different implementations across 2-3 major web browsers dampens the effect of having an exploit in one.

Re:JDK 7u11 Release Notes by jtheory on Sunday January 13, 2013 @08:56PM (#5052884)
I have Java applets that can record and analyze audio and catch MIDI events from any browser including Internet Explorer (any version you're likely to see, really, probably including IE5), as long as Java is installed....

At some point I'm going to have to bite the bullet and switch everything to HTML5, but applets are failing faster than cross-browser native power is advancing, sadly.

I'm close to being able to do pitch detection in the browser (it's just a question of getting the code polished & integrated into features, not any tech hurdles; it already works), but that'll be toast for at least a few years if I switch.

And I doubt MIDI input will ever be browser-native; I've never even heard whispers about it....

It's a frustrating situation; I just wish it didn't seem like Oracle was so actively hastening the death of the applet.

Re:JDK 7u11 Release Notes by chii on Sunday January 13, 2013 @11:06PM (#5053238)
perhaps you could do something along the lines of GWT and port your app over to use html5 tech. It was done with quake as a demo, and it works reasonably well.
Re:JDK 7u11 Release Notes by frendiversity on Sunday January 13, 2013 @06:38PM (#5052383)
Browser native functionality wouldn't be cross-platform or even standardized between browsers.

What we really need is some kind of native virtual machine that can run cross-platform bytecode in the browser.

Someone should make a plugin for this that works with all browsers, it would be genius!

</sarcasm>

Re:JDK 7u11 Release Notes by chii on Sunday January 13, 2013 @11:13PM (#5053253)
while you might be sarcastic, this actually does exist: http://jsjvm.org/
Re:JDK 7u11 Release Notes by frendiversity on Monday January 14, 2013 @12:13AM (#5053374)
The sarcasm was more referring to the fact that Java (and to some extent Flash with Alchemy VM stuff) is already the best solution for cross-platform native sandboxing in the browser.

(If Oracle improves on the updates, that is, and I'm sure they will, they've got a lot on the roadmap for Java.)

This is a neat idea though!

Re:JDK 7u11 Release Notes by drivebyacct2 on Monday January 14, 2013 @12:28AM (#5053406)
I'd rather trust PNaCl for a portable secure implementation going forward than I would Java Applets experiencing any sort of resurgence.
Re:JDK 7u11 Release Notes by dnu on Sunday January 13, 2013 @06:30PM (#5052353)
Well, I see that they offer to "Install the Ask toolbar" by default. I don't remember Sun doing this.

http://www.java.com/en/download/faq/ask_toolbar.xml

Re:JDK 7u11 Release Notes by frendiversity on Sunday January 13, 2013 @06:34PM (#5052368)
This I am genuinely annoyed with. I am going to start a petition to Oracle for these points, the Java community is extremely large and valuable and it's a disgrace to treat the platform this way.
Re:JDK 7u11 Release Notes by frendiversity on Sunday January 13, 2013 @06:54PM (#5052440)
I am doing some research, apparently this is only for the online JRE install, and it's been there since 2011.

Sun JRE install once peddled OpenOffice and Google Toolbar, but at least OO is better than Ask. Ugh.

They need to get rid of this, it's an embarrassment.

Re:JDK 7u11 Release Notes by mhurron on Sunday January 13, 2013 @08:11PM (#5052718)
I got a McAfee something or other offer bundled with the installer. I don't know why Sun and Oracle did this, it gives the installer the look of shady shareware shit.
Re:JDK 7u11 Release Notes by jerrya on Sunday January 13, 2013 @09:01PM (#5052901)
Yeah, I clicked okay on McAfee Installation, and he showed up 45 minutes later, with a teenage hooker and a ton of drugs.

He had good booze, but otherwise, sort of an asswipe.

Sent the girl home with a police matron.

Re:JDK 7u11 Release Notes by tsotha on Sunday January 13, 2013 @10:00PM (#5053077)
One of the reasons Sun was gobbled up by Oracle is they could never figure out how to monetize their "extremely large and valuable" Java community. I don't like the toolbar spam any more than you, but Oracle doesn't have an obligation to provide a money-losing product.
Re:JDK 7u11 Release Notes by frendiversity on Sunday January 13, 2013 @10:35PM (#5053151)
Easy, write a mobile operating system that uses Java for all the apps- then license that to hardware OEMs until you've got a stranglehold on mobile OS, like the Microsoft model on desktop.

I am saddened that Google didn't buy Sun. Maybe they'll buy Oracle and the optical barrier over the valley will dissolve and reveal it is actually a portal into Hell.

Re:JDK 7u11 Release Notes by pekk on Sunday January 13, 2013 @08:18PM (#5052747)
I can cut Oracle some slack when black hats can cut me some slack.
Re:JDK 7u11 Release Notes by gojomo on Sunday January 13, 2013 @06:34PM (#5052366)
The acquisition officially completed almost 3 years ago. Oracle had plenty of time and money to sue Google in the meantime. They are not poor and can do things quickly and competently when they want to; their customers and other Java users shouldn't have to "cut them a little slack" on such bugs.
Re:JDK 7u11 Release Notes by frendiversity on Sunday January 13, 2013 @06:48PM (#5052418)
I won't cut them slack on their update process, they should have improved that by now.

I don't think being poor or not matters, Java is a gigantic codebase and throwing money at a team doesn't make them code more efficiently. They are doing moderately well at transitioning.

I believe Google ripped Java off hard, and I believe both the ripping off Java and the suing for it were bad moves. Google should have licensed or bought Java and Oracle should have sold it or open-sourced it.

This is why corporate-owned languages are bad, and why Dalvik isn't really any better in the long run.

The best thing, perhaps, would be if HotSpot and OpenJDK were completely community driven all the way down to the release/update/install process, the way IcedTea is.

Re:JDK 7u11 Release Notes by josteink on Monday January 14, 2013 @03:06AM (#5053765)
Every time I'm asked to update Java, I can't wait for the day it goes away. Then I remember awesome stuff like clojure runs on top of the JVM.

Hopefully more browsers will stop blocking Java applets by default, as only they seem to be the cause of troubles at this point.

Re:JDK 7u11 Release Notes by drivebyacct2 on Sunday January 13, 2013 @10:38PM (#5053165)
I'm rather disappointed to see that Ubuntu's stuck at openjdk-7-jdk:amd64 7u9-2.3.3-0ubuntu1~12.10.1 currently.
Re:JDK 7u11 Release Notes by josteink on Monday January 14, 2013 @02:53AM (#5053742)
At least OpenJDK doesn't include 0-day exploits featured in Oracle's JVM. You don't need the update this instant.
Re:JDK 7u11 Release Notes by frendiversity on Tuesday January 15, 2013 @02:37AM (#5059173)
Oracle JVM is based on OpenJDK now. The difference is in the IcedTea plugin, which is lacking a lot of features.