Under system variables, click new to create a new system environment variable. Note: when prompted to install JRE, you can choose not to install it.įor Java program development, two JDK commands are mainly used javac.exe, java.exe 。 Path: C: Java / JDK 1.7.0_ 09\bin。 However, these commands are not windows’s own commands, so you need to configure the path if you want to use them.Ĭlick computer – properties – advanced system settings, and click environment variables.
Modify the installation directory as follows:
JDK is the core of the whole java development, it contains the Java running environment (JVM + java system class library) and java tools.
JDK is a software development kit of Java language, which is mainly used for Java applications on mobile devices and embedded devices.