How to set up smartphones and PCs. Informational portal
  • home
  • Errors
  • Jdk java development kit installation. How to get started developing Java programs with the Java Development Kit (JDK)

Jdk java development kit installation. How to get started developing Java programs with the Java Development Kit (JDK)

I think it will not be a secret for you that the majority of applications for the Android mobile platform are developed primarily in the Java language. To create applications in the Java language, special software is required. The latest versions of this software can always be downloaded from the developer's website, oracle.com. This software includes tools such as and.

JRE (Java Runtime Environment) is a tool that is a runtime environment - a minimal implementation of a virtual machine in which Java program code is launched and executed. Is a tool representing a whole set of tools, a Java application development kit. In fact, the JRE is part of the JDK, as are various other Java standard class libraries, the javac compiler, documentation, code samples, and various utility utilities. This entire set is distributed free of charge and has versions for different operating systems, so anyone who has a desire can download and use it.

The JDK does not include an integrated development environment, it is assumed that the developer will install it separately. There are many IDEs for Java development, for example: IntelliJ IDEA, Borland JBuilder, NetBeans, etc. For developing applications for Android, we choose the Eclipse IDE.

How to install the JDK... To install the JDK, you need to go to the site oracle.com select the Downloads tab, then JAVA for developers.

After you have downloaded the JDK you need, run the downloaded file and after some waiting you will see the start screen for installation. We press “ Next”.

On the next screen, you will be prompted for a directory to install. Click " Next"to install to the default directory or click on the button“ Change ...”And select our directory. Remember the path to the directory where you installed the JDK, in the figure it is highlighted in red:

When the installation Java Development Kit (JDK) is almost over, a form will appear in which you will be prompted to install JRE (Java Runtime Environment), install. There is no need to change the installation directory here - click “ Next”.

For a while, you will see a screen on which there will be such an inscription (3 billion devices use Java):

Then you will see that the installation has finished:

This completes the installation. But it remains to take one more step - register the path to the JDK files in the paths of the operating system. This will allow us to run the main files from the command line. And also we will set the variable JAVA_HOME... On the Windows 7 operating system, this is done as follows: In the “ Start"Find the item" A computer”And click on it with the right mouse button. A menu will appear, select the item “ Properties”. A window will appear:

We select the item " Additional system parameters”. A window will appear in which we select the item “ Environment Variables”.

I think it will not be a secret for you that the majority of applications for the Android mobile platform are developed primarily in the Java language. To create applications in the Java language, special software is required. The latest versions of this software can always be downloaded from the developer's website, oracle.com. This software includes tools such as and.

JRE (Java Runtime Environment) is a tool that is a runtime environment - a minimal implementation of a virtual machine in which Java program code is launched and executed. Is a tool representing a whole set of tools, a Java application development kit. In fact, the JRE is part of the JDK, as are various other Java standard class libraries, the javac compiler, documentation, code samples, and various utility utilities. This entire set is distributed free of charge and has versions for different operating systems, so anyone who has a desire can download and use it.

The JDK does not include an integrated development environment, it is assumed that the developer will install it separately. There are many IDEs for Java development, for example: IntelliJ IDEA, Borland JBuilder, NetBeans, etc. For developing applications for Android, we choose the Eclipse IDE.

How to install the JDK... To install the JDK, you need to go to the oracle.com website, select the Downloads tab, then JAVA for developers. Or download from here: for Windows x32 - JDK-7u40-Windows-i586.exe file size - 123.46 Mb. For Windows x64 - JDK-7u40-Windows-x64.exe file size - 125.25 Mb.

After you have downloaded the JDK you need, run the downloaded file and after some waiting you will see the start screen for installation. We press “ Next”.

On the next screen, you will be prompted for a directory to install. Click " Next"to install to the default directory or click on the button“ Change ...”And select our directory. Remember the path to the directory where you installed the JDK, in the figure it is highlighted in red:

When the installation Java Development Kit (JDK) is almost over, a form will appear in which you will be prompted to install JRE (Java Runtime Environment), install. There is no need to change the installation directory here - click “ Next”.

For a while, you will see a screen on which there will be such an inscription (3 billion devices use Java):

Then you will see that the installation has finished:

This completes the installation. But it remains to take one more step - register the path to the JDK files in the paths of the operating system. This will allow us to run the main files from the command line. And also we will set the variable JAVA_HOME... On the Windows 7 operating system, this is done as follows: In the “ Start"Find the item" A computer”And click on it with the right mouse button. A menu will appear, select the item “ Properties”. A window will appear:

We select the item " Additional system parameters”. A window will appear in which we select the item “ Environment Variables”.

In the window that appears, you need to create a variable - “ JAVA_HOME”. And edit the variable “ Path”. To do this, press the button “ Create”.

Variable setting option “ JAVA_HOME”Is shown in the figure. This is where the line that I suggested you remember when installing the JDK comes in handy.

Setting a variable “ Path”Most likely it is not necessary to create it - it is usually already there. If not, then in the list of system variables we are looking for the variable “ Path»Click on it, enter an additional path there C: \ Program Files \ Java \ jdk1.7.0_07 \ bin and click " OK"(Be very careful - here you have to enter a line by placing“ ; "At the end of the list of all paths and also add the line" \ bin" after.



Fri, 21/07/2017 - 23:21

This is a free set of tools for developing applications of any complexity in the JAVA programming language.

JDK Description

JDK from company Oracle is a set of tools that are needed to develop applications in the language JAVA... The package includes various classes, libraries, Java Runtime Environment (JRE)- a virtual machine that allows you to run Java applications on any device with any operating system. That is, the presence JRE makes Java programs cross-platform... By the way, if you only need JRE then you can download it for free from our website. Also, in the kit you can find complete documentation on functions and classes. Java.

What, unfortunately, is not included in the package JDK so is it an integrated development environment or IDE... Therefore, the programmer working with JDK must use third party code editing tools. It can be either ordinary text editors or full-fledged IDE... Moreover, there are development environments that already have built-in functions for working with Java programs. By using such programs, you do not have to compile the program using the command line. Therefore, you should think about purchasing or loading the IDE.

For those who want to understand how Java works in detail, the JDK allows you to view and examine all the source code and data, including the Java compiler source code.

Specifications:

Version: Java Development Kit (JDK) 6u161, 7u151, 8u141
Russian language
Status: Free
By Oracle Corporation
System: Windows

Writing Java applets and applications requires development tools such as the JDK. The JDK includes the following components: Java Runtime Environment, Java Compiler, and Java APIs. Getting started is not difficult for either experienced or novice programmers.

Where can I download the JDK?

To download the latest Java Development Kit (JDK), go to the JDK downloads section.
Developers can also visit the Oracle Technology Network for Java Developers Java developer community for in-depth information on Java technology, including documentation and tutorials.

Novice Java users

Novice users interested in developing Java programs can find useful information in the Novice Java section.

How do I get a Java certification?
Java developer conferences
  • JavaOne is the premier conference for Java developers to learn about the latest Java technologies, improve your technical knowledge, and ask questions from fellow developers and planners. Oracle hosts annual JavaOne conferences, including the JavaOne flagship conference in San Francisco and regional conferences. Visit www.oracle.com/javaone for more information on upcoming events and venues.
  • Oracle Technology Network Developer Days are free, hands-on workshops for Java Developers that are held regularly around the world.
  • Oracle also sponsors other companies that host Java technology events. To find out about upcoming events in your area, please use the catalog search

Top related articles