Cannot Install Many Software. [message #1716730] |
Mon, 07 December 2015 14:50  |
Eclipse User |
|
|
|
Hi,
I am using Eclipse IDE for C/C++ Developers version Mars. 1 Release (4.5.1), which I downloaded and installed last night from https://www.eclipse.org/.
However, when I am trying to install by navigating through the menu Help -> Install New Software, I am getting this error message.
An error occurred during the org.eclipse.equinox.internal.p2.engine.phases.CheckTrust phase.
session context was:(profile=_home_erick_eclipse_cpp-mars_eclipse, phase=org.eclipse.equinox.internal.p2.engine.phases.CheckTrust, operand=, action=).
Error reading signed content.
zip file is empty
However, by googling through the internet, I found that I might want to add "-Djava.util.Arrays.useLegacyMergeSort=true" to my eclipse.ini
Here is the content of my eclipse.ini
-startup
../../../.p2/pool/plugins/org.eclipse.equinox.launcher_1.3.100.v20150511-1540.jar
--launcher.library
../../../.p2/pool/plugins/org.eclipse.equinox.launcher.gtk.linux.x86_64_1.1.300.v20150602-1417
-product
org.eclipse.epp.package.cpp.product
--launcher.defaultAction
openFile
-showsplash
org.eclipse.platform
--launcher.XXMaxPermSize
256m
--launcher.defaultAction
openFile
--launcher.appendVmargs
-install
/home/erick/eclipse/cpp-mars/eclipse
-vm
/usr/lib/jvm/java-7-openjdk-amd64/jre/bin
-vmargs
-Djava.util.Arrays.useLegacyMergeSort=true
-Dosgi.requiredJavaVersion=1.7
-XX:MaxPermSize=256m
-Xms256m
-Xmx1024m
-Doomph.update.url=http://download.eclipse.org/oomph/updates/milestone/latest
-Doomph.redirection.index.redirection=index:/->http://git.eclipse.org/c/oomph/org.eclipse.oomph.git/plain/setups/
I also tried unchecking the check box "Contact all updates sites during install to find required software" during the install, but it does not help.
Both things above do not help.
Can you provide the solution?
|
|
|
Re: Cannot Install Many Software. [message #1716759 is a reply to message #1716730] |
Mon, 07 December 2015 21:57   |
Eclipse User |
|
|
|
Hi,
I have just performed another fresh install. Of course, I removed the old Eclipse installation, first. This time, I changed from OpenJDK 7 to jre1.8.0_66 64 bit. My OS is Ubuntu Studio 14.04.
My eclipse.ini is below.
-startup
../../../.p2/pool/plugins/org.eclipse.equinox.launcher_1.3.100.v20150511-1540.jar
--launcher.library
../../../.p2/pool/plugins/org.eclipse.equinox.launcher.gtk.linux.x86_64_1.1.300.v20150602-1417
-product
org.eclipse.epp.package.cpp.product
--launcher.defaultAction
openFile
-showsplash
org.eclipse.platform
--launcher.XXMaxPermSize
256m
--launcher.defaultAction
openFile
--launcher.appendVmargs
-install
/home/erick/eclipse/cpp-mars/eclipse
-vm
/opt/java/64/jre1.8.0_66/bin
-vmargs
-Djava.util.Arrays.useLegacyMergeSort=true
-Dosgi.requiredJavaVersion=1.7
-XX:MaxPermSize=256m
-Xms256m
-Xmx1024m
-Doomph.update.url=http://download.eclipse.org/oomph/updates/milestone/latest
-Doomph.redirection.index.redirection=index:/->http://git.eclipse.org/c/oomph/org.eclipse.oomph.git/plain/setups/
However, I still could not install anything through Help menu (Install New Software and Market Place Plugins). I received the exact error messages.
|
|
|
|
Re: Cannot Install Many Software. [message #1716858 is a reply to message #1716767] |
Tue, 08 December 2015 11:14   |
Eclipse User |
|
|
|
David Wegener wrote on Tue, 08 December 2015 03:27On 12/07/2015 08:57 PM,
You need to provide the full path to the vm not just the directory that
the vm executable is in.
Try /opt/java/64/jre1.8.0_66/bin/java.
Hi,
I changed the content of my ini file to be the same as you mentioned, but it does not work yet.
-startup
../../../.p2/pool/plugins/org.eclipse.equinox.launcher_1.3.100.v20150511-1540.jar
--launcher.library
../../../.p2/pool/plugins/org.eclipse.equinox.launcher.gtk.linux.x86_64_1.1.300.v20150602-1417
-product
org.eclipse.epp.package.cpp.product
--launcher.defaultAction
openFile
-showsplash
org.eclipse.platform
--launcher.XXMaxPermSize
256m
--launcher.defaultAction
openFile
--launcher.appendVmargs
-install
/home/erick/eclipse/cpp-mars/eclipse
-vm
/opt/java/64/jre1.8.0_66/bin/java
-vmargs
-Djava.util.Arrays.useLegacyMergeSort=true
-Dosgi.requiredJavaVersion=1.7
-XX:MaxPermSize=256m
-Xms256m
-Xmx1024m
-Doomph.update.url= http://download.eclipse.org/oomph/updates/milestone/latest
-Doomph.redirection.index.redirection=index:/-> http://git.eclipse.org/c/oomph/org.eclipse.oomph.git/plain/setups/
Thank you.
[Updated on: Tue, 08 December 2015 11:15] by Moderator
|
|
|
|
Re: Cannot Install Many Software. [message #1716905 is a reply to message #1716899] |
Tue, 08 December 2015 19:29   |
Eclipse User |
|
|
|
Hi,
You gave me a great idea. I was installing Eclipse using eclipse-inst-linux64.tar.gz
Now, I have just downloaded eclipse-cpp-mars-1-linux-gtk-x86_64.tar.gz
Its MD5 value on the web is 5f0bf4989075058af670866e952be044 eclipse-cpp-mars-1-linux-gtk-x86_64.tar.gz
Mine is below. The values match, which are good.
$ md5sum "/home/erick/Downloads/eclipse-cpp-mars-1-linux-gtk-x86_64.tar.gz"
5f0bf4989075058af670866e952be044 /home/erick/Downloads/eclipse-cpp-mars-1-linux-gtk-x86_64.tar.gz
Now, by navigating to Help -> Install New Software, I was able to install "Web, XML, Java EE and OSGi Enterprise Development" successfully with no error message.
Here is another problem, however.
By navigating to Help -> Eclipse Marketplace, to install "Pkg-config support for CDT Eclipse 1.0.0", this plugin would not be installed successfully. I do not know what the error message is, but it would say "Cannot perform operation. Computing alternate solutions, " and "Cannot complete the request. See the error log for details.".
Can someone help?
|
|
|
|
Powered by
FUDForum. Page generated in 0.14508 seconds