Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[cross-project-issues-dev] JarProcessor and Java versions

Hi,
I'm wondering if there are some options that can be passed to the Eclipse jarProcessor that will restrict the pack200 to a certain target level. My objective is to restrict builds to a certain target level (Java 1.5) regardless of what JVM that is used for the build. The build uses the ant task 'eclipse.jarProcessor'

At present, a machine running Java 1.5 will fail with the following on the top of the stack:

Stack Trace:
java.io.IOException: Corrupted pack file: magic/ver = CAFED00D/160.1 should be CAFED00D/150.7

at com.sun.java.util.jar.pack.NativeUnpack.start(Native Method)
at com.sun.java.util.jar.pack.NativeUnpack.run(Unknown Source)
at com.sun.java.util.jar.pack.NativeUnpack.run(Unknown Source)
at com.sun.java.util.jar.pack.UnpackerImpl.unpack(Unknown Source)


Back to the top