Look through Java and MySQL PATH with environment variables [Windows version]

Pass Path in Preferences

I will explain what the environment variable ** "pass Path" ** is doing and how to set it: grinning:

This article: point_down_tone2:

--What is Path? --Meaning of passing through Path --How to pass Path in system environment variables --Check if the Path has passed

What is Path?

First, what is Path? ** Path ** is like an address ** that indicates the location of the application. Let's look at an example.

Example: Java Path indicates the location where you installed the jdk on that PC. 「C:\Program Files\Java\jdk1.X.X_XXX\bin」

Example: MySQL Since "mysql.exe" is a MySQL application, the Path is ** "C: \ Program Files \ MySQL \ MySQL Server 8.0 \ bin" ** that points to its location. image.png

Meaning to pass Path

I found that Path indicates the location of the application. By "passing the path = setting the path", you will be asking the personal computer ** to "make it possible to execute a specific program only by the program name" **.

How to pass Path in system environment variables

Let's go through Path with system environment variables immediately!

Right-click the PC in the folder → click Properties (R) 1.png

You will be taken to the system page and press Advanced System Settings. image.png

Since the system properties will appear, click the environment variable (N) コメント 2020-02-28 091010.png

Then select Path → Edit (E) コメント 2020-02-28 091108.png

Then, the screen for entering the Path will be displayed. Enter Path (C: \ Program Files \ ~) here and click OK to complete. コメント 2020-02-28 091633.png

Check if Path has passed

You can check if the Path has passed at the command prompt.

Example: Java Try typing "javac -version". image.png

If you come back as above, you are successful.

Example: MySQL Try typing "mysql --version". image.png

If you come back as above, you are successful.

"'~' Is an internal command or an external command, It is not recognized as an operable program or batch file. Please note that the Path does not pass properly if you see: bangbang:

Recommended Posts

Look through Java and MySQL PATH with environment variables [Windows version]
Build a web application development environment that uses Java, MySQL, and Redis with Docker CE for Windows
Prepare a scraping environment with Docker and Java
Prepare the environment for java11 and javaFx with Ubuntu 18.4
[Java] Variables and types
Deploying a Java environment with Windows Subsystem for Linux (WSL)
Easy environment construction of MySQL and Redis with Docker and Alfred
Zip compression with Java in Windows environment without garbled characters
Java version 8 and later features
[Template] MySQL connection with Java
Java programming (variables and data)
Version control Java with SDKMAN
Java version control with jenv
Connect to MySQL 8 with Java
How to build Rails + Vue + MySQL environment with Docker [2020/09 latest version]
Rails + MySQL environment construction with Docker
Use java with MSYS and Cygwin
Distributed tracing with OpenCensus and Java
Create RUNTEQ's environment with Windows DockerDesktop
Java Primer Series (Variables and Types)
Install Java with zip on Windows
Prepare Java development environment with Atom
Use JDBC with Java and Scala.
Java environment variable settings (Windows, AdoptOpenJDK11)
Output PDF and TIFF with Java 8
[MySQL] [java] Receive date and time
[Environment construction with Docker] Rails 6 & MySQL 8
Notes on Java path and Package
Install Java 9 on windows 10 and CentOS 7
Encrypt with Java and decrypt with C #
I built a rails environment with docker and mysql, but I got stuck
Build a Windows application test environment with Selenium Grid, Appium, and Windows Application Driver
Beginners create web applications with Java and MySQL (adding at any time)
01. I tried to build an environment with SpringBoot + IntelliJ + MySQL (MyBatis) (Windows10)
[Node.js express Docker] How to define Docker environment variables and load them with node.js
[Java] I installed JDBC and tried to connect with servlet + MySQL. (There is a version using DAO / Bean)