개발자_이훈규
천천히, 빠르게. 개발자의 Repository
개발자_이훈규
전체 방문자
오늘
어제
  • 분류 전체보기 (473)
    • 티스토리 (4)
    • 개발자 뉴스 (2)
    • 소프트웨어 (203)
      • C (7)
      • c++ (25)
      • Objective-C (3)
      • Do it! 반응형 웹디자인 (4)
      • openGL (8)
      • Java (24)
      • Jni (3)
      • Android (9)
      • Wordpress (2)
      • 버그 만난 후 느낀점 (2)
      • Git (3)
      • node js (2)
      • window tablet (1)
      • HTML (3)
      • javascript (3)
      • perl (1)
      • AngularJS (0)
      • JSON (0)
      • Docker (3)
      • python (5)
      • jQuery (1)
      • MFC (4)
      • cocos studio (6)
      • Golang (1)
      • SQLite3 (0)
      • Spring Boot (8)
      • thymeleaf (0)
      • Django (0)
      • iOS (3)
      • skia (0)
      • VBA (0)
      • PHP (2)
      • Oracle (1)
      • JSP (0)
      • R (0)
    • TCP IP (2)
    • 금융 (0)
      • 금융 Study (0)
      • 금융 Archive (0)
      • 금융 Article (0)
    • 개인 프로젝트 (7)
      • gif 홈페이지 만들기 (0)
      • study app만들기 (0)
      • 크롤러 만들기 (1)
      • 카툰 홈페이지 만들기 (1)
      • 외주 홈페이지 만들기 (3)
      • 웹 홈페이지 만들기 (0)
      • 미디어 서버 만들기 (0)
      • 소개팅 어플 만들기 (0)
      • 인스타그램 풀스택 클론 코딩(인강 노트) (0)
      • 주식 모의거래 만들기 (1)
    • html php mysql (0)
    • node.Js (2)
    • 일상 (2)
    • 빈공간 uml 공부 (0)
    • Ubuntu(linux) (12)
    • 맥OS (10)
      • android 설치하기 (2)
    • Programming quizzes (0)
    • IoT (구 유비쿼터스) (16)
      • 라즈베리 파이 (11)
      • 아두이노 (5)
    • 하드웨어 (5)
      • 아수스 비보탭 노트8 asus vivotap no.. (2)
      • 크레마 카르타 (3)
    • 분석할 문장, 구문, 코드 (0)
    • 키보드 (1)
      • 해피해킹 (1)
    • 코드 라이언 (0)
    • 전자기기 (4)
    • Ted (0)
    • NAS (0)
    • 알고리즘 (0)
    • 연합인포맥스 (0)
    • 이벤트 응모함 (4)

블로그 메뉴

  • 홈
  • 태그
  • 미디어로그
  • 위치로그
  • 방명록

공지사항

인기 글

태그

  • Java
  • Example
  • ubuntu
  • 라즈베리 파이
  • 코드
  • C
  • error
  • 방법
  • 소스
  • 설명
  • C++
  • CODE
  • 우분투
  • Python
  • install
  • 에러
  • GIT
  • 개발
  • 설치
  • 예제

최근 댓글

최근 글

티스토리

hELLO · Designed By 정상우.
개발자_이훈규

천천히, 빠르게. 개발자의 Repository

소프트웨어/Spring Boot

[sdkman] install, error solution (fail to download)

2016. 7. 4. 17:51

현상)

Prime the config file...

Download script archive...

  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current

                                 Dload  Upload   Total   Spent    Left  Speed

  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0

100   637  100   637    0     0    466      0  0:00:01  0:00:01 --:--:--   931

Download file : http://api.sdkman.io/res?platform=Linux&purpose=install

Extract script archive...

[/home/hklee/.sdkman/tmp/res-3.3.4.zip]

  End-of-central-directory signature not found.  Either this file is not

  a zipfile, or it constitutes one disk of a multi-part archive.  In the

  latter case the central directory and zipfile comment will be found on

  the last disk(s) of this archive.

unzip:  cannot find zipfile directory in one of /home/hklee/.sdkman/tmp/res-3.3.4.zip or

        /home/hklee/.sdkman/tmp/res-3.3.4.zip.zip, and cannot find /home/hklee/.sdkman/tmp/res-3.3.4.zip.ZIP, period.

Install scripts...

mv: cannot stat '/home/hklee/.sdkman/tmp/stage/sdkman-init.sh': No such file or directory

mv: cannot stat '/home/hklee/.sdkman/tmp/stage/sdkman-*': No such file or directory

Set version to 3.3.4 ...

Attempt update of bash profiles...

Attempt update of zsh profiles...




All done!



Please open a new terminal, or run the following in the existing one:


    source "/home/hklee/.sdkman/bin/sdkman-init.sh"


Then issue the following command:


    sdk help


Enjoy!!!



증상)
tmp에 저장될 파일이 비어있다.(그래서 unzip을 하면 에러가 난다.)


해결방법)
sdkman의 zip파일을 제공하는 업체에서 sdkman download file을 수동으로 받아서 .sdkman/tmp 에 임의로 넣은 후, self update script의 일부를 고쳐서 self update를 실행시킨다.

해결 방법(자세히) )

installSdkman.sh

selfUpdateSdkman.sh


1. installSdkman.sh을 실행

2. https://bintray.com/sdkman/generic/sdkman-cli/5.0.0%2B51 여기서 download file을 .sdkman/tmp에 복사

3. selfUpdateSdkman.sh을 실행


그리고 새로운 terminal을 띄우면 sdk가 실행된다.


(selfupdate의 코드 중 curl을 이용해서 sdkman file을 주석처리하고 2번에서 다운받아 놓은 파일로 압축을 풀게 만들었다.) 



저작자표시 (새창열림)

'소프트웨어 > Spring Boot' 카테고리의 다른 글

[Spring Boot] maven install and build.  (0) 2016.07.07
[Spring Boot] spring boot java.lang.RuntimeException: java.lang.reflect.InvocationTargetException  (0) 2016.07.06
[Spring Boot] Create and Play project  (0) 2016.07.06
[Spring Boot] init project  (0) 2016.07.05
[Spring Boot] Intro  (0) 2016.07.04
    '소프트웨어/Spring Boot' 카테고리의 다른 글
    • [Spring Boot] spring boot java.lang.RuntimeException: java.lang.reflect.InvocationTargetException
    • [Spring Boot] Create and Play project
    • [Spring Boot] init project
    • [Spring Boot] Intro
    개발자_이훈규
    개발자_이훈규
    혼자 꽁양꽁양 개발하면서 놀아요~ - 노트같은 블로그

    티스토리툴바