New installation of JCOP Tools gives class file format error

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

New installation of JCOP Tools gives class file format error

Jump to solution
859 Views
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 Kudos
Reply
1 Solution
757 Views
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 ;-).

View solution in original post

0 Kudos
Reply
1 Reply
758 Views
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 Kudos
Reply
%3CLINGO-SUB%20id%3D%22lingo-sub-1960957%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ENew%20installation%20of%20JCOP%20Tools%20gives%20class%20file%20format%20error%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1960957%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EI%20have%20a%20new%20installation%20of%20JCOP%20Tools%20which%20gives%20%22unsupported%20class%20file%20format%20of%20version%2066.0%22%20error%20for%20a%20basic%20template%20applet.%20This%20is%20listed%20as%20a%20known%20issue%20in%20JCOP%20Tools%20Getting%20started%20app%20note%20%22If%20both%20Eclipse%20and%20Java%20are%20not%20same%20(32%20or%2064)%2C%20Following%20error%20will%20be%20displayed%20in%20problem%20view%20of%20Eclipse%20%22%20however%20everything%20is%2064-bit.%3C%2FP%3E%3CP%3EJava%20version%2022.0.1%20(24-04-16)%3CBR%20%2F%3EJDK%20version%2022%3CBR%20%2F%3EEclipse%20version%204.32.0%20(2024-06)%3CBR%20%2F%3EJCOP%20Tools%20version%206.9.0.12%3C%2FP%3E%3CP%3EAny%20suggestions%20much%20appreciated.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1988257%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ERe%3A%20New%20installation%20of%20JCOP%20Tools%20gives%20class%20file%20format%20error%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1988257%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EI%20was%20eventually%20able%20to%20resolve%20this%20issue%2C%20which%20turned%20out%20to%20be%20incorrect%20installation%20instructions.%20When%20installing%20under%20Windows%20the%20documentation%20says%20install%20Visual%20C%2B%2B%20Redistributable%202012.%20This%20is%20to%20ensure%20critical%20Windows%20libraries%20(DLLs)%20that%20the%20package%20depends%20on%20are%20present.%20One%20of%20the%20library%20dependencies%20is%20MFC100.DLL.%3C%2FP%3E%3CP%3EHowever%20Visual%20C%2B%2B%20Redistributable%202012%20actually%20installs%20MFC110.DLL%20causing%20a%20missing%20library%20dependency.%20Installing%26nbsp%3BVisual%20C%2B%2B%20Redistributable%202010%20installs%20the%20required%20MFC100.DLL%20and%20JCOP%20Tools%20then%20runs%20correctly.%20Hope%20this%20is%20useful%20to%20someone%20else%20%3B-).%3C%2FP%3E%3C%2FLINGO-BODY%3E