News for hackers. Stuff that matters.
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.