简体   繁体   English

旧Java项目兼容性

[英]Old Java project compatibility

I would like to ask a question about project compatibility. 我想问一个关于项目兼容性的问题。 My thesis project is developed under JRE 1.6 and JDK 1.6 on windows vista and XP. 我的论文项目是在Windows Vista和XP上的JRE 1.6和JDK 1.6下开发的。 The project use Java new socket. 该项目使用Java新套接字。 Today I try to run it on windows 8 (64bits) machine. 今天,我尝试在Windows 8(64位)计算机上运行它。 The socket does not work. 套接字不起作用。 I configure the JRE and JDK to 1.6 later. 稍后将JRE和JDK配置为1.6。 It starts to work sometimes. 有时它开始起作用。 The message can't be delivered by socket between different processes on a local machine. 无法通过套接字在本地计算机上的不同进程之间传递该消息。 I also use a different version of eclipse. 我还使用了其他版本的eclipse。 I have no clues now. 我现在不知道了。 Will the antivirus software be a factor too? 防病毒软件也会成为一个因素吗? Or related with IPv4 and IPv6? 还是与IPv4和IPv6有关?

How can I solve this problem? 我怎么解决这个问题?

This is most likely not a Java compatibility issue. 这很可能不是Java兼容性问题。 The most likely explanations are (IMO) your application using the wrong addresses, or "firewalls", or (possibly) "access control". 最可能的解释是(IMO)您的应用程序使用了错误的地址,“防火墙”或(可能是)“访问控制”。

It is also possible that you have specifically disabled IPv4 (or IPv6) on your new machine (or something) and you have coded the application to be IPv4-centric (or IPv6-centric). 也可能是您在新计算机(或其他机器)上专门禁用了IPv4(或IPv6),并且已将应用程序编码为以IPv4为中心(或以IPv6为中心)。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM