Eclipse : Getting Error as Could not find jar file while installing Plugin in Eclipse

笑着哭i 提交于 2021-02-09 05:42:48

问题


I was following this below website http://visualvm.java.net/eclipse-launcher.html for installing VisualVM into Eclipse Helios Version 3.6 , for this as mentioned i downloaded visualvm_launcher_u1_eclipse_36 and also under in Eclipse Menu Window --->Preferences ---> Installed JRE ---> Pointed JDK Path in JRE Settings C:\Program Files\Java\jdk1.6.0_27

But when i tried to install this VisualVM into Eclipse by

Eclipse Menu ---> Install New Software --->Add -- >Archive option

i am getting the below exception

Could not find jar file:file:/D:/VisualVM/visualvm_launcher_u1_eclipse_36.zip!/

Please see the image related to the Exception .

enter image description here


回答1:


This is what I did to get it installed.

  1. downloaded and unzipped to C:/visualvm_launcher_u1_eclipse_36/

  2. Eclipse Window --->Preferences ---> Available Software Sites --> Add (Name: VisualVM; Location: file:/C:/visualvm_launcher_u1_eclipse_36/)

  3. Eclipse Help ---> Install New Software ---> Select VisualVM from drop-down menu ---> Expand Uncategorized ---> Select VisualVM Launcher Feature ---> Next




回答2:


It looks like you are not following the steps for installation. You should:

  1. unzip visualvm_launcher_u1_eclipse_36.zip into directory of your choice
  2. add local update site pointing to the chosen directory
  3. install VisualVM Launcher Feature



回答3:


The file itself may be corrupt that you are trying to add as an archive. Examine the root level of the file and make sure the correct components are there. Right now, I am trying to install EPIC in such a way. What I see in the zip file at the root level are:

  • features (folder)
  • plugins (folder)
  • README.txt (file)
  • site.xml (file)


来源:https://stackoverflow.com/questions/15680497/eclipse-getting-error-as-could-not-find-jar-file-while-installing-plugin-in-ec

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!