我在使用 jrockit vm 而不是热点 vm 卸载 eclipse 插件时遇到问题。
它失败并出现以下异常:
An error occurred while installing the items
session context was:(profile=epp.package.jee, phase=org.eclipse.equinox.internal.p2.engine.phases.Install, operand=null --> [R]org.sonatype.tycho.m2e 0.6.0.201207302152, action=org.eclipse.equinox.internal.p2.touchpoint.eclipse.actions.InstallBundleAction).
java.net.URISyntaxException: Illegal character in scheme name at index 0: %23c:/Program%20Files/Java/jdk1.6.0_26/bin/javaw.exe
java.net.URISyntaxException: Illegal character in scheme name at index 0: %23c:/Program%20Files/Java/jdk1.6.0_26/bin/javaw.exe
当我将 vm 改回热点时,这个问题就消失了。
-vm
c:/Program Files/Java/jdk1.6.0_26/bin/javaw.exe
#c:/Program Files/Java/jrockit-jdk1.6.0_33-R28.2.4-4.1.0/bin/javaw.exe