동일한 컴퓨터에 두 개의 아이디어가 설치되어 있는 경우(예: idea2019 및 idea2023은 정상적으로 설치되었으나 프로그램을 두 번 클릭해도 두 번째 idea2023 버전이 열리지 않는 경우, 문제를 해결하려면 다음 작업 프로세스를 설치해야 합니다.
1단계: .IntelliJIdea2023.2.1 폴더 만들기
C:\Users\user\ 디렉터리에 .IntelliJIdea2023.2.1이라는 폴더를 만듭니다.
이러한 방식으로 아이디어의 서로 다른 두 가지 버전이 자체 구성을 독립적으로 사용할 수 있습니다.
2단계: 구성 파일 수정
D:/java/IntelliJ IDEA 2023.2.1/bin/idea.properties 파일을 다음 구성으로 수정합니다.
#---------------------------------------------------------------------
# Uncomment this option if you want to customize a path to the settings directory.
#---------------------------------------------------------------------
idea.config.path=${user.home}/.IntelliJIdea2023.2.1/config
#---------------------------------------------------------------------
# Uncomment this option if you want to customize a path to the caches directory.
#---------------------------------------------------------------------
idea.system.path=${user.home}/.IntelliJIdea2023.2.1/system
#---------------------------------------------------------------------
# Uncomment this option if you want to customize a path to the user-installed plugins directory.
#---------------------------------------------------------------------
idea.plugins.path=${idea.config.path}/plugins
#---------------------------------------------------------------------
# Uncomment this option if you want to customize a path to the logs directory.
#---------------------------------------------------------------------
idea.log.path=${idea.system.path}/log
3단계: 캐시 파일 삭제
경로: C:\Users\사용자 이름\AppData\Roaming\JetBrains\
열 수 없는 아이디어 버전과 동일한 이름의 디렉토리를 찾아 삭제하세요.