1. JAVA 

1-1) JAVA 다운로드

오라클 홈피에 m1 arm 버전이 없어서 azul 에서 다운!

 

https://www.azul.com/downloads/?version=java-8-lts&os=macos&architecture=arm-64-bit&package=jdk 

 

Downloads

Download Azul Platform Prime Azul Platform Prime extends Core, adding unique Azul innovations to improve the runtime characteristics of Java workloads. Azul Platform Prime delivers added performance, scale, consistency, and efficiency to Java applications,

www.azul.com

 

1-2) JAVA 환경 변수설정(JAVA_HOME, PATH )

-현재 사용하고 있는 쉘에 따라 각각의 해당 설정 파일 수정

 

- 현재 사용 중인 쉘 출력

$ echo $SHELL        

 

- Shell 설정 파일 위치

zsh   : ~/.zshrc

bash : ~/.bash_profile

 

- 설정 파일 수정

$ vim ~/.zshrc

export JAVA_HOME=/Library/Java/JavaVirtualMachines/zulu-8.jdk/Contents/Home
export PATH=${PATH}:$JAVA_HOME/bin

$ source ~/.zshrc

 

 

1-3) JAVA 설치확인

$ javac -version

$ java -version

 

 

2. MAVEN

-java 프로젝트 빌드 자동화 툴

2-1) MAVEN 다운로드

https://maven.apache.org/download.cgi

 

Maven – Download Apache Maven

Downloading Apache Maven 3.8.3 Apache Maven 3.8.3 is the latest release and recommended version for all users. The currently selected download mirror is https://dlcdn.apache.org/. If you encounter a problem with this mirror, please select another mirror. I

maven.apache.org

 

 

$ wget https://dlcdn.apache.org/maven/maven-3/3.8.3/binaries/apache-maven-3.8.3-bin.tar.gz --no-check-certificate

$ tar xvfz apache-maven-3.8.3-bin.tar.gz

 

 

2-2) MAVEN 환경 변수 설정

$ vim ~/.zshrc

export MAVEN_HOME=/Users/ahn/dev_tools/apache-maven-3.8.3
export PATH=${PATH}:$JAVA_HOME/bin:$MAVEN_HOME/bin

$ source ~/.zshrc

 

2-3) MAVEN 설치 확인

$ mvn -version

 

 

3. TOMCAT

3-1) Tomcat 다운로드

http://tomcat.apache.org/download-80.cgi

 

Apache Tomcat® - Apache Tomcat 8 Software Downloads

Welcome to the Apache Tomcat® 8.x software download page. This page provides download links for obtaining the latest versions of Tomcat 8.x software, as well as links to the archives of older releases. Unsure which version you need? Specification versions

tomcat.apache.org

$ wget https://dlcdn.apache.org/tomcat/tomcat-8/v8.5.72/bin/apache-tomcat-8.5.72.tar.gz --no-check-certificate

$ tar xvfz apache-tomcat-8.5.72.tar.gz

 

3-2) Tomcat 사용법

서버 켜기

$ /Users/ahn/dev_tools/apache-tomcat-8.5.72/bin/startup.sh

서버 동작 확인->http://localhost:8080/ 

 

서버 끄기

$ /Users/ahn/dev_tools/apache-tomcat-8.5.72/bin/shutdown.sh

 

4. VScode

4-1) vscode 다운로드

https://code.visualstudio.com/download

 

Download Visual Studio Code - Mac, Linux, Windows

Visual Studio Code is free and available on your favorite platform - Linux, macOS, and Windows. Download Visual Studio Code to experience a redefined code editor, optimized for building and debugging modern web and cloud applications.

code.visualstudio.com

apple silicon 버전으로 다운로드!

 

 

5.  Spring 프로젝트 생성

+ Recent posts