[JSP] [게시판 만들기] - 00. 환경 구성 (mac 환경 jdk, eclipse, git)
1. JDK 설치
Java Development Kit
조금 오래되긴 했지만, 가장 많이 사용되고 있는 jdk1.8을 사용했다.
www.oracle.com/java/technologies/javase/javase-jdk8-downloads.html
2. Eclipse
개발 환경을 제공하는 툴
www.eclipse.org/downloads/packages/
Eclipse Packages | The Eclipse Foundation - home to a global community, the Eclipse IDE, Jakarta EE and over 350 open source pro
519 MB 537,930 DOWNLOADS Tools for developers working with Java and Web applications, including a Java IDE, tools for JavaScript, TypeScript, JavaServer Pages and Faces, Yaml, Markdown, Web Services, JPA and Data Tools, Maven and Gradle, Git, and more. Cli
www.eclipse.org
3. Tomcat
JSP를 띄워주기 위해 필요한 Servlet Container이다.
컴파일 과정 : JSP File -> Java File -> Class File
Class File을 메모리에 올리고 실행한다.
mac OS의 경우 간단하게 터미널에서 설치를 진행할 수 있다.
1) Tomcat 설치
% brew intall tomcat
2) 경로설정
% sudo ln -s /usr/local/Cellar/tomcat/9.0.14/libexec /Library/Tomcat
3) 소유자 변경
%sudo chown -R username /Library/Tomcat
4) 실행권한 부여
%sudo chmod +x /Library/Tomcat/bin/*.sh
5) Tomcat 실행
% ./startup.sh