[Launch4j] JAR 파일로 응용프로그램(exe파일) 만들기
1. Launch4j 다운로드 및 설치
Launch4j - Cross-platform Java executable wrapper
Cross-platform Java executable wrapper Launch4j is a cross-platform tool for wrapping Java applications distributed as jars in lightweight Windows native executables. The executable can be configured to search for a certain JRE version or use a bundled one
launch4j.sourceforge.net
2. Basic 설정
Output file : exe 파일을 만들 경로와 만들 exe파일명까지 설정
jar : exe로 만들 jar파일 경로
3. Header 설정
Header type GUI인지 Consoleㅇ인지 타입 설정
4. JRE 설정 및 config 파일 저장
JRE 탭의 Min JRE version을 작성한 뒤
상단의 톱니바퀴 버튼을 클릭해 생성할 config 파일명을 입력해준다.
생성이 완료되면 log 정보가 표출된다.
설정한 경로에 exe파일이 실행된 것을 볼 수 있을 것이다
[Spring Boot] 프로젝트 jar파일 생성 방법과 실행 방법, 배치파일까지 !
[Spring Boot] 프로젝트 jar파일 생성 방법과 실행 방법, 배치파일까지 ! 오늘은 Spring Framework을 사용하는 프로젝트를 간편하게 셋업할 수 있는 서브 프로젝트 Spring Boot의 jar파일 생성방법과 실
haenny.tistory.com
참고 : https://aljjabaegi.tistory.com/446
[launch4j] jar파일로 exe 파일만드는 방법 how to make exe file to jar file
[launch4j] jar파일로 exe 파일만드는 방법 how to make exe file to jar file jar 파일로 배포를 하다 보면은 batch 파일 생성시에 몇가지 문제점이 발생합니다. 예를 들어 window기반에서 실행은 경..
aljjabaegi.tistory.com
'JVM > SpringBoot' 카테고리의 다른 글
SpringBoot 2.5 → 2.6 업그레이드 시No more pattern data allowed after {*...} or ** pattern element 오류 해결 (0) | 2022.04.02 |
---|---|
SpringBoot Initializing Spring DispatcherServlet 'dispatcherServlet' (2) | 2022.04.01 |
[SpringBoot] 스프링부트 properties 설정파일 분리하기 (0) | 2022.01.26 |
[SpringBoot] SpringBoot war 파일로 Export 하는 방법 (0) | 2020.09.08 |
[Spring Boot] 프로젝트 jar파일 생성 방법과 실행 방법, 배치파일까지 ! (1) | 2019.08.02 |
댓글