please note that these Java updates are security bug updates as for getting a piece of software that requires java to work well that's a bit hit and miss at this time
Update Release Notes
Update Release Notes Index
--------------------------------------------------------------------------------
Java SE Development Kit 7, Update 40 (JDK 7u40)
The full version string for this update release is 1.7.0_40-b43 (where "b" means "build"). The version number is 7u40.
Highlights
This update release contains several enhancements and changes including the following:
Java Mission Control (JMC) Release Notes
JavaFX Release Notes
New Features and Changes
Retina Display support on Mac OS X
Olson Data 2013d
JDK 7u40 contains Olson time zone data version 2013d. For more information, refer to Timezone Data Versions in the JRE Software.
Security Baselines
The security baselines for the Java Runtime Environment (JRE) at the time of the release of JDK 7u40 are specified in the following table:
JRE Family Version JRE Security Baseline
(Full Version String)
7 1.7.0_25
6 1.6.0_51
5.0 1.5.0_51
For more information about security baselines, see Deploying Java Applets With Family JRE Versions in Java Plug-in for Internet Explorer.
JRE Expiration Date
The expiration date for JRE 7u40 is 12/10/2013. After this date, Java will provide additional warnings and reminders to users to update to the newer version. For more information, see JRE Expiration Date.
Java Mission Control (JMC) 5.2 Release Notes
Java Mission Control (JMC) is a commercial feature available for java users with a commercial License.
JDK 7u40 includes the first release of Java Mission Control (JMC) that is bundled with the Hotspot JVM. For more information, see JMC Release Notes.
JavaFX Release Notes
JavaFX is now part of JDK. JDK 7u40 release includes JavaFX version 2.2.40.
For a list of bug fixes included this release, see JavaFX Bug Fixes page.
For a list of known JavaFX issues, see Known Issues.
JDK for Linux ARM
Serviceability Agent support: Serviceability Agent (SA) is now supported in JDK for ARM.
ARM hard float support: 7u40 adds ARM Hard-Float ABI (ARMHF) support in addition to existing ARM Soft-Float ABI support. The ARMHF bundle is labeled arm-vfp-hflt.
A target system must provide access to ld-linux-armhf.so.3 dynamic linker/loader through a hard or symbolic link.
New Features and Changes
Retina Display support on Mac OS X
Retina screens will now display content correctly. Previously rendering had been blurry. See 8000629.
Deployment Rule Set
Deployment rule set allows a desktop administrator to control the level of Java client compatibility and default prompts across an organization.
For a summary of this feature, see Deployment Rule Set documentation.
Option to disable the "JRE out of date" warning
Starting from 7u40, a new deployment property deployment.expiration.check.enabled is available. This property can be used to disable the "JRE out of date" warning.
When the installed JRE (7u10 or later), falls below the security baseline or passes it's built-in expiration date, an additional warning is shown to users to update their installed JRE to the latest version. For businesses that manage the update process centrally, users attempting to update their JRE individually, may cause problems.
To suppress this specific warning message, add the following entry in the deployment properties file:
deployment.expiration.check.enabled=false
For more information, see Deployment Configuration File and Properties.
New Security Warnings for Unsigned and Self-Signed Applications
New warnings are added in the dialogs for Unsigned and Self-Signed applications.
From the dialogs for Unsigned and Self-Signed applets, "Remember this decision" option has been removed. In addition, the previously remembered decisions for self-signed and unsigned applets will be ignored.
For more information, see Security Dialogs.
Local Applets return NULL for DocumentBase
Beginning with JDK 7u40, an applet's getDocumentBase() method will return NULL when the applet is running from the local file system.
If applet needs to load resource, here are the options:
If the resource is in the applet's JAR(s), the user should be able to load it with class ClassLoader getResoruceAsStream directly, without needing the codebase information.
If the resource is in an arbitrary location, which is not inside the applet's JAR(s), the user must have other ways to get to that location, since it is not part of the applet resource. For example, the user.home java system property, provided their applet has all-permissions.
JAXP Security Improvements
JDK 7u40 release contains Java API for XML Processing (JAXP) 1.5, which adds the ability to restrict the set of network protocols that may be used to fetch external resources. For more information, see JEP 185: JAXP 1.5: Restrict Fetching of External Resources.
Default x.509 Certificates Have Longer Key Length
Starting from 7u40, the use of x.509 certificates with RSA keys less than 1024 bits in length is restricted. This restriction is applied via the Java Security property, jdk.certpath.disabledAlgorithms. The default value of jdk.certpath.disabledAlgorithms is now as follows:
jdk.certpath.disabledAlgorithms=MD2, RSA keySize and -XX:MaxNewSize=, or by the option -Xmn (the latter option is equivalent to setting both NewSize and MaxNewSize to ). If the above options are not used, then the young generation size is computed as a fraction of the maximum heap size.
Workaround: Use a young generation size that is at least 768 KB (for 32-bit JVM) or 1536 KB (for 64-bit JVM).
Area: hotspot/runtime
Synopsis: Java causes MacOSX to crash with kernel panic
The JVM could cause kernel panic on MacOSX v10.8.1 and v10.8.2. It is an MacOSX issue which is not reproduced on v10.8.3. User needs to upgrade to the latest MacOSX 10.8.x version to avoid this issue.
Area: deploy/plugin
Synopsis: Local applet could not be launched with Firefox 23
This is a Firefox bug and a fix will be provided in a future release. This regression is introduced due to a fix against issues related to same-origin policy under Firefox. For more details, see »
bugzilla.mozilla.org/sho ··· d=902375.
Workaround: To work with Firefox 23, under Firefox preferences, set the property "security.fileuri.strict_origin_policy" to false.
JavaFX
Area: Packager
Synopsis: Packager for Mac OS generates invalid ICNS icon.
After an application is packaged with the native Mac OS packager, the .app bundle contains an invalid ICNS icon. When developers try to submit this application to Mac App Store, the Application Loader fails with the error reporting about an invalid ICNS icon.
Workaround:
To overcome the issue, perform the following steps:
Change dir into generated bundles directory (./dist/bundles). There you can find MyApp.app.
Write entitlements for your application. All programs, delivered by Mac App Store, are started within sandbox, so you have to describe needs of your application in some specific format, described on Apple official sites: some template you can find here. Let this file be named MyApp.entitlements.
For some packager bug, we had to remake icon in ./dist/bundles/MyApp.app/Resources:
$ cd ./dist/bundles/MyApp.app/Resources
$ iconutil -c iconset MyApp.icns
$ rm -f MyApp.icns
$ iconutil -c icns MyApp.iconset
$ rm -rf MyApp.iconset
$ cd ../../../../
Sign your .app:
codesign -f -s "3rd Party Mac Developer Application: "
--entitlements MyApp.entitlements MyApp.app.
Sign all sub-libraries and jars:
find MyApp.app -name "*.jar" -or -name "*.dylib" |
xargs codesign -f -s "3rd Party Mac Developer Application: "
--entitlements MyApp.entitlements.
Build signed .pkg:
$ productbuild --component MyApp.app /Applications
--sign "3rd Party Mac Developer Installer: "
--product MyApp.app/Contents/Info.plist MyApp.pkg
Don't be confused by different certificated: there must be at least two certificates: Application certificate and Submission/Installer certificates.
For more information see, JavaFX issue RT-31417.
Area: Graphics
Synopsis: The WebView component doesn't support HiDPI rendering.
See JavaFX issue RT-31729.
Area: Graphics
Synopsis: The HiDPI support cannot be enabled inside a LoDPI browser.
See JavaFX issue RT-30912.
Area: Graphics
Synopsis: Point and Spot lights of the Lighting effect are not affected by coordinate scaling.
The coordinates of the lighting sources are not adjusted for the coordinate transform of a node and are actually relative to its bounding box, which makes positioning the lights properly for an arbitrary node tricky.
For more information, see JavaFX issue RT-31849.