The Java Tutorials have been written for JDK 8.Java教程是为JDK 8编写的。Examples and practices described in this page don't take advantage of improvements introduced in later releases and might use technology no longer available.本页中描述的示例和实践没有利用后续版本中引入的改进,并且可能使用不再可用的技术。See Java Language Changes for a summary of updated language features in Java SE 9 and subsequent releases.有关Java SE 9及其后续版本中更新的语言特性的摘要,请参阅Java语言更改。
See JDK Release Notes for information about new features, enhancements, and removed or deprecated options for all JDK releases.有关所有JDK版本的新功能、增强功能以及已删除或不推荐的选项的信息,请参阅JDK发行说明。
The sections listed below provide detailed instructions for compiling and running a simple "Hello World!" application.下面列出的部分提供了编译和运行简单的“Hello World!”的详细说明应用。The first section provides information on getting started with the NetBeans IDE, an integrated development environment that greatly simplifies the software development process.第一部分提供了有关开始使用NetBeans IDE的信息,NetBeans IDE是一个集成开发环境,可大大简化软件开发过程。The NetBeans IDE runs on all of the platforms listed below.NetBeans IDE在下面列出的所有平台上运行。The remaining sections provide platform-specific instructions for getting started without an integrated development environment.剩下的部分提供了在没有集成开发环境的情况下入门的特定于平台的说明。If you run into problems, be sure to consult the common problems section; it provides solutions for many issues encountered by new users.如果遇到问题,请务必查阅“常见问题”部分;它为新用户遇到的许多问题提供了解决方案。
"Hello World!" for the NetBeans IDE适用于NetBeans IDE的“Hello World!” These instructions are for users of the NetBeans IDE.这些说明适用于NetBeans IDE的用户。The NetBeans IDE runs on the Java platform, which means that you can use it with any operating system for which there is a JDK 7 available.NetBeans IDE在Java平台上运行,这意味着您可以将其用于任何JDK 7可用的操作系统。These operating systems include Microsoft Windows, Solaris OS, Linux, and Mac OS X.这些操作系统包括Microsoft Windows、Solaris OS、Linux和Mac OS X。We recommend using the NetBeans IDE instead of the command line whenever possible.我们建议尽可能使用NetBeans IDE而不是命令行。
"Hello World!" for Microsoft Windows适用于Microsoft Windows的“Hello World!” These command-line instructions are for users of Windows XP Professional, Windows XP Home, Windows Server 2003, Windows 2000 Professional, and Windows Vista.这些命令行说明适用于Windows XP Professional、Windows XP Home、Windows Server 2003、Windows 2000 Professional和Windows Vista的用户。
"Hello World!" for Solaris OS, Linux, and Mac OS X适用于Solaris OS、Linux和Mac OS X的“Hello World!” These command-line instructions are for users of Solaris OS, Linux, and Mac OS X.这些命令行说明适用于Solaris OS、Linux和Mac OS X的用户。Common Problems (and Their Solutions)常见问题(及其解决方案) Consult this page if you have problems compiling or running your application.如果在编译或运行应用程序时遇到问题,请参阅本页。