본문 바로가기
Oracle

[Oracle] sql developer JDK 경로 변경하기

by 네모세모동동 2024. 3. 3.

 

JDK 미포함 sqldeveloper를 다운 받고 실행해보았다.

그런데 아래와 같은 창이 떴다!

 

 

 

설명해주는 것과 같이 메모장으로 product.conf 파일을 열어 SetJavaHome을 수정해주었다.

SetJavaHome 뒷 부분에 jdk 폴더 경로를 추가해주면 된다!

 

(jdk-11이 이미 설치되어있었어서 jdk-11을 입력했다)

 

       📌 AppData 폴더가 보이지 않는다면 숨김항목을 체크하면 찾을 수 있다.

 

##############################################################################
#
# The format of this file is:
#
# Directive  Value
#
# with one or more spaces between the directive and the value. This file
# can be in either UNIX or DOS format for end of line terminators. Use UNIX
# style '/' path separators, although on Windows some directives, such as
# SetJavaHome, can take '\' path separators.
#
##############################################################################

#
# By default, the product launcher will search for a JDK to use, and if none
# can be found, it will ask for the location of a JDK and store its location
# in this file. If a particular JDK should be used instead, uncomment the
# line below and set the path to your preferred JDK.
#
# 
SetJavaHome C:\Program Files\Java\jdk-11

 

 

📌 # SetJavaHome C:\... 으로 작성하면 # 이 주석처리로 받아드리기 때문에

       앞에 # 을 지우거나 엔터치고 입력해야한다!