Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » Can't update Eclipse for EE Developers (Indigo)
Can't update Eclipse for EE Developers (Indigo) [message #730731] Thu, 29 September 2011 01:57 Go to next message
Eclipse UserFriend
Originally posted by: Jarrick Chagma

When I go to update my IDE I get a long sequence of downloads and then
several errors popup similar to this:

An internal error occurred during: "Install download1".
Comparison method violates its general contract!

And then the overall update fails.

How can I get around this problem? I am using Eclipse 3.7 on Windows 7 x64
with Java 7.

--
Regards,

Jarrick
Re: Can't update Eclipse for EE Developers (Indigo) [message #730732 is a reply to message #730731] Thu, 29 September 2011 02:26 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: Jarrick Chagma

"Jarrick Chagma" wrote in message news:j60ika$kf8$1@news.eclipse.org...

> When I go to update my IDE I get a long sequence of downloads and then
> several errors popup similar to this:
>
> An internal error occurred during: "Install download1".
> Comparison method violates its general contract!
>
> And then the overall update fails.
>
> How can I get around this problem? I am using Eclipse 3.7 on Windows 7
> x64 with Java 7.

Now, when I tried it again, I get the same pop-ups and then this message
when the overall update fails:

An error occurred while collecting items to be installed
session context was:(profile=epp.package.jee,
phase=org.eclipse.equinox.internal.p2.engine.phases.Collect, operand=,
action=).
No repository found containing:
osgi.bundle,org.eclipse.help.base,3.6.1.v201109091335
Problems downloading artifact:
osgi.bundle,org.eclipse.jdt.debug,3.7.1.v20110802_r371.
File has invalid
content:C:\Users\Qu0ll\AppData\Local\Temp\signatureFile2484399316112185277.jar
Invalid content:jdi.jar
The file "jdi.jar" in the jar
"C:\Users\Qu0ll\AppData\Local\Temp\signatureFile2484399316112185277.jar" has
been tampered!
Invalid content:jdimodel.jar
The file "jdimodel.jar" in the jar
"C:\Users\Qu0ll\AppData\Local\Temp\signatureFile2484399316112185277.jar" has
been tampered!
Retry another mirror
Problems downloading artifact:
osgi.bundle,org.eclipse.jst.ws.consumption,1.0.601.v201108230319.
File has invalid
content:C:\Users\Qu0ll\AppData\Local\Temp\signatureFile3130881922127206531.jar
Invalid content:webserviceutils.jar
The file "webserviceutils.jar" in the jar
"C:\Users\Qu0ll\AppData\Local\Temp\signatureFile3130881922127206531.jar" has
been tampered!
No repository found containing:
osgi.bundle,org.eclipse.platform,3.7.1.v201109091335

So what's all that about? Why the missing repositories? And who's
tampering with files???

--
Regards,

Jarrick
Re: Can't update Eclipse for EE Developers (Indigo) [message #731104 is a reply to message #730732] Fri, 30 September 2011 00:30 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: Jarrick Chagma

"Jarrick Chagma" wrote in message news:j60kcg$lu3$1@news.eclipse.org...

> So what's all that about? Why the missing repositories? And who's
> tampering with files???

I cleared out the temporary files and I don't get any errors about
"tampering" anymore but I still get multiple pop-up errors and this at the
end of it (when it has failed):

An error occurred while collecting items to be installed
session context was:(profile=epp.package.jee,
phase=org.eclipse.equinox.internal.p2.engine.phases.Collect, operand=,
action=).
No repository found containing:
osgi.bundle,org.eclipse.jdt.debug,3.7.1.v20110802_r371
Error closing the output stream for
osgi.bundle,org.eclipse.platform,3.7.1.v201109091335 on repository
file:/D:/Java/apps/eclipse-indigo-x64/.
Error unzipping
C:\Users\Qu0ll\AppData\Local\Temp\org.eclipse.platform_3.7.1.v2011090913355802467490411037654.jar:
Invalid zip file format

Please, can someone tell me how to get around all these errors???

--
Regards,

Jarrick
Re: Can't update Eclipse for EE Developers (Indigo) [message #731157 is a reply to message #730732] Fri, 30 September 2011 06:52 Go to previous messageGo to next message
Dani Megert is currently offline Dani MegertFriend
Messages: 3802
Registered: July 2009
Senior Member
On 29.09.2011 04:26, Jarrick Chagma wrote:
> "Jarrick Chagma" wrote in message news:j60ika$kf8$1@news.eclipse.org...
>
>> When I go to update my IDE I get a long sequence of downloads and
>> then several errors popup similar to this:
>>
>> An internal error occurred during: "Install download1".
>> Comparison method violates its general contract!
You're probably running into https://bugs.eclipse.org/317785. You have
three choices:

1) Run with JRE 6 to do the update
2) Start with -Djava.util.Arrays.useLegacyMergeSort=true
3) Don't update but download a fresh 3.7.2 package

Dani
>>
>> And then the overall update fails.
>>
>> How can I get around this problem? I am using Eclipse 3.7 on Windows
>> 7 x64 with Java 7.
>
> Now, when I tried it again, I get the same pop-ups and then this
> message when the overall update fails:
>
> An error occurred while collecting items to be installed
> session context was:(profile=epp.package.jee,
> phase=org.eclipse.equinox.internal.p2.engine.phases.Collect, operand=,
> action=).
> No repository found containing:
> osgi.bundle,org.eclipse.help.base,3.6.1.v201109091335
> Problems downloading artifact:
> osgi.bundle,org.eclipse.jdt.debug,3.7.1.v20110802_r371.
> File has invalid
> content:C:\Users\Qu0ll\AppData\Local\Temp\signatureFile2484399316112185277.jar
> Invalid content:jdi.jar
> The file "jdi.jar" in the jar
> "C:\Users\Qu0ll\AppData\Local\Temp\signatureFile2484399316112185277.jar"
> has been tampered!
> Invalid content:jdimodel.jar
> The file "jdimodel.jar" in the jar
> "C:\Users\Qu0ll\AppData\Local\Temp\signatureFile2484399316112185277.jar"
> has been tampered!
> Retry another mirror
> Problems downloading artifact:
> osgi.bundle,org.eclipse.jst.ws.consumption,1.0.601.v201108230319.
> File has invalid
> content:C:\Users\Qu0ll\AppData\Local\Temp\signatureFile3130881922127206531.jar
> Invalid content:webserviceutils.jar
> The file "webserviceutils.jar" in the jar
> "C:\Users\Qu0ll\AppData\Local\Temp\signatureFile3130881922127206531.jar"
> has been tampered!
> No repository found containing:
> osgi.bundle,org.eclipse.platform,3.7.1.v201109091335
>
> So what's all that about? Why the missing repositories? And who's
> tampering with files???
>
> --
> Regards,
>
> Jarrick
>
Re: Can't update Eclipse for EE Developers (Indigo) [message #731445 is a reply to message #731157] Sat, 01 October 2011 03:26 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: Jarrick Chagma

"Daniel Megert" wrote in message news:j63o9t$pp6$1@news.eclipse.org...

> 2) Start with -Djava.util.Arrays.useLegacyMergeSort=true

I took this option and it all now updates perfectly. Thanks very much!

--
Regards,

Jarrick
Re: Can't update Eclipse for EE Developers (Indigo) [message #735283 is a reply to message #731445] Tue, 11 October 2011 12:24 Go to previous messageGo to next message
Zen San is currently offline Zen SanFriend
Messages: 1
Registered: October 2011
Junior Member
Hi,

Thanks for the solution. Could you elaborate on
"2) Start with -Djava.util.Arrays.useLegacyMergeSort=true"
Can you let know step-by-step instruction for above line.

Thanks.
Re: Can't update Eclipse for EE Developers (Indigo) [message #735559 is a reply to message #735283] Wed, 12 October 2011 07:36 Go to previous messageGo to next message
Dani Megert is currently offline Dani MegertFriend
Messages: 3802
Registered: July 2009
Senior Member
On 11.10.2011 14:24, Zen San wrote:
> Hi,
>
> Thanks for the solution. Could you elaborate on "2) Start with
> -Djava.util.Arrays.useLegacyMergeSort=true"
> Can you let know step-by-step instruction for above line.
eclipse[.exe] -vmargs -Djava.util.Arrays.useLegacyMergeSort=true

Dani
>
> Thanks.
Re: Can't update Eclipse for EE Developers (Indigo) [message #755656 is a reply to message #730731] Wed, 09 November 2011 08:50 Go to previous messageGo to next message
Linerd00  is currently offline Linerd00 Friend
Messages: 1
Registered: November 2011
Junior Member
Hi,

Solution 2 works.
Thank you, Dani.

Regards,
Linerd
Re: Can't update Eclipse for EE Developers (Indigo) [message #997680 is a reply to message #731445] Tue, 08 January 2013 14:38 Go to previous messageGo to next message
Ørjan Flatseth is currently offline Ørjan FlatsethFriend
Messages: 1
Registered: January 2013
Location: Norway
Junior Member
Sorry. Start what where?
"2) Start with -Djava.util.Arrays.useLegacyMergeSort=true"


Don't laugh!
Re: Can't update Eclipse for EE Developers (Indigo) [message #1011997 is a reply to message #997680] Wed, 20 February 2013 16:53 Go to previous messageGo to next message
Nilesh Patil is currently offline Nilesh PatilFriend
Messages: 1
Registered: February 2013
Junior Member
You can go to eclipse.ini file. Add this line after -vmargs
-Djava.util.Arrays.useLegacyMergeSort=true
Re: Can't update Eclipse for EE Developers (Indigo) [message #1057510 is a reply to message #1011997] Wed, 08 May 2013 12:35 Go to previous messageGo to next message
Jason Anderson is currently offline Jason AndersonFriend
Messages: 3
Registered: May 2013
Junior Member
I get the same error when attempting to update. Here is my .ini file with the -Djava line added: (I have also tried jre6) Eclipse 3.7 is not an option; I need to use 3.6 for a particular plugin. Any suggestions? -Thanks!

-startup
plugins/org.eclipse.equinox.launcher_1.1.0.v20100507.jar
--launcher.library
plugins/org.eclipse.equinox.launcher.win32.win32.x86_1.1.0.v20100503
-showsplash
org.eclipse.platform
--launcher.XXMaxPermSize
256m
--launcher.defaultAction
openFile
-vmargs
-Djava.util.Arrays.useLegacyMergeSort=true
-Xms40m
-Xmx384m
Re: Can't update Eclipse for EE Developers (Indigo) [message #1058045 is a reply to message #1057510] Fri, 10 May 2013 15:26 Go to previous messageGo to next message
Nitin Dahyabhai is currently offline Nitin DahyabhaiFriend
Messages: 4430
Registered: July 2009
Senior Member

This shouldn't be a problem with "jre6"--it's specifically a change made in Java 7.

_
Nitin Dahyabhai
Eclipse Web Tools Platform
Re: Can't update Eclipse for EE Developers (Indigo) [message #1107373 is a reply to message #1058045] Thu, 12 September 2013 09:56 Go to previous messageGo to next message
Ren Bet Ya is currently offline Ren Bet YaFriend
Messages: 1
Registered: September 2013
Junior Member
I know this is a quite old post guys, but I just run into this and I was so curious about how the thing of passing parameters to the JVM when starting eclipse works....

Could anybody explain to me how basically did you figure out which argument to pass, and what that argument means?

Thanks,
best

R.
Re: Can't update Eclipse for EE Developers (Indigo) [message #1385985 is a reply to message #1107373] Thu, 12 June 2014 16:25 Go to previous messageGo to next message
Ian deSouza is currently offline Ian deSouzaFriend
Messages: 1
Registered: July 2009
Junior Member
I'm also still having this: on update software, getting the error:

An error occurred while collecting items to be installed
session context was:(profile=epp.package.jee, phase=org.eclipse.equinox.internal.p2.engine.phases.Collect, operand=, action=).
No repository found containing: osgi.bundle,org.eclipse.jdt.core,3.9.2.v_OTDT_r222_201402180730
No repository found containing: org.eclipse.update.feature,org.eclipse.objectteams.otdt.core.patch,2.2.2.201402180730

I updated my eclipse.ini file to:

-startup
plugins/org.eclipse.equinox.launcher_1.3.0.v20130327-1440.jar
--launcher.library
plugins/org.eclipse.equinox.launcher.win32.win32.x86_64_1.1.200.v20140116-2212
-product
org.eclipse.epp.package.jee.product
--launcher.defaultAction
openFile
--launcher.XXMaxPermSize
256M
-showsplash
org.eclipse.platform
--launcher.XXMaxPermSize
256m
--launcher.defaultAction
openFile
--launcher.appendVmargs
-vmargs
-Djava.util.Arrays.useLegacyMergeSort=true
-Djava.net.preferIPv4Stack=true
-Dosgi.requiredJavaVersion=1.6
-Xms40m
-Xmx512m
Re: Can't update Eclipse for EE Developers (Indigo) [message #1386236 is a reply to message #1385985] Sun, 15 June 2014 17:24 Go to previous messageGo to next message
Darrel Helms is currently offline Darrel HelmsFriend
Messages: 1
Registered: June 2014
Junior Member
I am aware that is a really old post fellas, but I just operate into this and that i was so inquisitive about how the detail of passing variables for the JVM when starting up eclipse works....
Could any person explain to me how mainly did you determine which argument to move, and what that argument indicates?
Re: Can't update Eclipse for EE Developers (Indigo) [message #1387097 is a reply to message #1386236] Tue, 24 June 2014 06:14 Go to previous messageGo to next message
Tuong Tran is currently offline Tuong TranFriend
Messages: 3
Registered: June 2014
Junior Member
Error unzipping
C:\Users\Qu0ll\AppData\Local\Temp\org.eclipse.platform_3.7.1.v2011090913355802467490411037654.jar:
Invalid zip file format

Please, can someone tell me how to get around all these errors???
Re: Can't update Eclipse for EE Developers (Indigo) [message #1387171 is a reply to message #1386236] Tue, 24 June 2014 15:24 Go to previous messageGo to next message
Nitin Dahyabhai is currently offline Nitin DahyabhaiFriend
Messages: 4430
Registered: July 2009
Senior Member

See https://bugs.eclipse.org/bugs/show_bug.cgi?id=317785 for why that argument is required with an Eclipse this old. No one should be using a version this old if they can avoid it.

In the eclipse.ini file, anything before the -vmargs line is a command line option for Eclipse, anything after is meant for the JVM executable.


_
Nitin Dahyabhai
Eclipse Web Tools Platform
Re: Can't update Eclipse for EE Developers (Indigo) [message #1716070 is a reply to message #730731] Tue, 01 December 2015 01:39 Go to previous message
Matt Cloutier is currently offline Matt CloutierFriend
Messages: 1
Registered: December 2015
Junior Member
I am getting the same error. I have a "Arrays cannot be resolved" error yet my Java Build Path does have "JRE System Library [jre1.8.0_65]" in which includes rt.jar which includes the Arrays class. And of course the java code includes "import java.util.*;" and all the other java.util classes are working. I have Indigo and added "-Djava.util.Arrays.useLegacyMergeSort=true" after -vmargs, restarted Eclipse but no luck - Arrays still will not resolve. Any suggestions would be highly appreciated.
Previous Topic:Old Eclipse Version
Next Topic:Eclipse language behaving wierdly
Goto Forum:
  


Current Time: Thu Mar 28 19:18:50 GMT 2024

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

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

Back to the top