Friday, September 13, 2002 11:24 AM
I just ran into the same issue and found a solution on the web
Your Java file is being compiled with a version that preverify doesn't understand.
You need to compile your file with a 1.1 version of the javac compiler.
You can do this using your 1.4 SDK and the -target flag, like this:
javac -target 1.1 HelloWorld.java
Then rerun the preverify against the new HelloWorld class file.
Of course your Java file must be compilable using Java as it was back at 1.1.
So for instance you can't use SWING classes which were introduced in Java 1.2
Hope that helps.