Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Table of Contents

...

JAVA 11 install(JDK)

From Homebrew

download from: JAVA Multi Version 1.8, 11

From official website

download from: https://www.oracle.com/java/technologies/javase-jdk11-downloads.html

...

Git Install

From Homebrew

write on terminal: brew install git

From official website

https://git-scm.com/download/mac

check version

git --version

...

...

Springboot install

From homebrew

Cleanup and upgrade before set up

brew upgrade

brew cleanup

install STS4

brew cask install springtoolsuite

...

From official website

Go to website: https://spring.io/tools

download: MacOs version for eclipse

...

Configure JVM version: SpringToolSuite4.ini

open using editor(ex. vscode)

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

...

Java11 version error

When face the error message like failed to create the java virtual machine to run STS4

...

-vm /Library/Java/JavaVirtualMachines/adoptopenjdk-8.jdk/Contents/Home/bin

Heap memory config

please edit max Heap memory as a -Xmx2048m on SpringToolSuite4.ini

Example SpringToolSuite4.ini

Code Block
-vm 
/Library/Java/JavaVirtualMachines/adoptopenjdk-8.jdk/Contents/Home/bin
-startup
../Eclipse/plugins/org.eclipse.equinox.launcher_1.5.700.v20200207-2156.jar
--launcher.library
../Eclipse/plugins/org.eclipse.equinox.launcher.cocoa.macosx.x86_64_1.1.1100.v20190907-0426
-product
org.springframework.boot.ide.branding.sts4
--launcher.defaultAction
openFile
-vmargs
-Dosgi.requiredJavaVersion=1.8
-Xms256m
-Xmx2048m
-XX:+UseG1GC
-XX:+UseStringDeduplication
--add-modules=ALL-SYSTEM
-XstartOnFirstThread
-Dorg.eclipse.swt.internal.carbon.smallFonts
-Xdock:icon=../Resources/sts4.icns

...

Project Setting

Download for git repository

Set up workspace path

...

Click Open Perspective

...

Click Next and tick develop

...

Import Project

Set Directory

The initial branch is develop

...

When failing to ready to use Gradle, like below

...

Server and Profile configuration

if success input all of the gradle dependencies, you can find backend-core on Boot Dashboard(Left side below)

...