Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » Cannot Install Many Software.(Cannot Install Many Software through Help\ Install New Software...)
Cannot Install Many Software. [message #1716730] Mon, 07 December 2015 19:50 Go to next message
Erick sriro is currently offline Erick sriroFriend
Messages: 12
Registered: December 2015
Junior Member
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] Tue, 08 December 2015 02:57 Go to previous messageGo to next message
Erick sriro is currently offline Erick sriroFriend
Messages: 12
Registered: December 2015
Junior Member
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 #1716767 is a reply to message #1716759] Tue, 08 December 2015 03:27 Go to previous messageGo to next message
David Wegener is currently offline David WegenerFriend
Messages: 1445
Registered: July 2009
Senior Member
On 12/07/2015 08:57 PM, Erick Srirochanakul wrote:
> 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.
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.
Re: Cannot Install Many Software. [message #1716858 is a reply to message #1716767] Tue, 08 December 2015 16:14 Go to previous messageGo to next message
Erick sriro is currently offline Erick sriroFriend
Messages: 12
Registered: December 2015
Junior Member
David Wegener wrote on Tue, 08 December 2015 03:27
On 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 16:15]

Report message to a moderator

Re: Cannot Install Many Software. [message #1716899 is a reply to message #1716858] Tue, 08 December 2015 22:52 Go to previous messageGo to next message
Nitin Dahyabhai is currently offline Nitin DahyabhaiFriend
Messages: 4435
Registered: July 2009
Senior Member

Is it the same message? Can you verify your download's checksums against those listed on the far right on https://www.eclipse.org/downloads/packages/eclipse-ide-cc-developers/mars1 , and that the filesystem itself has no errors? I'm not sure which zip file it is referring to, but let's make sure the installation itself is OK.

_
Nitin Dahyabhai
Eclipse Web Tools Platform
Re: Cannot Install Many Software. [message #1716905 is a reply to message #1716899] Wed, 09 December 2015 00:29 Go to previous messageGo to next message
Erick sriro is currently offline Erick sriroFriend
Messages: 12
Registered: December 2015
Junior Member
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?




Re: Cannot Install Many Software. [message #1716906 is a reply to message #1716905] Wed, 09 December 2015 00:39 Go to previous message
Erick sriro is currently offline Erick sriroFriend
Messages: 12
Registered: December 2015
Junior Member
Okay, I have just noticed now that I have "//raw.githubusercontent/TuononenP/pkg-config.p2/master/site.xml" in my "Available Software Sites". I also see Pkg-config.

The installation went successful.
Previous Topic:Eclipse menu item selection illegible with color theme
Next Topic:Error Box: "Multiple Errors have occured"
Goto Forum:
  


Current Time: Thu Apr 25 12:06:22 GMT 2024

Powered by FUDForum. Page generated in 0.08408 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top