Skip to Content

Java Mapping Runtime Error: Linkage Error

Hi,

when i try to execute my Java mappping in ESR i ll get an error msg:

LinkageError at JavaMapping.load(): Could not load class: ervMap/ChunkFakturaInfo

java.lang.UnsupportedClassVersionError: (ervMap/ChunkFakturaInfo) bad major version at offset=6

at java.lang.ClassLoader.defineClassImpl(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java:252)

...

I developed with Eclipse Indigo Release 1 and compiled the mapping with compiler level 1.5 (jdk1.5.0_15, Standard VM) and 1.6 (jre6 Standard VM).

The PI system is 7.01 (Releases NW701_06_REL), Java Runtime environment 1.6.0_29.

Does anybody know how to solve the problem?

Regards,

Udo

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Feb 04, 2012 at 12:37 PM

    Hi,

    From what I know PI 7.0 is running on Java 1.4.

    Can you try to compile it with 1.4 and redeploy ?

    Horia

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.