Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » Installation Error
Installation Error [message #1833647] Tue, 20 October 2020 10:37 Go to next message
Ilia Vic is currently offline Ilia VicFriend
Messages: 2
Registered: October 2020
Junior Member
I tried to reinstall eclipse, because I had eclipse 2020 06 previously and wanted to install the newer version eclipse 2020 09 (for java developers). The installer shows me that the installation failed with an error.

Log:
[2020-10-20 12:31:29] Executing bootstrap tasks
[2020-10-20 12:31:29] OpenJDK Runtime Environment 14.0.2+12-46
[2020-10-20 12:31:29] Product org.eclipse.products.epp.package.java.2020-09
[2020-10-20 12:31:29] Bundle org.eclipse.oomph.setup 1.18.0.v20200820-0414, build=4828, branch=33d843c1d70f55bcaaf6421eb3af77b98e9fe9c0
[2020-10-20 12:31:29] Bundle org.eclipse.oomph.setup.core 1.18.0.v20200624-1156, build=4828, branch=33d843c1d70f55bcaaf6421eb3af77b98e9fe9c0
[2020-10-20 12:31:29] Bundle org.eclipse.oomph.setup.p2 1.16.0.v20200814-1205, build=4828, branch=33d843c1d70f55bcaaf6421eb3af77b98e9fe9c0
[2020-10-20 12:31:29] Performing P2 Director (Eclipse IDE for Java Developers (2020-09))
[2020-10-20 12:31:29] Offline = false
[2020-10-20 12:31:29] Mirrors = true
[2020-10-20 12:31:29] Resolving 16 requirements from 3 repositoriesto C:\Users\iliav\java-2020-0934\eclipse
[2020-10-20 12:31:29] Requirement org.eclipse.equinox.p2.iu:epp.package.java [4.17.0,5.0.0)
[2020-10-20 12:31:29] Requirement org.eclipse.equinox.p2.iu:org.eclipse.platform.feature.group [4.17.0,5.0.0)
[2020-10-20 12:31:29] Requirement org.eclipse.equinox.p2.iu:org.eclipse.rcp.feature.group [4.17.0,5.0.0)
[2020-10-20 12:31:29] Requirement org.eclipse.equinox.p2.iu:org.eclipse.buildship.feature.group
[2020-10-20 12:31:29] Requirement org.eclipse.equinox.p2.iu:org.eclipse.eclemma.feature.feature.group
[2020-10-20 12:31:29] Requirement org.eclipse.equinox.p2.iu:org.eclipse.egit.feature.group
[2020-10-20 12:31:29] Requirement org.eclipse.equinox.p2.iu:org.eclipse.epp.mpc.feature.group
[2020-10-20 12:31:29] Requirement org.eclipse.equinox.p2.iu:org.eclipse.jdt.feature.group
[2020-10-20 12:31:29] Requirement org.eclipse.equinox.p2.iu:org.eclipse.jgit.feature.group
[2020-10-20 12:31:29] Requirement org.eclipse.equinox.p2.iu:org.eclipse.m2e.feature.feature.group
[2020-10-20 12:31:29] Requirement org.eclipse.equinox.p2.iu:org.eclipse.m2e.lemminx.feature.feature.group
[2020-10-20 12:31:29] Requirement org.eclipse.equinox.p2.iu:org.eclipse.m2e.logback.feature.feature.group
[2020-10-20 12:31:29] Requirement org.eclipse.equinox.p2.iu:org.eclipse.mylyn.wikitext.editors_feature.feature.group
[2020-10-20 12:31:29] Requirement org.eclipse.equinox.p2.iu:org.eclipse.tips.feature.feature.group
[2020-10-20 12:31:29] Requirement org.eclipse.equinox.p2.iu:org.eclipse.wildwebdeveloper.xml.feature.feature.group
[2020-10-20 12:31:29] Requirement org.eclipse.equinox.p2.iu:org.eclipse.oomph.setup.feature.group
[2020-10-20 12:31:29] Repository http://download.eclipse.org/technology/epp/packages/2020-09/202009101200
[2020-10-20 12:31:29] Repository http://download.eclipse.org/releases/2020-09/202009161000
[2020-10-20 12:31:29] Repository http://download.eclipse.org/oomph/updates/milestone/latest
[2020-10-20 12:31:29] ERROR: org.eclipse.equinox.p2.transport.ecf code=1002 Unable to read repository at http://download.eclipse.org/oomph/updates/milestone/latest/compositeContent.xml.
java.net.SocketException: Address family not supported by protocol family: connect
at java.base/sun.nio.ch.Net.connect0(Native Method)
at java.base/sun.nio.ch.Net.connect(Unknown Source)
at java.base/sun.nio.ch.Net.connect(Unknown Source)
at java.base/sun.nio.ch.NioSocketImpl.connect(Unknown Source)
at java.base/java.net.SocksSocketImpl.connect(Unknown Source)
at java.base/java.net.Socket.connect(Unknown Source)
at org.apache.http.conn.socket.PlainConnectionSocketFactory.connectSocket(PlainConnectionSocketFactory.java:75)
at org.apache.http.impl.conn.DefaultHttpClientConnectionOperator.connect(DefaultHttpClientConnectionOperator.java:142)
at org.apache.http.impl.conn.PoolingHttpClientConnectionManager.connect(PoolingHttpClientConnectionManager.java:374)
at org.apache.http.impl.execchain.MainClientExec.establishRoute(MainClientExec.java:393)
at org.apache.http.impl.execchain.MainClientExec.execute(MainClientExec.java:236)
at org.apache.http.impl.execchain.ProtocolExec.execute(ProtocolExec.java:186)
at org.apache.http.impl.execchain.RetryExec.execute(RetryExec.java:89)
at org.apache.http.impl.execchain.RedirectExec.execute(RedirectExec.java:110)
at org.apache.http.impl.client.InternalHttpClient.doExecute(InternalHttpClient.java:185)
at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:83)
at org.eclipse.ecf.provider.filetransfer.httpclient45.HttpClientFileSystemBrowser.runRequest(HttpClientFileSystemBrowser.java:248)
at org.eclipse.ecf.provider.filetransfer.browse.AbstractFileSystemBrowser$DirectoryJob.run(AbstractFileSystemBrowser.java:71)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:63)



How can I fix this issue? Any ideas ?
Would be very grateful!!
Re: Installation Error [message #1833661 is a reply to message #1833647] Tue, 20 October 2020 14:45 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 31624
Registered: July 2009
Senior Member
This is like this post:

https://www.eclipse.org/forums/index.php?t=msg&th=1104995&goto=1831643&#msg_1831643

There I asked"Is this problem consistently reproducible?" but got no answer...

A Google search of "java.net.SocketException: Address family not supported by protocol family: connect" suggests this could be caused by a firewall blocking communication, but I got no answer to that either.

If you can't get it to work, download a package from here instead:

https://www.eclipse.org/downloads/packages/


Ed Merks
Professional Support: https://www.macromodeling.com/
Re: Installation Error [message #1833662 is a reply to message #1833661] Tue, 20 October 2020 15:39 Go to previous messageGo to next message
Ilia Vic is currently offline Ilia VicFriend
Messages: 2
Registered: October 2020
Junior Member
I searched for a solution by googling "java.net.SocketException: Address family not supported by protocol family: connect" and found that you can paste "setx _JAVA_OPTIONS -Djava.net.preferIPv4Stack=true" in the cmd, but that didnt work aswell. Afterwards I tried to install it several times and it showed me the same log. If there is no solution for that issue, how exactly do I install eclipse, when I downloaded a package ?

Thank you very much!!
Re: Installation Error [message #1833663 is a reply to message #1833662] Tue, 20 October 2020 17:50 Go to previous message
Ed Merks is currently offline Ed MerksFriend
Messages: 31624
Registered: July 2009
Senior Member
Thank you for answering! Have you tried disabling your antivirus/firewall temporarily?

Another thing I would appreciate if you tried this version of the installer:

http://www.eclipse.org/downloads/download.php?file=/oomph/products/eclipse-inst-jre-win64.exe

It has a newer JRE version in it (and that JRE has an additional module to properly support https protocol), so it would be very helpful if you could try that newer version.

Failing that you can download the *.zip from here and unzip it into some folder:

https://www.eclipse.org/downloads/packages/


Ed Merks
Professional Support: https://www.macromodeling.com/
Previous Topic:Eclipse Oxygen won't start
Next Topic:hello all, i am new to this forum
Goto Forum:
  


Current Time: Sun Nov 29 15:01:34 GMT 2020

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

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

Back to the top