Eclipse가 Windows 7 작업 표시 줄에서 잘 작동하도록하는 방법은 무엇입니까?
작업 표시 줄에 고정 할 수있는 다른 모든 앱은 제대로 작동합니다. 그러나 Eclipse는 마우스 오른쪽 버튼을 클릭하면 최근에 열린 프로젝트를 표시하지 않습니다. 또한 내부에 일부 프로젝트를 고정 할 수 없습니다. Eclipse Helios의 JS 버전이 있습니다. 로드 후 새롭고 다른 작업 표시 줄 아이콘을 생성합니다.
.NET Framework에서 사용 가능한 최신 Java VM을 지정합니다 eclipse.ini
. 즉 :
-vm
jdk1.6.0_10\jre\bin\client\jvm.dll
- 별도의 줄에 있는지 확인하십시오.
- "vmargs"이후의 모든 것은 vm 인수로 간주됩니다.
( 더 많은 정보 )
또는 "windows32"폴더 앞에 Java bin
폴더를 추가하십시오. 그렇지 않으면 eclipse가 JDK 폴더 대신 win32 폴더에서 "javaw.exe"를 사용하기 때문입니다.PATH
Eclipse 버그 보고서 의 Riccardo의 솔루션 이 저에게 효과적 이지만 작업 표시 줄에서 최근에 열린 프로젝트 등을 얻지 못합니다. 이러한 해결 방법이 해당 동작을 복원하는 경험이 있습니까?
Helios x64를 사용하는 Windows 7 x64에서도 동일한 문제가 발생하지만 다음 해결 방법은 작업 표시 줄 단추에 대한 "항상 결합, 레이블 숨기기"옵션으로 작동합니다.
- 지정된 VM에 대한 "eclipse.ini"를 확인하고 경로가 JDK 또는 JRE의 bin 디렉토리 (javaw.exe가 아님)를 가리키는 지 확인하십시오. 저에게 인수는 따옴표없이 "D : / Development / Languages / Java / Development Kit / bin /"입니다.
- 작업 표시 줄에서 Eclipse 고정을 해제하거나 바로 가기 삭제
- 탐색기에서 "eclipse.exe"를 실행하고 작업 공간을 선택하십시오.
- 스플래시 화면이로드되고 기본 창이 표시 될 때 Eclipse를 작업 표시 줄에 고정
eclipse.exe를 호환 모드로 설정하면 작동합니다.
Win10 사용자를 위해 이것을 추가하고 싶습니다.
eclipse.ini
이 줄을 줄 앞의 끝에 추가하려면 편집하십시오.--launcher.appendVmargs:
-vm C:/Program Files/Java/jdk1.8.0/jre/bin/server/jvm.dll
작동하려면 Windows Vista에 대한 호환성도 설정해야합니다.
적어도 저에게는 Windows (7, 즉)에서 작업하고 있지만 슬래시를 사용하여 eclipse.ini의 vm에 경로를 추가하는 것이 중요하다는 점을 언급하는 것이 중요하다고 생각합니다. 백 슬래시를 사용했을 때 Eclipse가 시작되지 않았습니다.
최근 Timo Kinnunen 이 문제를 정확히 지적했습니다.
eclipse.ini를 편집하여 줄을 찾으십시오.
--launcher.appendVmargs:
그리고 그것을
--launcher.appendVmargs:-vm <PATH_TO_JAVA>/jdk1.8.0/jre/bin/server/jvm.dll
이렇게하면 JVM이 하위 프로세스가 아닌 eclipse.exe와 동일한 프로세스에서 시작되고 AppUserModelID가있는 호스트 프로세스의 복잡성을 피할 수 있습니다.
그리고 작동합니다 !!!
지금까지 StackOverflow에서 여기에 제공된 솔루션은 각각 고유 한을 갖고있는 동안 여러 Eclipse를 실행 Application ID
하고 아이콘 그룹이 예상대로 작동하도록 하는 쉬운 수정이 없습니다 . 여기에 대한 대답 은 기본 System.AppUserModel.ID
속성에 대한 참조를 제공 합니다.
다음은 빠른 하우투입니다 .
- 할 일
-vm
여기에 많은 사람들로 설정을 언급 한 - Eclipse 앱 실행
- 실행중인 작업 표시 줄 아이콘을 마우스 오른쪽 버튼으로 클릭하고
Pin this program to taskbar
- 로 이동
%AppData%\Microsoft\Internet Explorer\Quick Launch\User Pinned\Taskbar
- 새로 만든 바로 가기를 다른 위치에 복사합니다. 이름은
eclipse
,eclipse (2)
등 으로 지정eclipse (3)
됩니다. - 실행중인 작업 표시 줄 아이콘을 마우스 오른쪽 버튼으로 클릭하고
Unpin this program from taskbar
- 바로 가기 속성 대화 상자를 사용하여 모든 개별 필드 (대상 + 매개 변수, 작업 디렉터리, 아이콘 등)를 새 바로 가기에 복사합니다.
- 새 바로 가기 이름 변경
- 새 바로 가기를 Windows 작업 표시 줄로 끕니다.
- 끝난
다음 은 개별 Eclipse 인스턴스별로 아이콘 그룹을 분리하려는 경우에 유용한 확장 HOWTO입니다 (여러 인스턴스를 실행중인 경우).
- 예를 들어 시작 플러그인이 무엇인지 알아보십시오
org.eclipse.epp.package.java_2.0.1.20130919-0803
.plugin.xml
해당 폴더 의 파일을 엽니 다 . - 해당 파일에서 다음 XML 위치를 편집하십시오.
/plugin/extension/product/property[@name="appName"]
, 속성value
을 다른 것으로 설정하십시오 . 공백을 사용하지 말고 길이를 40 이하로 유지하십시오. - 선택적으로 창 제목도 설정하십시오 :
/plugin/extension/product/property[@name]
, 속성name
을 다른 것으로 설정하십시오 . - In your existing Eclipse shortcut, append
-clean
and run it once. You will notice the//product/property[@name]
attribute being used in the Eclipse window title. Afterwards, you can remove-clean
again. - Follow the quick HOWTO above
A quick explanation on What's going on here:
- Inside the .lnk file, an attribute is stored, which can't be entered by using the windows Shortcut Property dialog. If you copy a .lnk file, the attribute will copy with it.
- Windows groups by identical
System.AppUserModel.ID
property,AppID
for short - Eclipse does not have an
AppID
at startup. First the JVM is started, then the eclipse core/platform is started, and then the startup plugin is loaded. In this last stage, an API call is done to set theAppID
to the value inside aplugin.xml
file. See above: extended HOWTO item 2 - When you drag a manually created shortcut .lnk file to the taskbar, it makes sense that windows can't put this
AppID
into the new 'pinned' version of the .lnk file. It can only be detected at runtime. - When you start an Eclipse application, right click on the running taskbar icon,
Pin this program to taskbar
-> then Windows will detect theAppID
and store it in the 'pinned' .lnk. But, partly because of the JVM process redirection, Windows does not detect the command-line parameters, environment, working folder (at startup at least), and the icon path + icon index. So you have to:- Do a file copy of the .lnk file and fill in the missing gaps yourself
- Or, use a shortcut creation tool that understands
System.AppUserModel.ID
properties (there are plenty) - Or, use the Windows API directly
Sincerely hope this will reduce the amount of haywire Eclipse taskbars icons on the workstations around me,
Cheers, TW
참고URL : https://stackoverflow.com/questions/5234626/how-to-make-eclipse-behave-well-in-the-windows-7-taskbar
'program tip' 카테고리의 다른 글
AnyObject and Any in Swift (0) | 2020.09.12 |
---|---|
Windows Forms에서 단일 픽셀 그리기 (0) | 2020.09.12 |
TypeScript 인터페이스에서 정적 속성을 정의하는 방법 (0) | 2020.09.12 |
Pandas 데이터 프레임 열 dtypes 할당 (0) | 2020.09.12 |
[]를 사용할 때 C ++ 맵 유형 인수에 빈 생성자가 필요한 이유는 무엇입니까? (0) | 2020.09.12 |