当我想开始学习Java时,我应该安装哪一个?我将从一些基础知识开始,因此我将编写一些简单的程序,用于创建文件、目录、编辑XML文件等,目前还不太复杂。
我想我应该在Windows 7桌面上安装Java SE(标准版)。我已经有了Komodo IDE,我将使用它来编写Java代码。
当我想开始学习Java时,我应该安装哪一个?我将从一些基础知识开始,因此我将编写一些简单的程序,用于创建文件、目录、编辑XML文件等,目前还不太复杂。
我想我应该在Windows 7桌面上安装Java SE(标准版)。我已经有了Komodo IDE,我将使用它来编写Java代码。
当前回答
Developers use different editions of the Java platform to create Java programs that run on desktop computers, web browsers, web servers, mobile information devices (such as feature phones), and embedded devices (such as television set-top boxes). Java Platform, Standard Edition (Java SE): The Java platform for developing applications, which are stand-alone programs that run on desktops. Java SE is also used to develop applets, which are programs that run in web browsers. Java Platform, Enterprise Edition (Java EE): The Java platform for developing enterprise-oriented applications and servlets, which are server programs that conform to Java EE’s Servlet API. Java EE is built on top of Java SE. Java Platform, Micro Edition (Java ME): The Java platform for developing MIDlets, which are programs that run on mobile information devices, and Xlets, which are programs that run on embedded devices.
其他回答
当我遇到这个问题时,我发现Oracle教程上提供的信息非常完整,值得分享:
Java编程语言平台
There are four platforms of the Java programming language: Java Platform, Standard Edition (Java SE) Java Platform, Enterprise Edition (Java EE) Java Platform, Micro Edition (Java ME) JavaFX All Java platforms consist of a Java Virtual Machine (VM) and an application programming interface (API). The Java Virtual Machine is a program, for a particular hardware and software platform, that runs Java technology applications. An API is a collection of software components that you can use to create other software components or applications. Each Java platform provides a virtual machine and an API, and this allows applications written for that platform to run on any compatible system with all the advantages of the Java programming language: platform-independence, power, stability, ease-of-development, and security.
Java SE
When most people think of the Java programming language, they think of the Java SE API. Java SE's API provides the core functionality of the Java programming language. It defines everything from the basic types and objects of the Java programming language to high-level classes that are used for networking, security, database access, graphical user interface (GUI) development, and XML parsing. In addition to the core API, the Java SE platform consists of a virtual machine, development tools, deployment technologies, and other class libraries and toolkits commonly used in Java technology applications.
Java EE
Java EE平台构建在Java SE平台之上。Java EE平台提供了一个API和运行时环境,用于开发和开发 运行大规模、多层次、可扩展、可靠、安全 网络应用程序。
Java ME
Java ME平台提供了一个API和一个占用空间小的虚拟 机器上用于运行Java编程语言的小型应用程序 设备,比如手机。该API是Java SE API的一个子集, 以及特殊的类库,适用于小型设备应用程序 发展。Java ME应用程序通常是Java EE的客户端 平台服务。
JavaFX
JavaFX是一个用于创建富互联网应用程序的平台 轻量级用户界面API。JavaFX应用程序使用 硬件加速图形和媒体引擎的优势 更高性能的客户端和现代的外观和感觉 用于连接到网络数据源的高级api。JavaFX 应用程序可能是Java EE平台服务的客户端。
是的,从Java SE开始。你提到的所有任务都可以用它来处理。
Java ME是移动版,EE是企业版;这些是标准版的专业/扩展版本。
Developers use different editions of the Java platform to create Java programs that run on desktop computers, web browsers, web servers, mobile information devices (such as feature phones), and embedded devices (such as television set-top boxes). Java Platform, Standard Edition (Java SE): The Java platform for developing applications, which are stand-alone programs that run on desktops. Java SE is also used to develop applets, which are programs that run in web browsers. Java Platform, Enterprise Edition (Java EE): The Java platform for developing enterprise-oriented applications and servlets, which are server programs that conform to Java EE’s Servlet API. Java EE is built on top of Java SE. Java Platform, Micro Edition (Java ME): The Java platform for developing MIDlets, which are programs that run on mobile information devices, and Xlets, which are programs that run on embedded devices.
我猜我应该在我的电脑上安装Java SE(标准版) Windows 7桌面
是的,当然。Java SE是最好的开始。顺便说一句,你必须学习Java基础知识。这意味着您必须学习Java SE中的一些库和api。
Java平台版本的区别:
Java微型版(Java ME):
高度优化的运行时环境。 目标消费类产品(寻呼机、手机)。 Java ME以前被称为Java 2平台,微型版或 J2ME。
Java标准版(Java SE):
用于开发人员编写、部署和运行applet和应用程序的Java工具、运行时和api。Java SE以前被称为Java 2 Platform, Standard Edition或J2SE。(每个人/初学者从这里开始)
Java企业版(Java EE):
针对企业级服务器端应用程序。Java EE以前被称为Java 2平台,企业版或J2EE。
这个问题的另一个重复问题。
最后,关于J..混乱
JVM (Java虚拟机):
JVM是JDK和JRE的一部分,用于转换Java字节代码并在客户机上作为本机代码执行它们。
JRE (Java Runtime Environment):
它是为执行java程序而提供的环境。它包含JVM、类库和其他支持文件。它不包含任何开发工具,如编译器、调试器等。
JDK (Java Development Kit):
JDK包含开发java程序(javac, java, javadoc, appletviewer, jdb, javap, rmic,…)所需的工具和运行程序所需的JRE。
Java SDK (Java Software Development Kit):
SDK包括JDK和额外的软件,如应用程序服务器、调试器和文档。
Java SE:
Java平台,标准版(Java SE)允许您在桌面和服务器上开发和部署Java应用程序(与SDK相同)。
J2SE, J2ME, J2EE
从1.2到1.5的任何Java版本
阅读更多关于这些主题的内容:
JDK与Java SDK的区别 Java JDK, SDK, SE? JVM, JDK, JRE和OpenJDK之间的区别是什么?
EE:-企业版:-这个Java版是专门为企业应用程序/业务设计的,在这些应用程序/业务中,我们必须处理大量不同的服务器,重视安全性,事务管理等。
SE:-标准版:-此版本适用于标准应用程序。
ME:-微型版:-这个java版是专门为移动电话平台设计的。由于手机的内存资源有限,因此更加重视内存管理。
所以基本上JAVA有不同的版本来满足不同的需求。