JDK(Java Development Kit)
Here we will learn how to write the first program of java. Before running the first program of java we have to install the java software (java development kit in short called JDK, latest version of jdk is 1.8).Java development kit contains the software and tools needed to compile, debug and run applications that you have written using java. Java Development Kit has as its primary components a collection of programming tools, including javac, jar etc.
Java development kit basically used to develop and execute a java program. JDK contains JRE and other development tools. Java development kit is the official development kit for the java programming language. It includes a documentation generator (Javadoc). It includes an interpreter/loader (java). Java development kit is also used to develop an applets applications. Without JDK you cannot run your java applications.
for executing any java program, you need to
- Download the JDK 1.5, 1.6, 1.7, 1.8 what you want but the latest version of JDK is 1.8.you can download JDK 1.8 from oracle website. and then install the JDK on your Personal Computer or Laptop.
- set the path of JDK.
- create the java program.
- compile and run the java program.
Java IDE and Editors
Here many java's IDE (Integrated Development Environment) and text editors are available.
After downloading, installing and set the path of java, you can run your java program in different-2 IDE or text editors. Let's take a look
What is IDE?
An Integrated Development Environment (IDE) is a software application that provides the comprehensive program for software development. Typically an IDE contains code editor, a compiler or interpreter and the debugger that the developer accesses through a single graphical user interface (GUI).
An IDE is an all-in-one software which not only lets you edit or compile your code but also manages resources, provides deployments and lets you use debugging features for your whole project.
Notepad: Notepad is text editor which is provided by the Microsoft company. It is a simple text editor, We can edit or type our java program or code in notepad and then After saving our java source code in a specific folder or directory we can compile it and run it from the command prompt.
Notepad++: We can write java program in notepad++ also. Notepad++ is the very good text editor and it is quite light and notepad++ recognizes the syntax of about 40 programming languages like java, c, c++, html etc.
Eclipse: Eclipse is a very good and open-source IDE. It was made in java so it is cross-platform. Eclipse is not just for a java but it is also used for C++ and php languages. Eclipse IDE is available for Windows, Mac, Linux.
Netbeans: Netbeans is also a very good and open-source IDE. It has a built-in GUI builder for those you like R.A.D. Netbeans is a cross-platform IDE. Netbeans is available for Windows, Mac, and Linux operating systems.
JDeveloper: Jdeveloper is a free Integrated Development Environment (IDE) and it is released by oracle. It comes in 2 editions, a Studio edition which has a fully loaded tool set for creating a program in java and java edition. It is cross-platform.
0 comments:
Post a Comment