US warns on Java software as security concerns escalate ...

US warns on Java software as security concerns escalate - Technology on Hotmail Technology US World Politics Business Sports Entertainment Health Tech & Science Travel Local Weather Today Rock Center Nightly News Meet the Press Dateline MSNBC Technology

Facebook, iPhone, Twitter and Wii. Technology evolves at the speed of light.'s tech reporters look at the gadgets, games and innovations changing our world.

RSS Trending: all Apple Google iPhone ces-2013 Twitter aaron-swartz

Advertise | AdChoices

share via:

4 days

US warns on Java software as security concerns escalate

Reuters / file

Advertise | AdChoices

Advertise | AdChoices

The U.S. Department of Homeland Security urged computer users to disable Oracle Corp's Java software, amplifying security experts' prior warnings to hundreds of millions of consumers and businesses that use it to surf the Web.

Hackers have figured out how to exploit Java to install malicious software enabling them to commit crimes ranging from identity theft to making an infected computer part of an ad-hoc network of computers that can be used to attack websites.

"We are currently unaware of a practical solution to this problem," the Department of Homeland Security's Computer Emergency Readiness Team said in a posting on its website late on Thursday.

"This and previous Java vulnerabilities have been widely targeted by attackers, and new Java vulnerabilities are likely to be discovered," the agency said. "To defend against this and future Java vulnerabilities, disable Java in Web browsers."

CERT's instructions on how to do so can be found here, under "Solution."

Oracle declined on Friday to comment on the warning.

Paul Wagenseil,  senior editor for security at TechNewsDaily, writes that "it's easier than ever before to disable Java in browsers. The latest version of the Java Control Panel for Windows has a checkbox under the Security tab labeled 'Enable Java content in the browser.' Uncheck that and all your browsers should be Java-free."

If you are running an earlier version of Java 7 for Windows, "you'll have to disable each browser individually." 

To make sure Java is really disabled, Wagenseil writes, users can visit this site to check.

"For versions of Java older than Java 7 (which you shouldn't be running anyway), the de-Javafication process for Internet Explorer involves editing the Windows Registry," he notes. "If you don't know what that is, don't do it. Instead, stop using Internet Explorer entirely."

Wagenseil says that "Unless you use Java professionally — such as by developing Web or Android apps, updating a Website or using Adobe's Creative Suite software package — you don't really need it."

What is Java?

Java is a computer language that enables programmers to write software utilizing just one set of code that will run on virtually any type of computer, including ones that use Microsoft's Windows, Apple's OS X and Linux, an operating system widely employed by corporations.

Computer users access Java programs through modules, or plug-ins, that run Java software on top of browsers such as Internet Explorer and Firefox.

The U.S. government's warning on Java came after security experts warned on Thursday of the newly discovered flaw.

It is relatively rare for government agencies to advise computer users to completely disable software due to a security bug, particularly in the case of widely used programs such as Java. They typically recommend taking steps to mitigate the risk of attack while manufacturers prepare an update, or hold off on publicizing the problem until an update is prepared.

In September, the German government advised the public to temporarily stop using Microsoft's Internet Explorer browser to give it time to patch a security vulnerability that opened it to attacks.

Prime target for hackers

Java is so widely used that the software has become a prime target for hackers. Last year Oracle's Java surpassed Adobe's Reader software as the most frequently attacked piece of software, according to security software maker Kaspersky Lab.

Advertise | AdChoices

Advertise | AdChoices

Java was responsible for 50 percent of all cyber attacks last year in which hackers broke into computers by exploiting software bugs, according Kaspersky. That was followed by Adobe Reader, which was involved in 28 percent of all incidents. Microsoft Windows and Internet Explorer were involved in about 3 percent of incidents, according to the survey.

The Department of Homeland Security said attackers could trick targets into visiting malicious websites that would infect their PCs with software capable of exploiting the bug in Java.

It said an attacker could also infect a legitimate website by uploading malicious software that would infect machines of computer users who trust that site because they have previously visited it without experiencing any problems.

They said developers of several popular tools, known as exploit kits, which criminal hackers use to attack PCs, have added software that allows hackers to exploit the newly discovered bug in Java to attack computers.

Similar scare last August

Security experts have been scrutinizing the safety of Java since a similar security scare in August, which prompted some of them to advise using the software only on an as-needed basis.

At the time they advised businesses to allow their workers to use Java browser plug-ins only when prompted for permission by trusted programs such as GoToMeeting, a Web-based collaboration tool from Citrix Systems.

Java suffered another setback in October when Apple began removing old versions of the software from Internet browsers of Mac computers when its customers installed new versions of its OS X operating system. Apple did not provide a reason for the change and both companies declined to comment at the time.

Adam Gowdiak, a researcher with Polish security firm Security Explorations, told Reuters he believes that Oracle fails to properly test its software fixes for security flaws. "It's definitely safer for users to stay away from Java 'til Oracle starts taking security seriously," he said.

(Editing by Dan Grebler) 

(c) Copyright Thomson Reuters 2013. Check for restrictions at:

This story was updated at 5:45 p.m. ET

Tags: Security , java , homeland-security , oracle , hackers , malware , identity-theft Tweet Discussion Related posts share via:

216 days

Apple promptly patches Java security flaws share via:

89 days

Apple kicks Java out of browsers in OS X update

Close post

Show more ©2013 About us Contact Help Site map Careers Terms & Conditions Newsletter Closed captioning Privacy policy Advertise Desktop Version Mobile Version

Oracle and Java | Technologies Oracle Select Country/Region Communities I am a... I want to... Welcome Account Sign Out Sign In/Register for Account Help Products and Services Solutions Downloads Store Support Training Partners About Oracle Technology Network Technologies Java Overview Java Make the Future Java Download Java for Developers Download Java for Consumers Java Platform, Enterprise Edition Java Platform, Enterprise Edition (Java EE) Java Platform, Standard Edition Java Platform, Standard Edition (Java SE) Oracle Java SE Support Oracle Java SE Advanced & Oracle Java SE Suite Oracle JRockit Java Embedded Java Embedded Java Card Oracle Java Embedded Suite Oracle Java ME Embedded Client Java TV Oracle Java SE Embedded Oracle Java ME Embedded Java for Mobile Devices Java for Mobile Devices Oracle Java Wireless Client Lightweight User Interface Toolkit Java ME SDK JavaFX Java FX What's New

Oracle Security Alert to Address Flaw in Java

Designing an M2M Platform for the Connected World Oracle Application Development Framework Mobile Available Oracle Outlines Roadmap for Java SE and JavaFX at JavaOne 2012 IDC Report: The State of Java (PDF) Featured Video

Oracle Partner MX Entertainment on Success with Java (3:10)

Watch the JavaOne 2011 Technical Keynote (3:28) Java 7 Architects Discuss New Release (24:58) Watch JavaOne 2011 Keynotes and Interviews Introducing JavaFX 2.0 (1:54) Resources

IDC white paper: Java for Embedded Development

Embedded Java Resource Kit FREE Oracle WebLogic Suite Resource Kit See the Java Historical Timeline See how companies innovate with Java Overview Features & Benefits Resources Stay Connected: Facebook LinkedIn Twitter YouTube Mix Why Java?

Java is the foundation for virtually every type of networked application and is the global standard for developing and delivering mobile applications, games, Web-based content, and enterprise software. With more than 9 million developers worldwide, Java enables you to efficiently develop and deploy exciting applications and services. With comprehensive tooling, a mature ecosystem, and robust performance, Java delivers applications portability across even the most disparate computing environments.

Java Platform, Enterprise Edition (Java EE)

Java Platform, Enterprise Edition (Java EE) is the industry standard for enterprise Java computing. Utilize the lightweight Java EE 6 Web Profile to create next-generation Web applications, and the full power of the Java EE 6 platform for enterprise applications. Developers benefit from productivity improvements with more annotations, more POJOs, simplified packaging, and less XML configuration.

Java Platform, Enterprise Edition (Java EE) Java Platform, Standard Edition (Java SE)

Java SE is designed to enable you to develop secure, portable, high-performance applications for the widest range of computing platforms possible. By making applications available across heterogeneous environments, businesses can boost end-user productivity, communication, and collaboration—and dramatically reduce the cost of ownership of both enterprise and consumer applications.

Java Platform, Standard Edition (Java SE) Oracle Java SE Support Oracle Java SE Advanced & Oracle Java SE Suite Oracle JRockit Java Embedded

When you want more-more selection, protection, and power—Java is the choice. Oracle offers a wide range of solutions, from servers to embedded devices, for resource-constrained devices and desktop-class systems. These solutions provide real-time, high-performance capabilities that allow you to securely access resources while protecting your data, so you can do more with your devices.

Java Embedded Oracle Java ME Embedded Client Oracle Java SE Embedded Oracle Java Embedded Suite Java Card Java TV Oracle Java ME Embedded Java for Mobile Devices

Java Platform, Micro Edition (Java ME) is used by a vast number of Java mobile phone developers, carriers, and OEMs to create feature phone products around the globe. Oracle is the leader in providing mobile phone technology found on more than three billion devices and counting.

Java for Mobile Devices Oracle Java Wireless Client Lightweight User Interface Toolkit Java ME SDK JavaFX

JavaFX is an advanced Java user interface (UI) platform for enterprise business applications and the next step in the evolution of Java as a premier rich client platform. By using Java for both the server and client side of their applications, developers can decrease risk significantly by reducing the complexity of their business solutions.

Java FX   Related Products Oracle JDeveloper NetBeans IDE JavaDB Oracle Java Cloud Service Related Resources Java in the Oracle Database Java Technical Articles Oracle 1-800-633-0738 Have Oracle call you Global contacts Sales Chat Live     E-mail this page     Printer View Hardware and Software, Engineered to Work Together Subscribe About Oracle Careers Contact Us Site Maps Legal Notices Terms of Use Your Privacy Rights   Oracle Mobile Facebook LinkedIn Twitter YouTube Oracle RSS Feed  

The Java™ Tutorials A browser with JavaScript enabled is required for this page to operate properly. Search
Not sure where to start?
See Learning Paths

Tutorial Contents Tutorial Resources View the Java Tutorials Online (Last Updated 6/14/2012). The Java Tutorials' Blog has news and updates about the Java SE tutorials. Download the latest Java Tutorials bundle. In Book Form Download ebook files. The Java Tutorial, Fourth Edition. Errata for The Java Tutorial, Fourth Edition. Other Resources Java SE Developer Guides API Documentation JavaFX 2.0 Documentation The Java EE 6 Tutorial NetBeans™ Documentation Oracle Training and Professional Certification Java Certification and Training Oracle University Software The Java Development Kit (JDK) for Java SE 7. NetBeans IDE Java EE SDK The Java Tutorials are practical guides for programmers who want to use the Java programming language to create applications. They include hundreds of complete, working examples, and dozens of lessons. Groups of related lessons are organized into "trails".

The Java Tutorials primarily describe features in Java SE 7. For best results, download JDK 7.

What's New

The Java Tutorials are continuously updated to keep up with changes to the Java Platform and to incorporate feedback from our readers. Recent updates include the following features:

The Generics lesson has been completely reworked. The updated lesson has more comprehensive information on programming with generics, including Guidelines for Wildcard Use, Restrictions on Generics, and a page on Wildcard Capture and Helper Methods. This release includes a new page on Autoboxing and Unboxing. The Java Tutorials are now available in two ebook formats: mobi ebook files for Kindle. For best results we recommend viewing on the Kindle Fire or Kindle DX. ePub ebook files for iPad, Nook, and other eReaders that support the ePub format. Each ebook contains a single trail. You can download trails via the link in the "In Book Form" box to the right. For best results when viewing preformatted code blocks, adjust the landscape/portrait orientation and font size of your device to enable the maximum possible viewing area. The Preparation for Java Programmer Language Certification lesson has been reworked. The objectives for each Java SE 7 certification exam are listed and links are provided to relevant tutorial pages. Trails Covering the Basics These trails are available in book form as The Java Tutorial, Fourth Edition. To buy this book, refer to the box to the right. Getting Started — An introduction to Java technology and lessons on installing Java development software and using it to create a simple program. Learning the Java Language — Lessons describing the essential concepts and features of the Java Programming Language. Essential Java Classes — Lessons on exceptions, basic input/output, concurrency, regular expressions, and the platform environment. Collections — Lessons on using and extending the Java Collections Framework. Swing — An introduction to the Swing GUI toolkit, with an overview of features and a visual catalog of components. See below for a more comprehensive tutorial on Swing. Deployment — How to package applications and applets using JAR files, and deploy them using Java Web Start and Java Plug-in. Preparation for Java Programming Language Certification — List of available training and tutorial resources. Creating Graphical User Interfaces

Creating a GUI with Swing — A comprehensive introduction to GUI creation on the Java platform. Creating a JavaFX GUI — A collection of JavaFX tutorials. Specialized Trails and Lessons These trails and lessons are only available as web pages.

Custom Networking — An introduction to the Java platform's powerful networking features. The Extension Mechanism — How to make custom APIs available to all applications running on the Java platform. Full-Screen Exclusive Mode API — How to write applications that more fully utilize the user's graphics hardware. Generics — An enhancement to the type system that supports operations on objects of various types while providing compile-time type safety. Note that this lesson is for advanced users. The Java Language trail contains a Generics lesson that is suitable for beginners. Internationalization — An introduction to designing software so that it can be easily be adapted (localized) to various languages and regions. JavaBeans — The Java platform's component technology. JDBC Database Access — Introduces an API for connectivity between the Java applications and a wide range of databases and a data sources. JMX— Java Management Extensions provides a standard way of managing resources such as applications, devices, and services. JNDI— Java Naming and Directory Interface enables accessing the Naming and Directory Service such as DNS and LDAP. JAXP — Introduces the Java API for XML Processing (JAXP) 1.4 technology. JAXB — Introduces the Java architecture for XML Binding (JAXB) technology. RMI — The Remote Method Invocation API allows an object to invoke methods of an object running on another Java Virtual Machine. Reflection — An API that represents ("reflects") the classes, interfaces, and objects in the current Java Virtual Machine. Security — Java platform features that help protect applications from malicious software. Sound — An API for playing sound data from applications. 2D Graphics — How to display and print 2D graphics in applications. Sockets Direct Protocol — How to enable the Sockets Direct Protocol to take advantage of InfiniBand.

Your use of this page ( (Last Updated 6/14/2012)) and all the material on pages under "The Java Tutorials" banner is subject to these legal notices.

About Oracle | Oracle Technology Network | Terms of Service | Documentation Accessibility Copyright © 1995, 2012 Oracle and/or its affiliates. All rights reserved. A browser with JavaScript enabled is required for this page to operate properly. Java + You Java

Java in Action Downloads Help Center

Java+You, Download Today! Free Java Download

» What is Java? » Do I have Java? » Need Help?

Experience Java in Action Previous Next

Select Language | About Java | Developers
Privacy | Terms of Use | Trademarks | Disclaimer


Java SE Downloads Oracle Select Country/Region Communities I am a... I want to... Welcome Account Sign Out Sign In/Register for Account Help Products and Services Solutions Downloads Store Support Training Partners About Oracle Technology Network Oracle Technology Network Java Java SE Downloads Java SE Java EE Java ME Java SE Support Java SE Advanced & Suite Java Embedded JavaFX Java DB Web Tier Java Card Java TV New to Java Community Java Magazine Java Advanced Overview Downloads Documentation Community Technologies Training Java SE Downloads
Latest Release 
Next Release (Early Access)
Embedded Use
Previous Releases

Java Platform (JDK) 7u11 JavaFX 2.2.4
Here are the Java SE downloads in detail:
Java Platform, Standard Edition Java SE 7u11 This release includes important security fixes. Oracle strongly recommends that all Java SE 7 users upgrade to this release.
Learn more

"What Java Do I Need?" You must have a copy of the JRE (Java Runtime Environment) on your system to run Java applications and applets. To develop Java applications and applets, you need the JDK (Java Development Kit), which includes the JRE.  JDK


JDK 7 Docs Installation Instructions ReadMe Release Notes Oracle License Java SE Products Third Party Licenses Certified System Configurations JRE


JRE 7 Docs Installation Instructions ReadMe Release Notes Oracle License Java SE Products Third Party Licenses Certified System Configurations JDK 7 and JavaFX Demos and Samples Demos and samples of common tasks and new functionality available on JDK 7. The source code provided with samples and demos for the JDK is meant to illustrate the usage of a given feature or technique and has been deliberately simplified. Demos and Samples Java SE 6 Update 38 This release brings in security features and bug fixes.  Oracle strongly recommends that all Java SE 6 users upgrade to this release. Learn more




JDK 6 Docs Installation Instructions ReadMe Release Notes Oracle License Java SE Products Third Party Licenses Certified System Configurations JRE


JRE 6 Docs Installation Instructions ReadMe Release Notes Oracle License Java SE Products Third Party Licenses Certified System Configurations JDK 6 Demos and Samples Demos and samples of common tasks and new functionality available on JDK 6. The source code provided with samples and demos for the JDK is meant to illustrate the usage of a given feature or technique and has been deliberately simplified. JDK Demos and Samples

Additional Resources
JavaFX 2.2.4 for JDK 6 users



JDK DST Timezone Update Tool - 1.3.53 The tzupdater tool is provided to allow the updating of installed JDK/JRE images with more recent timezone data in order to accommodate the latest timezone changes.  Learn more


Java SE 7 Documentation Java SE 7 Documentation Docs Installation Instructions Java SE 7 Documentation License



Java SE 6 Documentation Java SE 6 Documentation Docs Installation Instructions Java SE 6 Documentation License



Java Access Bridge Java Access Bridge is a technology that exposes the Java Accessibility API in a Microsoft Windows DLL, enabling Java applications and applets that implement the Java Accessibility API to be visible to assistive technologies on Microsoft Windows systems.



Java SE 6 JDK Source Code JDK 6 source code is available for those interested in exploring the details of the JDK. This includes schools, universities, companies, and individuals who want to examine the source code for personal interest or research & development. The licensing does not impose restrictions upon those who wish to work on independent open-source projects.




Java Research License
Java Cryptography Extension (JCE) Unlimited Strength Jurisdiction Policy Files 7



Java Cryptography Extension (JCE) Unlimited Strength Jurisdiction Policy Files 6



  Java SDKs and Tools Java SE Java EE and Glassfish Java ME JavaFX Java Card NetBeans IDE Java Resources New to Java? APIs Code Samples & Apps Developer Training Documentation Student Developers Tutorials     E-mail this page     Printer View Hardware and Software, Engineered to Work Together Subscribe About Oracle Careers Contact Us Site Maps Legal Notices Terms of Use Your Privacy Rights   Oracle Mobile Facebook LinkedIn Twitter YouTube Oracle RSS Feed  

Oracle Technology Network for Java Developers Oracle Select Country/Region Communities I am a... I want to... Welcome Account Sign Out Sign In/Register for Account Help Products and Services Solutions Downloads Store Support Training Partners About Oracle Technology Network Oracle Technology Network > Java Article Java Experts on the State of Java

Java experts Adam Bien, Kirk Pepperdine, Charles Nutter, and Simon Ritter share their perspectives on Java today.

Posted 1/4/12  //  Tags: java, javaee, jRuby  //  Headlines Archive

Article How to Get Started (FAST!) with JavaFX 2 and Scene Builder

Oracle Engineer Mark Heckler shows you how to hit the ground running with JavaFX and Scene Builder.

Posted 11/17/12  //  Tags: java, JavaFX, RIA  //  Headlines Archive

Tour Nordic NightHacking Tour

Java Evangelist Steven Chin (@steveonjava) will be dropping in on developers and Java User Groups in Iceland, Norway, Sweden, Denmark and Finland. You can watch the sessions LIVE and on-demand.

Posted 1/4/12  //  Tags: java, nighthacking, community  //  Headlines Archive

Software Downloads View All Downloads Top Downloads Java SE Java EE and GlassFish JavaFX Java ME JDeveloper 11g and ADF Enterprise Pack for Eclipse
NetBeans IDE
Pre-Built VM for Java Developers New Downloads Java SE 7 Update 11

Released 1/13/13

Java SE 6 Update 38

Released 12/11/12

JavaFX 2.2

Released 8/30/12

Oracle Java Embedded
Suite 7.0

Released 9/25/12

Java ME SDK 3.2

Released 9/25/12

Essential Links About Us/Become a Member Java APIs Technical Articles New to Java Java Certification & Training Java Bug Database "The Java Source" Blog
Java on Twitter
Java Developer Newsletter Java Magazine Demos and Videos
Delicious Feed Java User Groups Java Champions Java Community Process Adopt A JSR Facebook | Forums
Events | Developer Days

Developer Spotlight
Java Vulnerabilities Addressed: Java SE 7 Update 11 Released

Creating a Portable Java/JavaFX Rig using the Raspberry Pi

Adopt-a-JSR Online Meeting 18 January

Java SE 7u10: Enhanced Security Features

Tutorial: Getting Started with the G1 Garbage Collector

Video: Quickie Guide Getting Java Embedded Running on Raspberry Pi

What's New in EJB 3.2?

Geek Bike Ride Sao Paulo

Java Helps Twitter Survive US Election Traffic

Devoxx London Announced

Podcast: Adam Bien on JavaEE Patterns and Futures

FLOSS JavaFX Dialogs for the Taking

50 Billion Served: Java Embedded on Devices

SAP NetWeaver Cloud Java EE 6 Web Profile Certified

JCP Election Results

JavaOne Content Available for Free

JooFlux: Hijacking Java 7 InvokeDynamic to Support Live Code Modifications

Announcing the JavaFX UI Controls Sandbox Blogs Untitled Document Choosing Between Java EE 6 Application Servers
Posted: Jan 16 How to Create a Custom "JSF Pages from JPA Entity Classes" Code Generator
Posted: Jan 15 Servlet 3.1 in Public Review
Posted: Jan 15 JDK 7u11 Released!
Posted: Jan 14 Java EE 7 in Public Review!
Posted: Jan 14 David Geary's New HTML5 Game Development Series
Posted: Jan 14 Java SE 7 Update 11 Released
Posted: Jan 13 Oracle JDK 7u11 released
Posted: Jan 13 JBoss 7/NetBeans in "web-main" branch
Posted: Jan 13 New Dark Theme for Nimbus in NetBeans IDE
Posted: Jan 12 Technologies Java SE Java SE Support Java SE Advanced & Suite Java Embedded Java EE Java ME JavaFX Java Card Java TV Java DB Developer Tools

Java Spotlight Podcast Untitled Document Java Spotlight Episode 116: Dr. Heinz Kabutz on Java concurrency @heinzkabutz
Posted: Jan 15 Java Spotlight Episode 115:Ed Burns on JSF 2.2 @edburns @jsf_spec
Posted: Jan 8 Java Spotlight Episode 114: Holiday Greetings 2012
Posted: Dec 25 Hardware and Software, Engineered to Work Together Subscribe About Oracle Careers Contact Us Site Maps Legal Notices Terms of Use Your Privacy Rights   Oracle Mobile Facebook LinkedIn Twitter YouTube Oracle RSS Feed    

Java (programming language) - Wikipedia, the free encyclopedia Java (programming language) From Wikipedia, the free encyclopedia Jump to: navigation, search "Java language" redirects here. For the natural language from the Indonesian island of Java, see Javanese language. Not to be confused with JavaScript. Java Paradigm(s) multi-paradigm: object-oriented, structured, imperative, generic, reflective Appeared in 1995 (1995)[1] Designed by James Gosling and
Sun Microsystems Developer Oracle Corporation Stable release Java Standard Edition 7 Update 11 (1.7.11) (January 13, 2013; 2 days ago (2013-01-13)) Typing discipline Static, strong, safe, nominative, manifest Major implementations OpenJDK, many others Dialects Generic Java, Pizza Influenced by Ada 83, C++, C#,[2] Eiffel,[3] Generic Java, Mesa,[4] Modula-3,[5] Oberon,[6] Objective-C,[7] UCSD Pascal,[8][9] Smalltalk Influenced Ada 2005, BeanShell, C#, Clojure, D, ECMAScript, Groovy, J#, JavaScript, PHP, Python, Scala, Seed7, Vala Implementation language C and C++ OS Cross-platform (multi-platform) License GNU General Public License, Java Community Process Usual filename extensions .java, .class, .jar Website For Java Developers Java Programming at Wikibooks

Java is a general-purpose, concurrent, class-based, object-oriented computer programming language that is specifically designed to have as few implementation dependencies as possible. It is intended to let application developers "write once, run anywhere" (WORA), meaning that code that runs on one platform does not need to be recompiled to run on another. Java applications are typically compiled to bytecode (class file) that can run on any Java virtual machine (JVM) regardless of computer architecture. Java is, as of 2012, one of the most popular programming languages in use, particularly for client-server web applications, with a reported 10 million users.[10][11] Java was originally developed by James Gosling at Sun Microsystems (which has since merged into Oracle Corporation) and released in 1995 as a core component of Sun Microsystems' Java platform. The language derives much of its syntax from C and C++, but it has fewer low-level facilities than either of them.

The original and reference implementation Java compilers, virtual machines, and class libraries were developed by Sun from 1991 and first released in 1995. As of May 2007, in compliance with the specifications of the Java Community Process, Sun relicensed most of its Java technologies under the GNU General Public License. Others have also developed alternative implementations of these Sun technologies, such as the GNU Compiler for Java and GNU Classpath.

Contents 1 History 1.1 Principles 1.2 Versions 2 Practices 2.1 Java platform 2.1.1 Implementations 2.1.2 Performance 2.2 Automatic memory management 3 Syntax 4 Examples 4.1 Hello world 4.2 A more comprehensive example 5 Special classes 5.1 Applet 5.2 Servlet 5.3 JavaServer Pages 5.4 Swing application 5.5 Generics 6 Criticism 7 Use by external companies 7.1 Google 7.2 Gaikai 8 Class libraries 9 Documentation 10 Editions 11 See also 11.1 Comparison of Java with other languages 12 Notes 13 References 14 External links History See also: Java (software platform)#History Duke, the Java mascot

James Gosling, Mike Sheridan, and Patrick Naughton initiated the Java language project in June 1991.[12] Java was originally designed for interactive television, but it was too advanced for the digital cable television industry at the time.[13] The language was initially called Oak after an oak tree that stood outside Gosling's office; it went by the name Green later, and was later renamed Java, from Java coffee, said to be consumed in large quantities by the language's creators.[14] Gosling aimed to implement a virtual machine and a language that had a familiar C/C++ style of notation.[15]

Sun Microsystems released the first public implementation as Java 1.0 in 1995.[1] It promised "Write Once, Run Anywhere" (WORA), providing no-cost run-times on popular platforms. Fairly secure and featuring configurable security, it allowed network- and file-access restrictions. Major web browsers soon incorporated the ability to run Java applets within web pages, and Java quickly became popular. With the advent of Java 2 (released initially as J2SE 1.2 in December 1998 – 1999), new versions had multiple configurations built for different types of platforms. For example, J2EE targeted enterprise applications and the greatly stripped-down version J2ME for mobile applications (Mobile Java). J2SE designated the Standard Edition. In 2006, for marketing purposes, Sun renamed new J2 versions as Java EE, Java ME, and Java SE, respectively.

In 1997, Sun Microsystems approached the ISO/IEC JTC1 standards body and later the Ecma International to formalize Java, but it soon withdrew from the process.[16] Java remains a de facto standard, controlled through the Java Community Process.[17] At one time, Sun made most of its Java implementations available without charge, despite their proprietary software status. Sun generated revenue from Java through the selling of licenses for specialized products such as the Java Enterprise System. Sun distinguishes between its Software Development Kit (SDK) and Runtime Environment (JRE) (a subset of the SDK); the primary distinction involves the JRE's lack of the compiler, utility programs, and header files.

On November 13, 2006, Sun released much of Java as free and open source software, (FOSS), under the terms of the GNU General Public License (GPL). On May 8, 2007, Sun finished the process, making all of Java's core code available under free software/open-source distribution terms, aside from a small portion of code to which Sun did not hold the copyright.[18]

Sun's vice-president Rich Green said that Sun's ideal role with regards to Java was as an "evangelist."[19] Following Oracle Corporation's acquisition of Sun Microsystems in 2009–2010, Oracle has described itself as the "steward of Java technology with a relentless commitment to fostering a community of participation and transparency".[20] This did not hold Oracle, however, from filing a lawsuit against Google shortly after that for using Java inside the Android SDK (see Google section below). Java software runs on laptops to data centers, game consoles to scientific supercomputers. There are 930 million Java Runtime Environment downloads each year and 3 billion mobile phones run Java.[21] On April 2, 2010, James Gosling resigned from Oracle.[22]

Principles James Gosling, the creator of Java

There were five primary goals in the creation of the Java language:[23]

It should be "simple, object-oriented and familiar" It should be "robust and secure" It should be "architecture-neutral and portable" It should execute with "high performance" It should be "interpreted, threaded, and dynamic" Versions Main article: Java version history

Major release versions of Java, along with their release dates:

JDK 1.0 (January 21, 1996) JDK 1.1 (February 19, 1997) J2SE 1.2 (December 8, 1998) J2SE 1.3 (May 8, 2000) J2SE 1.4 (February 6, 2002) J2SE 5.0 (September 30, 2004) Java SE 6 (December 11, 2006) Java SE 7 (July 28, 2011) Practices Java platform Main articles: Java (software platform) and Java virtual machine

One characteristic of Java is portability, which means that computer programs written in the Java language must run similarly on any hardware/operating-system platform. This is achieved by compiling the Java language code to an intermediate representation called Java bytecode, instead of directly to platform-specific machine code. Java bytecode instructions are analogous to machine code, but they are intended to be interpreted by a virtual machine (VM) written specifically for the host hardware. End-users commonly use a Java Runtime Environment (JRE) installed on their own machine for standalone Java applications, or in a Web browser for Java applets.

Standardized libraries provide a generic way to access host-specific features such as graphics, threading, and networking.

A major benefit of using bytecode is porting. However, the overhead of interpretation means that interpreted programs almost always run more slowly than programs compiled to native executables would. Just-in-Time (JIT) compilers were introduced from an early stage that compile bytecodes to machine code during runtime.

Implementations See also: Free Java implementations

Oracle Corporation is the current owner of the official implementation of the Java SE platform, following their acquisition of Sun Microsystems on January 27, 2010. This implementation is based on the original implementation of Java by Sun. The Oracle implementation is available for Mac OS X, Windows and Solaris. Because Java lacks any formal standardization recognized by Ecma International, ISO/IEC, ANSI, or other third-party standards organization, the Oracle implementation is the de facto standard.

The Oracle implementation is packaged into two different distributions: The Java Runtime Environment (JRE) which contains the parts of the Java SE platform required to run Java programs and is intended for end-users, and the Java Development Kit (JDK), which is intended for software developers and includes development tools such as the Java compiler, Javadoc, Jar, and a debugger.

OpenJDK is another notable Java SE implementation that is licensed under the GPL. The implementation started when Sun began releasing the Java source code under the GPL. As of Java SE 7, OpenJDK is the official Java reference implementation.

The goal of Java is to make all implementations of Java compatible. Historically, Sun's trademark license for usage of the Java brand insists that all implementations be "compatible". This resulted in a legal dispute with Microsoft after Sun claimed that the Microsoft implementation did not support RMI or JNI and had added platform-specific features of their own. Sun sued in 1997, and in 2001 won a settlement of US$20 million, as well as a court order enforcing the terms of the license from Sun.[24] As a result, Microsoft no longer ships Windows with Java.

Platform-independent Java is essential to Java EE, and an even more rigorous validation is required to certify an implementation. This environment enables portable server-side applications.

Wikiversity has learning materials about Java Platform, Enterprise Edition/Java EE Tutorial Performance Main article: Java performance

Programs written in Java have a reputation for being slower and requiring more memory than those written in C++.[25][26] However, Java programs' execution speed improved significantly with the introduction of Just-in-time compilation in 1997/1998 for Java 1.1,[27] the addition of language features supporting better code analysis (such as inner classes, the StringBuffer class, optional assertions, etc.), and optimizations in the Java virtual machine itself, such as HotSpot becoming the default for Sun's JVM in 2000. As of December 2012, microbenchmarks show Java 7 is approximately 44% slower than C++.[28]

Some platforms offer direct hardware support for Java; there are microcontrollers that can run Java in hardware instead of a software Java virtual machine, and ARM based processors can have hardware support for executing Java bytecode through their Jazelle option.

Automatic memory management

Java uses an automatic garbage collector to manage memory in the object lifecycle. The programmer determines when objects are created, and the Java runtime is responsible for recovering the memory once objects are no longer in use. Once no references to an object remain, the unreachable memory becomes eligible to be freed automatically by the garbage collector. Something similar to a memory leak may still occur if a programmer's code holds a reference to an object that is no longer needed, typically when objects that are no longer needed are stored in containers that are still in use. If methods for a nonexistent object are called, a "null pointer exception" is thrown.[29][30]

One of the ideas behind Java's automatic memory management model is that programmers can be spared the burden of having to perform manual memory management. In some languages, memory for the creation of objects is implicitly allocated on the stack, or explicitly allocated and deallocated from the heap. In the latter case the responsibility of managing memory resides with the programmer. If the program does not deallocate an object, a memory leak occurs. If the program attempts to access or deallocate memory that has already been deallocated, the result is undefined and difficult to predict, and the program is likely to become unstable and/or crash. This can be partially remedied by the use of smart pointers, but these add overhead and complexity. Note that garbage collection does not prevent "logical" memory leaks, i.e. those where the memory is still referenced but never used.

Garbage collection may happen at any time. Ideally, it will occur when a program is idle. It is guaranteed to be triggered if there is insufficient free memory on the heap to allocate a new object; this can cause a program to stall momentarily. Explicit memory management is not possible in Java.

Java does not support C/C++ style pointer arithmetic, where object addresses and unsigned integers (usually long integers) can be used interchangeably. This allows the garbage collector to relocate referenced objects and ensures type safety and security.

As in C++ and some other object-oriented languages, variables of Java's primitive data types are not objects. Values of primitive types are either stored directly in fields (for objects) or on the stack (for methods) rather than on the heap, as commonly true for objects (but see Escape analysis). This was a conscious decision by Java's designers for performance reasons. Because of this, Java was not considered to be a pure object-oriented programming language. However, as of Java 5.0, autoboxing enables programmers to proceed as if primitive types were instances of their wrapper class.

Java contains multiple types of garbage collectors. By default, HotSpot uses the Concurrent Mark Sweep collector, also known as the CMS Garbage Collector. However, there are also several other garbage collectors that can be used to manage the Heap. For 90% of applications in Java, the CMS Garbage Collector is good enough.[31]

Syntax Main article: Java syntax

The syntax of Java is largely derived from C++. Unlike C++, which combines the syntax for structured, generic, and object-oriented programming, Java was built almost exclusively as an object-oriented language. All code is written inside a class, and everything is an object, with the exception of the primitive data types (e.g. integers, floating-point numbers, boolean values, and characters), which are not classes for performance reasons.

Unlike C++, Java does not support operator overloading or multiple inheritance for classes. This simplifies the language and aids in preventing potential errors and anti-pattern design.

Java uses similar commenting methods to C++. There are three different styles of comments: a single line style marked with two slashes (//), a multiple line style opened with /* and closed with */, and the Javadoc commenting style opened with /** and closed with */. The Javadoc style of commenting allows the user to run the Javadoc executable to compile documentation for the program.


// This is an example of a single line comment using two slashes /* This is an example of a multiple line comment using the slash and asterisk. This type of comment can be used to hold a lot of information or deactivate code, but it is very important to remember to close the comment. */ /** * This is an example of a Javadoc comment; Javadoc can compile documentation * from this text. */ Examples This article contains instructions, advice, or how-to content. The purpose of Wikipedia is to present facts, not to train. Please help improve this article either by rewriting the how-to content or by moving it to Wikiversity or Wikibooks. (January 2012) Hello world

The traditional Hello world program can be written in Java as:[32]

class HelloWorldApp { public static void main(String[] args) { System.out.println("Hello World!"); // Display the string. } }

To compare this to other programming languages see the list of hello world program examples.

Source files must be named after the public class they contain, appending the suffix .java, for example, It must first be compiled into bytecode, using a Java compiler, producing a file named HelloWorldApp.class. Only then can it be executed, or 'launched'. The Java source file may only contain one public class, but it can contain multiple classes with other than public access and any number of public inner classes.

A class that is not declared public may be stored in any .java file. The compiler will generate a class file for each class defined in the source file. The name of the class file is the name of the class, with .class appended. For class file generation, anonymous classes are treated as if their name were the concatenation of the name of their enclosing class, a $, and an integer.

The keyword public denotes that a method can be called from code in other classes, or that a class may be used by classes outside the class hierarchy. The class hierarchy is related to the name of the directory in which the .java file is located.

The keyword static in front of a method indicates a static method, which is associated only with the class and not with any specific instance of that class. Only static methods can be invoked without a reference to an object. Static methods cannot access any class members that are not also static.

The keyword void indicates that the main method does not return any value to the caller. If a Java program is to exit with an error code, it must call System.exit() explicitly.

The method name "main" is not a keyword in the Java language. It is simply the name of the method the Java launcher calls to pass control to the program. Java classes that run in managed environments such as applets and Enterprise JavaBean do not use or need a main() method. A Java program may contain multiple classes that have main methods, which means that the VM needs to be explicitly told which class to launch from.

The main method must accept an array of String objects. By convention, it is referenced as args although any other legal identifier name can be used. Since Java 5, the main method can also use variable arguments, in the form of public static void main(String... args), allowing the main method to be invoked with an arbitrary number of String arguments. The effect of this alternate declaration is semantically identical (the args parameter is still an array of String objects), but it allows an alternative syntax for creating and passing the array.

The Java launcher launches Java by loading a given class (specified on the command line or as an attribute in a JAR) and starting its public static void main(String[]) method. Stand-alone programs must declare this method explicitly. The String[] args parameter is an array of String objects containing any arguments passed to the class. The parameters to main are often passed by means of a command line.

Printing is part of a Java standard library: The System class defines a public static field called out. The out object is an instance of the PrintStream class and provides many methods for printing data to standard out, including println(String) which also appends a new line to the passed string.

The string "Hello, world!" is automatically converted to a String object by the compiler.

A more comprehensive example // import javax.swing.JOptionPane; public class OddEven { /** * "input" is the number that the user gives to the computer */ private int input; // a whole number("int" means integer) /** * This is the constructor method. It gets called when an object of the OddEven type * is being created. */ public OddEven() { /* * In most Java programs constructors can initialize objects with default values, or create * other objects that this object might use to perform its functions. In some Java programs, the * constructor may simply be an empty function if nothing needs to be initialized prior to the * functioning of the object. In this program's case, an empty constructor would suffice. * A constructor must exist; however, if the user doesn't put one in then the compiler * will create an empty one. */ } /** * This is the main method. It gets called when this class is run through a Java interpreter. * @param args command line arguments (unused) */ public static void main(final String[] args) { /* * This line of code creates a new instance of this class called "number" (also known as an * Object) and initializes it by calling the constructor. The next line of code calls * the "showDialog()" method, which brings up a prompt to ask you for a number */ OddEven number = new OddEven(); number.showDialog(); } public void showDialog() { /* * "try" makes sure nothing goes wrong. If something does, * the interpreter skips to "catch" to see what it should do. */ try { /* * The code below brings up a JOptionPane, which is a dialog box * The String returned by the "showInputDialog()" method is converted into * an integer, making the program treat it as a number instead of a word. * After that, this method calls a second method, calculate() that will * display either "Even" or "Odd." */ this.input = Integer.parseInt(JOptionPane.showInputDialog("Please enter a number.")); this.calculate(); } catch (final NumberFormatException e) { /* * Getting in the catch block means that there was a problem with the format of * the number. Probably some letters were typed in instead of a number. */ System.err.println("ERROR: Invalid input. Please type in a numerical value."); } } /** * When this gets called, it sends a message to the interpreter. * The interpreter usually shows it on the command prompt (For Windows users) * or the terminal (For *nix users).(Assuming it's open) */ private void calculate() { if ((this.input % 2) == 0) { JOptionPane.showMessageDialog(null, "Even"); } else { JOptionPane.showMessageDialog(null, "Odd"); } } } The import statement imports the JOptionPane class from the javax.swing package. The OddEven class declares a single private field of type int named input. Every instance of the OddEven class has its own copy of the input field. The private declaration means that no other class can access (read or write) the input field. OddEven() is a public constructor. Constructors have the same name as the enclosing class they are declared in, and unlike a method, have no return type. A constructor is used to initialize an object that is a newly created instance of the class. The calculate() method is declared without the static keyword. This means that the method is invoked using a specific instance of the OddEven class. (The reference used to invoke the method is passed as an undeclared parameter of type OddEven named this.) The method tests the expression input % 2 == 0 using the if keyword to see if the remainder of dividing the input field belonging to the instance of the class by two is zero. If this expression is true, then it prints Even; if this expression is false it prints Odd. (The input field can be equivalently accessed as this.input, which explicitly uses the undeclared this parameter.) OddEven number = new OddEven(); declares a local object reference variable in the main method named number. This variable can hold a reference to an object of type OddEven. The declaration initializes number by first creating an instance of the OddEven class, using the new keyword and the OddEven() constructor, and then assigning this instance to the variable. The statement number.showDialog(); calls the calculate method. The instance of OddEven object referenced by the number local variable is used to invoke the method and passed as the undeclared this parameter to the calculate method. input = Integer.parseInt(JOptionPane.showInputDialog("Please Enter A Number")); is a statement that converts the type of String to the primitive data type int by using a utility function in the primitive wrapper class Integer. Special classes This article contains instructions, advice, or how-to content. The purpose of Wikipedia is to present facts, not to train. Please help improve this article either by rewriting the how-to content or by moving it to Wikiversity or Wikibooks. (January 2012) Applet Main article: Java applet

Java applets are programs that are embedded in other applications, typically in a Web page displayed in a Web browser.

// import javax.swing.JApplet; import java.awt.Graphics; public class Hello extends JApplet { public void paintComponent(final Graphics g) { g.drawString("Hello, world!", 65, 95); } }

The import statements direct the Java compiler to include the javax.swing.JApplet and java.awt.Graphics classes in the compilation. The import statement allows these classes to be referenced in the source code using the simple class name (i.e. JApplet) instead of the fully qualified class name (i.e. javax.swing.JApplet).

The Hello class extends (subclasses) the JApplet (Java Applet) class; the JApplet class provides the framework for the host application to display and control the lifecycle of the applet. The JApplet class is a JComponent (Java Graphical Component) which provides the applet with the capability to display a graphical user interface (GUI) and respond to user events.

The Hello class overrides the paintComponent(Graphics) method (additionally indicated with the annotation, supported as of JDK 1.5, Override) inherited from the Container superclass to provide the code to display the applet. The paintComponent() method is passed a Graphics object that contains the graphic context used to display the applet. The paintComponent() method calls the graphic context drawString(String, int, int) method to display the "Hello, world!" string at a pixel offset of (65, 95) from the upper-left corner in the applet's display.

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" ""> <!-- Hello.html --> <html> <head> <title>Hello World Applet</title> </head> <body> <applet code="Hello.class" width="200" height="200"> </applet> </body> </html>

An applet is placed in an HTML document using the <applet> HTML element. The applet tag has three attributes set: code="Hello" specifies the name of the JApplet class and width="200" height="200" sets the pixel width and height of the applet. Applets may also be embedded in HTML using either the object or embed element,[33] although support for these elements by Web browsers is inconsistent.[34] However, the applet tag is deprecated, so the object tag is preferred where supported.

The host application, typically a Web browser, instantiates the Hello applet and creates an AppletContext for the applet. Once the applet has initialized itself, it is added to the AWT display hierarchy. The paintComponent() method is called by the AWT event dispatching thread whenever the display needs the applet to draw itself.

Servlet Main article: Java Servlet

Java Servlet technology provides Web developers with a simple, consistent mechanism for extending the functionality of a Web server and for accessing existing business systems. Servlets are server-side Java EE components that generate responses (typically HTML pages) to requests (typically HTTP requests) from clients. A servlet can almost be thought of as an applet that runs on the server side—without a face.

// import*; import javax.servlet.*; public class Hello extends GenericServlet { public void service(final ServletRequest request, final ServletResponse response) throws ServletException, IOException { response.setContentType("text/html"); final PrintWriter pw = response.getWriter(); try { pw.println("Hello, world!"); } finally { pw.close(); } } }

The import statements direct the Java compiler to include all of the public classes and interfaces from the and javax.servlet packages in the compilation.

The Hello class extends the GenericServlet class; the GenericServlet class provides the interface for the server to forward requests to the servlet and control the servlet's lifecycle.

The Hello class overrides the service(ServletRequest, ServletResponse) method defined by the Servlet interface to provide the code for the service request handler. The service() method is passed: a ServletRequest object that contains the request from the client and a ServletResponse object used to create the response returned to the client. The service() method declares that it throws the exceptions ServletException and IOException if a problem prevents it from responding to the request.

The setContentType(String) method in the response object is called to set the MIME content type of the returned data to "text/html". The getWriter() method in the response returns a PrintWriter object that is used to write the data that is sent to the client. The println(String) method is called to write the "Hello, world!" string to the response and then the close() method is called to close the print writer, which causes the data that has been written to the stream to be returned to the client.

JavaServer Pages Main article: JavaServer Pages

JavaServer Pages (JSP) are server-side Java EE components that generate responses, typically HTML pages, to HTTP requests from clients. JSPs embed Java code in an HTML page by using the special delimiters <% and %>. A JSP is compiled to a Java servlet, a Java application in its own right, the first time it is accessed. After that, the generated servlet creates the response.

Swing application Main article: Swing (Java)

Swing is a graphical user interface library for the Java SE platform. It is possible to specify a different look and feel through the pluggable look and feel system of Swing. Clones of Windows, GTK+ and Motif are supplied by Sun. Apple also provides an Aqua look and feel for Mac OS X. Where prior implementations of these looks and feels may have been considered lacking, Swing in Java SE 6 addresses this problem by using more native GUI widget drawing routines of the underlying platforms.

This example Swing application creates a single window with "Hello, world!" inside:

// (Java SE 5) import javax.swing.*; public class Hello extends JFrame { public Hello() { super("hello"); super.setDefaultCloseOperation(WindowConstants.EXIT_ON_CLOSE); super.add(new JLabel("Hello, world!")); super.pack(); super.setVisible(true); } public static void main(final String[] args) { new Hello(); } }

The first import includes all of the public classes and interfaces from the javax.swing package.

The Hello class extends the JFrame class; the JFrame class implements a window with a title bar and a close control.

The Hello() constructor initializes the frame by first calling the superclass constructor, passing the parameter "hello", which is used as the window's title. It then calls the setDefaultCloseOperation(int) method inherited from JFrame to set the default operation when the close control on the title bar is selected to WindowConstants.EXIT_ON_CLOSE — this causes the JFrame to be disposed of when the frame is closed (as opposed to merely hidden), which allows the Java virtual machine to exit and the program to terminate. Next, a JLabel is created for the string "Hello, world!" and the add(Component) method inherited from the Container superclass is called to add the label to the frame. The pack() method inherited from the Window superclass is called to size the window and lay out its contents.

The main() method is called by the Java virtual machine when the program starts. It instantiates a new Hello frame and causes it to be displayed by calling the setVisible(boolean) method inherited from the Component superclass with the boolean parameter true. Once the frame is displayed, exiting the main method does not cause the program to terminate because the AWT event dispatching thread remains active until all of the Swing top-level windows have been disposed.

Generics Main article: Generics in Java

In 2004, generics were added to the Java language, as part of J2SE 5.0. Prior to the introduction of generics, each variable declaration had to be of a specific type. For container classes, for example, this is a problem because there is no easy way to create a container that accepts only specific types of objects. Either the container operates on all subtypes of a class or interface, usually Object, or a different container class has to be created for each contained class. Generics allow compile-time type checking without having to create a large number of container classes, each containing almost identical code. In addition to enabling more efficient code, certain runtime exceptions are converted to compile-time exceptions, a characteristic known as type safety.

Criticism Main article: Criticism of Java

Criticisms directed at Java include the implementation of generics,[35] speed,[36][37] the handling of unsigned numbers,[38] the implementation of floating-point arithmetic,[39] and a history of security vulnerabilities in the primary Java VM implementation HotSpot.[40]

Use by external companies Android makes extensive use of Java-related technology Google

Google and Android, Inc. have chosen to use Java as a key pillar in the creation of the Android operating system, an open-source smartphone operating system. Besides the fact that the operating system, built on the Linux 2.6 kernel, was written largely in C, the Android SDK uses Java to design applications for the Android platform.

On May 7, 2012, a San Francisco jury found that if APIs could be copyrighted, then Google had infringed Oracle's copyrights by the use of Java in Android devices. Oracle's stance in this case has raised questions about the legal status of the language. However, the Hon. William Alsup ruled on May 31, 2012, that APIs cannot be copyrighted.[41]


Gaikai uses the Java browser plugin to stream game demos to any PC. Gaikai (Japanese for "open ocean") is a cloud-based gaming service that allows users to play high-end PC and console games via the cloud and instantly demo games and applications from a webpage on any computer or internet-connected device.

Class libraries The Java Class Library are the compiled bytecodes of source code developed by the JRE implementor to support application development in Java. Examples of these libraries are: The core libraries, which include: Collection libraries that implement data structures such as lists, dictionaries, trees, sets, queues and double-ended queue, or stacks XML Processing (Parsing, Transforming, Validating) libraries Security Internationalization and localization libraries The integration libraries, which allow the application writer to communicate with external systems. These libraries include: The Java Database Connectivity (JDBC) API for database access Java Naming and Directory Interface (JNDI) for lookup and discovery RMI and CORBA for distributed application development JMX for managing and monitoring applications User interface libraries, which include: The (heavyweight, or native) Abstract Window Toolkit (AWT), which provides GUI components, the means for laying out those components and the means for handling events from those components The (lightweight) Swing libraries, which are built on AWT but provide (non-native) implementations of the AWT widgetry APIs for audio capture, processing, and playback A platform dependent implementation of the Java virtual machine that is the means by which the byte codes of the Java libraries and third party applications are executed Plugins, which enable applets to be run in Web browsers Java Web Start, which allows Java applications to be efficiently distributed to end-users across the Internet Licensing and documentation. Documentation Main article: Javadoc

Javadoc is a comprehensive documentation system, created by Sun Microsystems, used by many Java developers. It provides developers with an organized system for documenting their code. Javadoc comments have an extra asterisk at the beginning, i.e. the tags are /** and */, whereas the normal multi-line comments in Java are set off with the tags /* and */.

Editions See also: Free Java implementations#Class library Java Editions Java Card Micro Edition (ME) Standard Edition (SE) Enterprise Edition (EE) JavaFX PersonalJava (discontinued) v t e

Sun has defined and supports four editions of Java targeting different application environments and segmented many of its APIs so that they belong to one of the platforms. The platforms are:

Java Card for smartcards. Java Platform, Micro Edition (Java ME) — targeting environments with limited resources. Java Platform, Standard Edition (Java SE) — targeting workstation environments. Java Platform, Enterprise Edition (Java EE) — targeting large distributed enterprise or Internet environments.

The classes in the Java APIs are organized into separate groups called packages. Each package contains a set of related interfaces, classes and exceptions. Refer to the separate platforms for a description of the packages available.

The set of APIs is controlled by Sun Microsystems in cooperation with others through the Java Community Process program. Companies or individuals participating in this process can influence the design and development of the APIs. This process has been a subject of controversy.

Sun also provided an edition called PersonalJava that has been superseded by later, standards-based Java ME configuration-profile pairings.

See also Java portal Computer programming portal Book: Programming for Students Wikipedia books are collections of articles that can be downloaded or ordered in print. Dalvik JavaOne Javapedia List of Java virtual machines List of Java APIs List of JVM languages Comparison of Java with other languages Comparison of programming languages Comparison of Java and C++ Comparison of Java and C Sharp Notes ^ a b "The History of Java Technology". Retrieved October 6, 2012. ^ Java 5.0 added several new language features (the enhanced for loop, autoboxing, varargs and annotations), after they were introduced in the similar (and competing) C# language [1] [2] ^ Gosling, James; and McGilton, Henry (May 1996). "The Java Language Environment". ^ Gosling, James; Joy, Bill; Steele, Guy; and Bracha, Gilad. "The Java Language Specification, 2nd Edition". ^ "The A-Z of Programming Languages: Modula-3".;1422447371;pp;3;fp;4194304;fpid;1. Retrieved 2010-06-09. ^ Niklaus Wirth stated on a number of public occasions, e.g. in a lecture at the Polytechnic Museum, Moscow in September, 2005 (several independent first-hand accounts in Russian exist, e.g. one with an audio recording: Filippova, Elena (September 22, 2005). "Niklaus Wirth's lecture at the Polytechnic Museum in Moscow"., that the Sun Java design team licenced the Oberon compiler sources a number of years prior to the release of Java and examined it: a (relative) compactness, type safety, garbage collection, no multiple inheritance for classes -- all these key overall design features are shared by Java and Oberon. ^ Patrick Naughton cites Objective-C as a strong influence on the design of the Java programming language, stating that notable direct derivatives include Java interfaces (derived from Objective-C's protocol) and primitive wrapper classes. [3] ^ TechMetrix Research (1999). "History of Java". Java Application Servers Report. "The project went ahead under the name "green" and the language was based on an old model of UCSD Pascal, which makes it possible to generate interpretive code" ^ "A Conversation with James Gosling – ACM Queue". 2004-08-31. Retrieved 2010-06-09. ^ "Programming Language Popularity". 2009. Retrieved 2009-01-16. ^ "TIOBE Programming Community Index". 2009. Retrieved 2009-05-06. ^ Byous, Jon (ca. 1998). "Java technology: The early years". Sun Developer Network. Sun Microsystems. Archived from the original on April 20, 2005. Retrieved 2005-04-22. ^ {Object-oriented programming"The History of Java Technology". Sun Developer Network. ca. 1995. Retrieved 2010-04-30. ^ "Java - definition of Java by the Free Online Dictionary, Thesaurus and Encyclopedia.". 2003-06-15. Retrieved 2011-07-30. ^ Kabutz, Heinz; Once Upon an Oak. Artima. Retrieved April 29, 2007. ^ Java Study Group; Why Java Was – Not – Standardized Twice; What is ECMA—and why Microsoft cares ^ "Java Community Process website". 2010-05-24. Retrieved 2010-06-09. ^ "JAVAONE: Sun – The bulk of Java is open sourced". Retrieved 2010-06-09.[dead link] ^ "Sun’s Evolving Role as Java Evangelist". O'Reilly Media. ^ "Oracle and Java". Oracle Corporation. Retrieved 2010-08-23. "Oracle has been a leading and substantive supporter of Java since its emergence in 1995 and takes on the new role as steward of Java technology with a relentless commitment to fostering a community of participation and transparency." ^ "Learn About Java Technology". Oracle. Retrieved 21 November 2011. ^ Gosling, James (April 9, 2010). "Time to move on...". On a New Road. Retrieved 2011-11-16. ^ "1.2 Design Goals of the Java™ Programming Language". Oracle. 1999-01-01. Retrieved 2013-01-14. ^ Niccolai, James (January 23, 2001). "Sun, Microsoft settle Java lawsuit". JavaWorld (IDG). Retrieved 2008-07-09. ^ Jelovic, Dejan. "Why Java will always be slower than C++". Retrieved 2008-02-15. ^ Google. "Loop Recognition in C++/Java/Go/Scala". Retrieved 2012-07-12. ^ "Symantec's Just-In-Time Java Compiler To Be Integrated Into Sun JDK 1.1". ^ "Which programming languages are fastest? | Computer Language Benchmarks Game". Retrieved 2012-06-30. ^ "NullPointerException". Retrieved 2010-06-09. ^ "Exceptions in Java". Retrieved 2010-08-10. ^ "Java HotSpot VM Options". 2010-09-07. Retrieved 2012-06-30. ^ "Lesson: A Closer Look at the "Hello World!" Application". The Java™ Tutorials > Getting Started. Oracle Corporation. Retrieved 2011-04-14. ^ "Using applet, object and embed Tags". Retrieved 2010-10-14. ^ "Deploying Applets in a Mixed-Browser Environment". Retrieved 2010-10-14. ^ Arnold, Ken. "Generics Considered Harmful". Retrieved 4 July 2011. ^ Goetz, Brian (2005-09-27). "Java theory and practice: Urban performance legends, revisited". Retrieved 2012-11-26. "The Java language is the target of a lot of abuse for performance." ^ Jelovic, Dejan. "Why Java Will Always Be Slower than C++". Retrieved 17 October 2012. ^ Owens, Sean R.. "Java and unsigned int, unsigned short, unsigned byte, unsigned long, etc. (Or rather, the lack thereof)". Archived from the original on 2004-11-09. Retrieved 2011-07-04. ^ Kahan, William. "How Java’s Floating-Point Hurts Everyone Everywhere". Electrical Engineering & Computer Science, University of California at Berkeley. Retrieved 4 June 2011. ^ "Have you checked the Java?". ^ Mullin, Joe. "Google guilty of infringement in Oracle trial; future legal headaches loom". Law & Disorder. Ars Technica. Retrieved 8 May 2012. References Gosling, James, A brief history of the Green project.[dead link], no date [ca. Q1/1998]. Retrieved April 29, 2007. Gosling, James; Joy, Bill; Steele, Guy L., Jr.; Bracha, Gilad (2005). The Java Language Specification (3rd ed.). Addison-Wesley. ISBN 0-321-24678-0. Lindholm, Tim; Yellin, Frank (1999). The Java Virtual Machine Specification (2nd ed.). Addison-Wesley. ISBN 0-201-43294-3. External links Find more about Java (programming language) at Wikipedia's sister projects Definitions and translations from Wiktionary Media from Commons Learning resources from Wikiversity News stories from Wikinews Quotations from Wikiquote Textbooks from Wikibooks - Java for end-users Oracle's Developer Resources for Java Technology. Java SE 7 API Javadocs Oracle's Beginner's tutorial for Java SE Programming A Brief History of the Green Project Michael O'Connell: Java: The Inside Story, SunWord, July 1995. Patrick Naughton: Java Was Strongly Influenced by Objective-C (no date). David Bank: The Java Saga, Wired Issue 3.12 (December 1995). Patrick Naughton: The Long Strange Trip to Java, March 18, 1996. Open University (UK): M254 Java Everywhere (free open content documents). is-research GmbH: List of programming languages for a Java Virtual Machine. How Java's Floating-Point Hurts Everyone Everywhere, by W. Kahan and Joseph D. Darcy, University of California, Berkeley. Shahrooz Feizabadi: A history of Java in: Marc Abrams, ed., World Wide Web – Beyond the Basics, Prentice Hall, 1998. - A good community for discussing java concerns. v t e Java Java platform Java language JVM Micro Edition Standard Edition Enterprise Edition Java Card Sun technologies Squawk Java Development Kit OpenJDK Java virtual machine JavaFX Maxine VM Platform technologies Applets Servlets MIDlets jsp Web Start (jnlp) Major third-party technologies JRockit GNU Classpath Kaffe TopLink Apache Harmony Apache Struts Spring framework Hibernate JBoss application server Tapestry Jazelle History Java version history Java Community Process Sun Microsystems Free Java implementations Major programming languages BeanShell Clojure Groovy Oxygene Java Tcl JRuby Jython Processing Rhino Scala more… Java conferences JavaOne v t e Sun Microsystems (acquired by Oracle Corporation, 2010) Hardware Sun-1 Sun-2 Sun-3 Sun386i Sun-4 SPARCstation Netra Ultra Enterprise Sun Blade Sun Fire SPARC Enterprise SPARC JavaStation Sun Ray Sun Modular Datacenter more... Software SunOS Solaris NIS (+) NFS ZFS SunView NeWS OpenWindows Java Desktop System Sun Studio Java StarOffice iPlanet/Sun ONE/Java Enterprise System Sun Secure Global Desktop MySQL Sun xVM GlassFish more... Storage StorageTek Sun Open Storage QFS ZFS High-performance computing Sun Cloud Sun Constellation System Sun Visualization System Sun Grid Engine Lustre Research Sun Labs picoJava Fortress Project Looking Glass Education and recognition SCPs List of notable employees BlueJ Community CDDL Java Community Process NetBeans OpenSolaris OpenSPARC OpenJDK OSUM v t e Free and open-source software General Copyleft Free software Free Software Definition Gratis versus libre List of free and open-source software packages List of open source Android applications List of free software web applications List of project directories/Comparison of hosting facilities List of formerly proprietary software Open-source software Operating system families AROS BSD Darwin eCos FreeDOS GNU Haiku Inferno Linux Mach MINIX OpenSolaris Plan 9 ReactOS Development Eclipse FreeBASIC Free Pascal GCC Gambas Java LLVM Lua NetBeans Open64 Perl PHP Python ROSE Ruby Tcl History GNU Haiku Linux Mozilla Application Suite Firefox Thunderbird Organizations Apache Software Foundation Android Open Source Project Blender Foundation Eclipse Foundation FreeBSD Foundation Free Software Foundation Europe India Latin America FSMI GNOME Foundation GNU Project Google Code KDE e.V. Linux Foundation Mozilla Foundation Open Source Geospatial Foundation Open Source Initiative Software Freedom Conservancy SourceForge Symbian Foundation The Document Foundation Xiph.Org Foundation XMPP Standards Foundation X.Org Foundation Licences Apache Artistic Beerware BSD GNU GPL GNU LGPL ISC MIT MPL Ms-PL/RL zlib Public domain/CC0 WTFPL FSF approved licenses Licence standards Open Source Definition The Free Software Definition Debian Free Software Guidelines Definition of Free Cultural Works Challenges Binary blob Contributor License Agreement Digital rights management Graphics hardware compatibility License proliferation Mozilla software rebranding Proprietary software SCO-Linux controversies Security Software patents Hardware restrictions Trusted Computing Secure Boot Viral license Other topics Alternative terms Community Linux distribution Forking Movement Microsoft Open Specification Promise Revolution OS The Cathedral and the Bazaar Comparison with closed source Book:Free and Open Source Software Category:Free software Portal:Free software Retrieved from "" Categories: C programming language familyClass-based programming languagesConcurrent programming languagesCross-platform softwareJava platformJava programming languageJava specification requestsJVM programming languagesObject-oriented programming languagesProgramming languages created in 1995Sun MicrosystemsHidden categories: All articles with dead external linksArticles with dead external links from June 2012Wikipedia pages semi-protected against vandalismArticles needing cleanup from January 2012All pages needing cleanupArticles containing how-to sectionsArticles with dead external links from June 2011 Navigation menu Personal tools Create accountLog in Namespaces Article Talk Variants Views Read View source View history Actions Search Navigation Main page Contents Featured content Current events Random article Donate to Wikipedia Interaction Help About Wikipedia Community portal Recent changes Contact Wikipedia Toolbox What links here Related changes Upload file Special pages Permanent link Page information Cite this page Print/export Create a bookDownload as PDFPrintable version Languages Acèh Afrikaans አማርኛ العربية Azərbaycanca বাংলা Беларуская Беларуская (тарашкевіца)‎ Български Bosanski Català Чӑвашла Česky Corsu Cymraeg Dansk Deutsch Eesti Ελληνικά Español Esperanto Euskara فارسی Français Gaeilge Galego 한국어 Հայերեն हिन्दी Hrvatski Bahasa Indonesia Interlingua Íslenska Italiano עברית ქართული Қазақша Kreyòl ayisyen Кыргызча Latina Latviešu Lietuvių Ligure Magyar Македонски മലയാളം मराठी Bahasa Melayu Mìng-dĕ̤ng-ngṳ̄ Монгол မြန်မာဘာသာ Nederlands 日本語 Norsk (bokmål)‎ Norsk (nynorsk)‎ Oʻzbekcha ਪੰਜਾਬੀ Polski Português Qaraqalpaqsha Română Русский Саха тыла Shqip සිංහල Simple English Slovenčina Slovenščina کوردی Српски / srpski Srpskohrvatski / српскохрватски Suomi Svenska Tagalog தமிழ் తెలుగు ไทย Тоҷикӣ Türkçe ᨅᨔ ᨕᨘᨁᨗ Українська Vèneto Tiếng Việt Winaray 吴语 粵語 Žemaitėška 中文 This page was last modified on 14 January 2013 at 10:35.
Text is available under the Creative Commons Attribution-ShareAlike License; additional terms may apply. See Terms of Use for details. Wikipedia® is a registered trademark of the Wikimedia Foundation, Inc., a non-profit organization.
Contact us Privacy policy About Wikipedia Disclaimers Mobile view

Download Free Java Software Java

Java in Action Downloads Help Center

Free Java Download Download Java for your desktop computer now! Version 7 Update 11 Free Java Download

» What is Java? » Do I have Java? » Need Help?

Why download Java?

Java technology allows you to work and play in a secure computing environment.

Java allows you to play online games, chat with people around the world, calculate your mortgage interest, and view images in 3D, just to name a few.

After you've downloaded Java, visit to check out Java in Action in your daily life.

Java software for your computer, or the Java Runtime Environment, is also referred to as the Java Runtime, Runtime Environment, Runtime, JRE, Java Virtual Machine, Virtual Machine, Java VM, JVM, VM, or Java download.

Looking for Java 6?

» Java 6 FAQ

All Java Downloads

If you want to download Java for another computer or Operating System, click the link below.
All Java Downloads

Select Language | About Java | Support | Developers
Privacy | Terms of Use | Trademarks | Disclaimer


Leave a Reply


Casey Anthony Murder Trial, Caylee Anthony : Investigation Discovery

Casey Anthony Murder Trial, Caylee Anthony : Investigation Discovery tv shows 48 Hours on ID Behind Mansion Walls Blood, Lies, and Alibis Blood Relatives Cold Blood Dark Minds Dateline on ID Dates From Hell Deadly Affairs Deadly ...

continue reading

Nexus 4 – Droid Life

Nexus 4 – Droid Life About Contact Advertise Store Show ...

continue reading

CES News - Autoblog

CES News - Autoblog Skip to main content AOL AOL Autos New Cars Translogic AutoblogGreen Autoblog International Autoblog Canada Autoblog Español Autoblo...

continue reading

Kindle Fire 2013 | Pros & Cons of Kindle Fire - TopTenREVIEWS

Kindle Fire 2013 | Pros & Cons of Kindle Fire - TopTenREVIEWS Review Specifications I...

continue reading

GoDocs for Google Docs™, Google Drive™ for iPhone, iPod touch ...

GoDocs for Google Docs™, Google Drive™ for iPhone, iPod touch, and iPad on the iTunes App Store Apple Store Mac iPod iPhone iPad iTunes Support Search What’s New What is iTunes iTunes Charts Opening the iTunes Store.If iTunes doesn't open, click the iTunes application icon in your Dock or on your Windows desktop...

continue reading

DELL: Summary for Dell Inc.- Yahoo! Finance

DELL: Summary for Dell Inc.- Yahoo! Finance Skip to search. New User? Register Sign InHelp Preview Mail w/ Y! Toolbar   Notifications Help Mail My Y! Yahoo! Yahoo! Finance Search Search Web Breaking News Visit Yahoo! News for the latest. ×Close this window HOMEINVESTINGMarket OverviewMarket StatsStocksMutual FundsETFsBo...

continue reading

Express Scripts Members: Start Home Delivery, Order Refills, Order ...

Express Scripts Members: Start Home Delivery, Order Refills, Order Prescriptions Express scripts Millions trust Express Scripts for safety, care, and convenience. Create online account It's simple! Clients, ...

continue reading