3
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

[環境構築] Spring Tool Suite4 インストール(Mac)

Last updated at Posted at 2018-11-17

初稿: 2018/11/17

目的

インターン先で使っている spring を使って、何かWEBサービスをつくる

やっぱり、環境開発が一番手間取るしやる気なくすことが多いと思う(二敗)ので、資料をできるだけ残す。

PC環境

macOS Mojave Version10.14
%brew --version
Homebrew 1.8.2
Homebrew/homebrew-core (git revision 0998; last commit 2018-11-17)
Homebrew/homebrew-cask (git revision 11b48e; last commit 2018-11-16)

参考にさせていただいた先駆者様

基本的にここの人との差分だけ記述します。

英語の勉強のため、日本語化はとりあえずしません。

Path

% echo $JAVA_HOME
/Library/Java/JavaVirtualMachines/jdk-10.0.2.jdk/Contents/Home
miyazakBookpuro% echo $M2_HOME
/usr/local/Cellar/maven/3.6.0/libexec

STS install

STS3.9から4.0にかわっていたため少しとまどいましたが、SpringTool4 for Eclipseをインストール(ちなみにbrewにstsはないみたいでした。)

lombok setting

(何に使うんやろうか)

lombok.jarを実行したときは、Specify Locationより

/Applications/SpringToolSuite4.app/Contents/Eclipse/SpringToolSuite4.ini

を選択します。(一敗)

encoding

[Preference]->[General]->[Workspece]->Text file encoding
をチェック

JRE の確認

[Preference]->[Java]->[Installed JREs]
選択しているJREをJAVA_HOMEと同じものにしておく(一敗)
java10.0とjava11.0になったときにoracleJdkからopenJdkになっていて二つあったりした。

ここまでで、この本のインストール手順の内容も網羅したので、終わります。

てゆうかSTS4.0の導入について書いてある記事(windows)がすでにありましたわ....

3
0
1

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
3
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?