Basic environment for Java development: JDK

In order to develop with Java, you have to configure environment that can be developed in Java first. To configure the Java development environment, you need to install the Java platform provided by Oracle’s Web site. Java was originally developed by Sun Microsystems, but since Oracle acquired Sun Microsystems, Oracle has provided the relevant development environment and is divided into several configurations to enable applications to be developed in various heterogeneous computing environments.

Oracle

First, access the Oracle website to download the platform for the Java development environment. When you enter the menu called java, you will see a menu called Java EE and Java SE.

Java EE and Java SE are both platforms for Java development. Java EE refers to Java Enterprise Edition and is used when developing applications for business servers. Another component, Java SE, is Java Standard Edition, which is used to develop common desktop applications.

If you want to develop common desktop applications, you can install Java SE. After installing Java SE, install the Java Development Kit (JDK). You can download the appropriate JDK from the Oracle home page.

Once you have installed the JDK, you can start development with Java. If you only want to run Java programs, you can install Java Runtime Environment (JRE). In other words, you can choose to install the Java Development Kit (JDK), Java Runtime Environment (JRE), and Java Virtual Machine (JVM) depending on your use of Java.

If you have not yet configured a basic environment for Java development, please refer to the previous post.

The JDK installation includes the following tools:

  • Java Translator: javac
  • Java interpreter: java
  • Applet Launcher: appletviewer
  • Java Debugger: jdb
  • c Header File and Stub File Generator: javah
  • Java Document Generator: javadoc
  • Java compression tool: jar

The integrated development environment (IDE) for Java development can be obtained by downloading a version that includes NetBeans or by using Eclipse.

Eclipse

Types of Java programs

If you have already installed the JDK and set up your environment variables by referring to the previous post, you can develop your application in Java. At this time, a Java application can be divided into a Java application and a Java applet program depending on the local execution environment.

A Java application is a generic application, such as a C or C ++ program. A Java applet program is a program that runs in a browser or an applet viewer. Applets are often used for small and simple applications, but most modern browsers do not support Java applets.

Share This Post

Leave a Reply

Your email address will not be published. Required fields are marked *

Latest Post

  • Mastering the daily conversation in 4 languagesBasic sentences expressing my mood – I’m
  • 8 things you need to think about for work-life balance
    View on Youtube Image: juliezhuo.com who works as a design VP for Facebook, presented 8 ways for work and life balance in her article “The
  • 10 special abilities of Smartphone
    View on Youtube No matter where you go or what you do, your smartphone is always with us. We use the internet with a smartphone,
  • Java: abstract class, abstract method
    An abstract class in Java is a class that declares an abstract function to be implemented in a subclass as an abstract method. An abstract
  • Java: inheritance and constructors
    When an object is created from an inherited class, the constructor of the superclass is performed before the constructor of the subclass. That is, when
  • Java reserved words: super, final
    super is a Java reserved word that is used to access member variables or methods of a superclass that is obscured by a subclass. Access
  • Java: finalize method and garbage collection
    The Java Virtual Machine(JVM) automatically performs garbage collection for objects that are no longer needed for efficient system operation. At this point, the JVM calls
  • Java: Method overloading
    Method overloading is the same concept as constructor overloading. That is, you can use methods of the same name in the same class, but methods
  • Java final variable
    You can specify an end variable using the reserved word final. The final variable represents a constant value that can not be changed. Typically, final
  • Java class variables
    Class variables are declared with static and have the concept of global variables. Class variables are used for the following purposes. Object references and object