New installation of JCOP Tools gives class file format error

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

New installation of JCOP Tools gives class file format error

跳至解决方案
841 次查看
markpotts123
Contributor II

I have a new installation of JCOP Tools which gives "unsupported class file format of version 66.0" error for a basic template applet. This is listed as a known issue in JCOP Tools Getting started app note "If both Eclipse and Java are not same (32 or 64), Following error will be displayed in problem view of Eclipse " however everything is 64-bit.

Java version 22.0.1 (24-04-16)
JDK version 22
Eclipse version 4.32.0 (2024-06)
JCOP Tools version 6.9.0.12

Any suggestions much appreciated.

0 项奖励
回复
1 解答
739 次查看
markpotts123
Contributor II

I was eventually able to resolve this issue, which turned out to be incorrect installation instructions. When installing under Windows the documentation says install Visual C++ Redistributable 2012. This is to ensure critical Windows libraries (DLLs) that the package depends on are present. One of the library dependencies is MFC100.DLL.

However Visual C++ Redistributable 2012 actually installs MFC110.DLL causing a missing library dependency. Installing Visual C++ Redistributable 2010 installs the required MFC100.DLL and JCOP Tools then runs correctly. Hope this is useful to someone else ;-).

在原帖中查看解决方案

0 项奖励
回复
1 回复
740 次查看
markpotts123
Contributor II

I was eventually able to resolve this issue, which turned out to be incorrect installation instructions. When installing under Windows the documentation says install Visual C++ Redistributable 2012. This is to ensure critical Windows libraries (DLLs) that the package depends on are present. One of the library dependencies is MFC100.DLL.

However Visual C++ Redistributable 2012 actually installs MFC110.DLL causing a missing library dependency. Installing Visual C++ Redistributable 2010 installs the required MFC100.DLL and JCOP Tools then runs correctly. Hope this is useful to someone else ;-).

0 项奖励
回复
%3CLINGO-SUB%20id%3D%22lingo-sub-1960957%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%E6%96%B0%E5%AE%89%E8%A3%85%E7%9A%84%20JCOP%20Tools%20%E5%87%BA%E7%8E%B0%E7%B1%BB%E6%96%87%E4%BB%B6%E6%A0%BC%E5%BC%8F%E9%94%99%E8%AF%AF%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1960957%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3E%E6%88%91%E6%96%B0%E5%AE%89%E8%A3%85%E4%BA%86%20JCOP%20Tools%EF%BC%8C%E5%AE%83%E4%B8%BA%E5%9F%BA%E6%9C%AC%E6%A8%A1%E6%9D%BF%E5%B0%8F%E7%A8%8B%E5%BA%8F%E6%8F%90%E4%BE%9B%E4%BA%86%E2%80%9C%E4%B8%8D%E6%94%AF%E6%8C%81%E7%89%88%E6%9C%AC%2066.0%20%E7%9A%84%E7%B1%BB%E6%96%87%E4%BB%B6%E6%A0%BC%E5%BC%8F%E2%80%9D%E9%94%99%E8%AF%AF%E3%80%82%E8%BF%99%E5%9C%A8%20JCOP%20Tools%20%E5%85%A5%E9%97%A8%E5%BA%94%E7%94%A8%E7%A8%8B%E5%BA%8F%E8%AF%B4%E6%98%8E%E4%B8%AD%E8%A2%AB%E5%88%97%E4%B8%BA%E5%B7%B2%E7%9F%A5%E9%97%AE%E9%A2%98%E2%80%9C%E5%A6%82%E6%9E%9C%20Eclipse%20%E5%92%8C%20Java%20%E4%B8%8D%E4%B8%80%E6%A0%B7%EF%BC%8832%20%E6%88%96%2064%EF%BC%89%EF%BC%8C%E5%88%99%20Eclipse%20%E7%9A%84%E9%97%AE%E9%A2%98%E8%A7%86%E5%9B%BE%E4%B8%AD%E5%B0%86%E6%98%BE%E7%A4%BA%E4%BB%A5%E4%B8%8B%E9%94%99%E8%AF%AF%E2%80%9D%EF%BC%8C%E4%BD%86%E4%B8%80%E5%88%87%E9%83%BD%E6%98%AF%2064%20%E4%BD%8D%E7%9A%84%E3%80%82%3C%2FP%3E%3CP%3EJava%20%E7%89%88%E6%9C%AC%2022.0.1%EF%BC%882016-04-24%EF%BC%89%3CBR%20%2F%3E%20JDK%20%E7%89%88%E6%9C%AC%2022%3CBR%20%2F%3E%20Eclipse%20%E7%89%88%E6%9C%AC%204.32.0%20(2024-06)%3CBR%20%2F%3E%20JCOP%20%E5%B7%A5%E5%85%B7%E7%89%88%E6%9C%AC%206.9.0.12%3C%2FP%3E%3CP%3E%E9%9D%9E%E5%B8%B8%E6%84%9F%E8%B0%A2%E4%BB%BB%E4%BD%95%E5%BB%BA%E8%AE%AE%E3%80%82%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1988257%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%E5%9B%9E%E5%A4%8D%EF%BC%9A%E6%96%B0%E5%AE%89%E8%A3%85%E7%9A%84%20JCOP%20Tools%20%E5%87%BA%E7%8E%B0%E7%B1%BB%E6%96%87%E4%BB%B6%E6%A0%BC%E5%BC%8F%E9%94%99%E8%AF%AF%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1988257%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3E%E6%88%91%E6%9C%80%E7%BB%88%E8%A7%A3%E5%86%B3%E4%BA%86%E8%BF%99%E4%B8%AA%E9%97%AE%E9%A2%98%EF%BC%8C%E7%BB%93%E6%9E%9C%E5%8F%91%E7%8E%B0%E6%98%AF%E5%AE%89%E8%A3%85%E8%AF%B4%E6%98%8E%E4%B8%8D%E6%AD%A3%E7%A1%AE%E3%80%82%E5%9C%A8%20Windows%20%E4%B8%8B%E5%AE%89%E8%A3%85%E6%97%B6%EF%BC%8C%E6%96%87%E6%A1%A3%E8%AF%B4%E5%AE%89%E8%A3%85%20Visual%20C%2B%2B%20Redistributable%202012%E3%80%82%E8%BF%99%E6%98%AF%E4%B8%BA%E4%BA%86%E7%A1%AE%E4%BF%9D%E5%8C%85%E6%89%80%E4%BE%9D%E8%B5%96%E7%9A%84%E5%85%B3%E9%94%AE%20Windows%20%E5%BA%93%20(DLL)%20%E5%AD%98%E5%9C%A8%E3%80%82%E5%85%B6%E4%B8%AD%E4%B8%80%E4%B8%AA%E5%BA%93%E4%BE%9D%E8%B5%96%E9%A1%B9%E6%98%AF%20MFC100.DLL%E3%80%82%3C%2FP%3E%3CP%3E%E7%84%B6%E8%80%8C%20Visual%20C%2B%2B%20Redistributable%202012%20%E5%AE%9E%E9%99%85%E4%B8%8A%E5%AE%89%E8%A3%85%E4%BA%86%20MFC110.DLL%EF%BC%8C%E5%AF%BC%E8%87%B4%E7%BC%BA%E5%B0%91%E5%BA%93%E4%BE%9D%E8%B5%96%E9%A1%B9%E3%80%82%E5%AE%89%E8%A3%85%20Visual%20C%2B%2B%20Redistributable%202010%20%E4%BC%9A%E5%AE%89%E8%A3%85%E6%89%80%E9%9C%80%E7%9A%84%20MFC100.DLL%20%E5%92%8C%20JCOP%20%E5%B7%A5%E5%85%B7%EF%BC%8C%E7%84%B6%E5%90%8E%E6%AD%A3%E7%A1%AE%E8%BF%90%E8%A1%8C%E3%80%82%E5%B8%8C%E6%9C%9B%E8%BF%99%E5%AF%B9%E5%85%B6%E4%BB%96%E4%BA%BA%E6%9C%89%E7%94%A8%3B-)%E3%80%82%3C%2FP%3E%3C%2FLINGO-BODY%3E