[AWS EC2] nohup: failed to run command 'java': No such file or directory

2023. 11. 25. 16:09·개발 ━━━━━/Troubleshoot
반응형

 

새로운 EC2 서버에 Github Actions 로 프로젝트를 올리는 중에

deploy 자체는 성공적으로 뜨지만 뭔가 잘못됨을 감지하고 로그를 보는데

 

nohup: failed to run command 'java': No such file or directory

 

라는 에러 문구가 마지막에 떠있었다.

 

ubuntu 에 Java 를 설치하지 않아서 발생한 문제


터미널에

sudo apt-get update
sudo apt-get install openjdk-17-jdk

 

원하는 Java 버전으로 설치해주면 된다.

반응형

'개발 ━━━━━ > Troubleshoot' 카테고리의 다른 글

[Raspberry Pi] Docker-Compose 설치시 Building wheel for crytography (PEP 517) ... error  (0) 2023.12.08
[AWS EC2] EC2 서버 다운 / swap 파일 생성  (0) 2023.11.27
[Docker] The requested image's platform (linux/arm64) does not match the detected host platform (linux/amd64/v3) and no specific platform was requested  (0) 2023.11.24
[AWS EC2] Permission Denied - UNPROTECTED PRIVATE KEY FILE  (0) 2023.11.23
[SpringBoot] contextLoads() Failed  (2) 2023.09.27
'개발 ━━━━━/Troubleshoot' 카테고리의 다른 글
  • [Raspberry Pi] Docker-Compose 설치시 Building wheel for crytography (PEP 517) ... error
  • [AWS EC2] EC2 서버 다운 / swap 파일 생성
  • [Docker] The requested image's platform (linux/arm64) does not match the detected host platform (linux/amd64/v3) and no specific platform was requested
  • [AWS EC2] Permission Denied - UNPROTECTED PRIVATE KEY FILE
GukJang
GukJang
•  ⌘ ⌥ •
    반응형
  • GukJang
    SPACE
    GukJang
  • 전체
    오늘
    어제
    • Blog (73)
      • 개발 ━━━━━ (68)
        • Java (14)
        • C++ (1)
        • HTML (1)
        • Spring(boot) (7)
        • Dev (9)
        • SQL (1)
        • CS (2)
        • Git (1)
        • Troubleshoot (14)
        • Algorithm (2)
        • Definition (1)
        • Dev Life (2)
        • TIL (7)
        • 항해 (6)
      • 공돌 ━━━━━ (4)
        • 플젝 (2)
        • 장비 (1)
        • 부품 (1)
      • 독서 ━━━━━ (1)
  • 블로그 메뉴

    • 홈
    • 태그
    • 방명록
    • 글쓰기
  • 링크

    • Github
  • 공지사항

  • 인기 글

  • 태그

    사전 스터디
    Java
    micropython
    docker volume
    자바
    알고리즘
    오픈소스 기여
    mysql
    electron-builder
    EC2
    CI CD
    Python
    docker
    github actions
    SpringBoot
    백준
    항해99
    AWS
    마이크로파이썬
    spring
  • 최근 댓글

  • 최근 글

  • hELLO· Designed By정상우.v4.10.0
GukJang
[AWS EC2] nohup: failed to run command 'java': No such file or directory
상단으로

티스토리툴바