Eclipse CVS extssh is broken under Windows 7 + Java 7

I am using the 64-bit version of Windows 7. After installing Java 7 (part of the PS3 media server), when I previously used Java 6, my CVS Eclipse (Indigo Service Release 2, Build id: 20120216-1857) stopped working on the server, which on the VPN. I connect using the Cisco AnyConnect VPN Client version 2.5.2019. The error that I get whenever I try to connect to the repository is as follows:

Could not connect to :extssh: username@example.com :/cvsroot/username/project: CVS communication error: org.eclipse.team.internal.ccvs.ssh2.CVSSSH2ServerConnection$SSH2IOException: Permission denied: connect Permission denied: connect 

I can get around it by making Eclipse work under the Java 6 JVM . This is not a firewall problem, because I turned off the Windows firewall, and Wireshark does not display traffic outside of the DNS lookup.

Both of my JREs (Java 6 and Java 7) are 32-bit versions; their paths respectively

 C:\Program Files (x86)\Java\jre6 C:\Program Files (x86)\Java\jre7 
+4
source share
1 answer

I found an answer that is a very similar question, except that it includes SVN, not CVS. It seems that the β€œerror” is that the Cisco AnyConnect VPN does not support IPv6 correctly, which is called with the new jre7.

So, adding the following to my eclipse.ini is a fix for my situation:

 openFile -vmargs -Djava.net.preferIPv4Stack=true 
+9
source

Source: https://habr.com/ru/post/915455/


All Articles