Friday Oct 26, 2012

Apple's Java Mac OS X 2012-006 Update

The recent Java Mac OS X 2012-006 update from Apple removes the Apple Java 6 plug-in from your Mac. The Mac OS X Install FAQ will be updated with the next 7u release, but you may find the following information useful in the meantime.


Q: I have installed Java for OS X 2012-006 and Apple Java 6 can no longer be used for applets or Web Start. How do I get it back?

A: The Java for OS X 2012-006 update from Apple uninstalls the Apple-provided Java applet plug-in from all web browsers. You can download the latest version of Java from Oracle, which has improved security, reliability and compatibility.

If you prefer to continue using Apple's Java 6 plug-in, you can follow the steps provided in How to re-enable the Apple-provided Java SE 6 applet plug-in and Web Start functionality.


Q: After installing Java for OS X 2012-006, can I continue to use Apple's Java 6 alongside the OS X JDK or JRE for Java 7?

A: If you want to continue to develop with Java 6 in a Terminal window you can modify the startup script for your favorite command environment. For bash, use this:

export JAVA_HOME=`/usr/libexec/java_home -v 1.6`

Some applications use /usr/bin/java to invoke Java. After installing Java for OS X 2012-006, /usr/bin/java will find the newest JDK installed, and will use that for all of the Java related command line tools in /usr/bin. You may need to modify those applications to find Java 6, or contact the developer for a newer version of the application.


Also, this update removes Apple provided Java Preferences app. For more information on how to determine the default version of Java on your system, see Determining the Installed Version of the JRE in the JRE 7 Installation for Mac OS X page.

Tuesday Oct 16, 2012

JavaFX 2.2.3 Documentation

JavaFX Documentation

JavaFX 2.2.3 and JDK 7u9 were released today. In addition to the release documentation, the following new information is provided:

  • Learn about some of the "behind the scenes" work for an application, such as threads, events, and binding with the new learning trail on the landing page.
  • Learn how to use cell editors with the List View component. The new example in the UI Controls tutorial shows how to build a list of names by selecting them from a combo box.

Other documents were updated to reflect minor bug fixes.

You can download JavaFX 2.2.3 from OTN. For all tutorials and API documentation, see http://docs.oracle.com/javafx.

Other News:

JavaFX Scene Builder 1.1 Developer Preview was released during the week of JavaOne and is available from OTN. This version contains support for the Linux and Mac OS X 10.8 platforms, and a preview of the new CSS Analyzer feature. See the release notes for more information.

Wednesday Oct 10, 2012

JavaOne 2012 - Java Certification

The Java Tutorials are a great resource to learn the Java language and prepare for the JDK 7 certification exams. The lesson titled Preparation for Java Programmer Language Certification simplifies the learning process by mapping the Java certification objectives to relevant sections in the Java Tutorials.

The JavaOne 2012 session titled Java Certifications: Learn, Pass, and Teach also provides more information.

- Sowmya

Monday Oct 08, 2012

JavaOne 2012: JDBC Community Discussion

At JavaOne2012, Mark Biamonte of DataDirect Technologies and Lance Andersen of Oracle organized a discussion about JDBC.
To learn more about using JDBC to develop database applications, see the JDBC trail in the Java Tutorials.
You will know how to use the basic JDBC API to
* create tables
* insert values into them
* query the tables
* retrieve the results of the queries
* update the tables
In this process, you will learn how to use simple statements and prepared statements, and see an example of a stored procedure. You will also learn how to perform transactions and how to catch exceptions and warnings.

- Sowmya

Friday Oct 05, 2012

JavaOne 2012 - The Power of Java 7 NIO.2

At JavaOne 2012, Mohamed Taman of e-finance gave a presentation highlighting the power of NIO.2, the file I/O APIs introduced in JDK 7. He shared information on how to get the most out of NIO.2, gave tips on migrating your I/O code to NIO.2, and presented case studies.

The File I/O (featuring NIO.2) lesson in the Java Tutorials has extensive coverage of NIO.2 and includes the following topics:

From the conference session page, you can watch the presentation or download the materials.

JavaOne 2012 - Why Should I Switch to Java SE 7

At JavaOne 2012, David Keenan and Staffan Friberg gave a presentation to answer why it is beneficial to update your production environment to Java SE 7. The following resources will help you learn more about JDK 7 features and facilitate a smooth transition:
* Features and Enhancements and Known Issues
* Compatibility with earlier releases
* JDK 7 and JRE 7 Certified System Configurations
* JDK 7 and JRE 7 Supported Locales
* JDK 7 Adoption Guide
* Information About 7 Update Releases

- Sowmya

Thursday Oct 04, 2012

JavaOne 2012 - Java Generics

At JavaOne 2012, Venkat Subramaniam of Agile Developer, Inc, presented a conference session titled "The Good, The Bad, and the Ugly of Java Generics." Dr Subramaniam discussed the use of generics, what to watch out for when using generics, and best practices.

To learn more about working with generics, see the Generics trail in the Java Tutorials. The trail was recently expanded and coverage added for the following topics:

From the conference session page, you can watch the presentation.

Wednesday Oct 03, 2012

JavaOne 2012 - Java Deployment on Mac OS X

Also at the JavaOne 2012 conference, Scott Kovatch presented a session on Deploying Your Application with OpenJDK 7 on Mac OS X. The session had special emphasis on how to deploy Java applications to the Mac App Store. Interested developers may find the following documentation useful: Packaging a Java App for Distribution on a Mac.

The Java Deployment on Mac OS X presentation, by Scott Kovatch and Chris Bensen, provided an overview of Oracle Java on the Mac. For more information on installing and using Oracle Java for the Mac, refer to the following documentation:

From the Deploying Your Application with OpenJDK 7 on Mac OS X conference session page, you can watch the presentation or download the presentation slides.

From the Java Deployment on Mac OS X conference session page, you can watch the presentation.

JDK 7 In Action - Learn With Java Tutorials and Developer Guides

At JavaOne 2012, Stuart Marks, Mike Duigou, and Joe Darcy gave a presentation about JDK 7 In Action. Learn more about using JDK 7 features with the help of Java Tutorials and JDK 7 Developer Guides. Links to relevant information are provided below.
If you are considering moving to JDK 7 from a previous release, the JDK 7 Release Notes and JDK 7 Adoption Guide are great resources.

Project Coin Features

Improved Literals

* Literals section in Primitive Datatypes topic.
* Binary Literals
* Underscores in Numeric Literals

Strings In Switch

* Strings In Switch

Diamond

* Type Inference for Generic Instance Creation
* Type Inference and Instantiation of Generic Classes

Multi-catch and Precise Throw

* Catching Multiple Exception Types and Rethrowing Exceptions with Improved Type Checking
* Catch Blocks

Try-with-resources

* The try-with-resources Statement

NIO.2 File System API

* File I/O for information on path, files, change notification, and more
* Zip File System Provider
* Zip File System Provider
* Developing a Custom File System Provider

Fork Join Framework

* Fork/Join


- Sowmya
About

Blog about Java technology documentation and news about Java releases.

Search

Categories
Archives
« October 2012 »
SunMonTueWedThuFriSat
 
1
2
6
7
9
11
12
13
14
15
17
18
19
20
21
22
23
24
25
27
28
29
30
31
   
       
Today