When developing with IntelliJ on MacOS Mojave, the cloned project did not work, so I wrote a memo when I moved it. Not versatile.
Procedure --Java downgrade --IntelliJ settings
Java8 Install Checking your environment
$ java -version
openjdk version "1.8.0_212"
OpenJDK Runtime Environment (AdoptOpenJDK)(build 1.8.0_212-b03)
OpenJDK 64-Bit Server VM (AdoptOpenJDK)(build 25.212-b03, mixed mode)
With that feeling, if it is 1.8.0_XXX, it's probably OK.
If not, do the following:
$ brew tap AdoptOpenJDK/openjdk
$ brew cask install adoptopenjdk8
It should be DL to /Library/Java/JavaVirtualMachines/adoptopenjdk-8.jdk/
.
Java is placed in / Library / Java / JavaVirtualMachines / adoptopenjdk-8.jdk / Contents / Home / bin /
.
Next, check the version.
$ /Library/Java/JavaVirtualMachines/adoptopenjdk-8.jdk/Contents/Home/bin/java -version
openjdk version "1.8.0_212"
OpenJDK Runtime Environment (AdoptOpenJDK)(build 1.8.0_212-b03)
OpenJDK 64-Bit Server VM (AdoptOpenJDK)(build 25.212-b03, mixed mode)
OK.
Although it is troublesome, the environment is built by directly specifying and calling this / Library / Java / JavaVirtualMachines / adoptopenjdk-8.jdk / Contents / Home
.
(If you set it to IntelliJ first, you won't touch it after that, so you shouldn't have to worry about it after that.)
Click [Run]-> [Edit Configuration] on the menu bar above.
Set the JRE. Click [...] on the right
Select / Library / Java / JavaVirtualMachines / adoptopenjdk-8.jdk / Contents / Home /
and click [Open].
(If you press [Command + Shift + G], it will appear as shown in the image below when you hit the path.)
Finally, after confirming that / Library / Java / JavaVirtualMachines / adoptopenjdk-8.jdk / Contents / Home
is specified properly, click [Apply] and [OK] !!
MySQL Check the version of mysql (check if it is installed)
$ mysql -V
MySQL can be installed with the latest version Ver 8.0.16 for osx10.14 that can be installed with brew, so you don't have to worry about it.
If it is not installed, install it.
$ brew install mysql
server start
$ mysql.server start
Success !!
Now it should be feasible! I hope it is.
Recommended Posts