xxx-ditamap-framework.jar - The classes were compiled using a newer version of the Java compiler than the one currently
Post here questions and problems related to oXygen frameworks/document types.
-
- Posts: 168
- Joined: Fri Feb 28, 2020 4:02 pm
xxx-ditamap-framework.jar - The classes were compiled using a newer version of the Java compiler than the one currently
Post by vishwavaranasi »
Hello Team ,
We have oxygen 24.0 bundled java 8
and our custom frame work jar compiled with java 8 , but when we wanted to assign Author - Actions
and trying to detect our custom actions from framework jar , this is giving
Detection errors:
C:\Program Files\Oxygen XML Editor 24\frameworks\xxx-ditamap-framework\xxx-ditamap-framework.jar - The classes were compiled using a newer version of the Java compiler than the one currently installed.
module-info has been compiled by a more recent version of the Java Runtime (class file version 53.0), this version of the Java Runtime only recognizes class file versions up to 52.0
We have oxygen 24.0 bundled java 8
and our custom frame work jar compiled with java 8 , but when we wanted to assign Author - Actions
and trying to detect our custom actions from framework jar , this is giving
Detection errors:
C:\Program Files\Oxygen XML Editor 24\frameworks\xxx-ditamap-framework\xxx-ditamap-framework.jar - The classes were compiled using a newer version of the Java compiler than the one currently installed.
module-info has been compiled by a more recent version of the Java Runtime (class file version 53.0), this version of the Java Runtime only recognizes class file versions up to 52.0
Thanks,
vishwa
vishwa
-
- Posts: 9431
- Joined: Fri Jul 09, 2004 5:18 pm
Re: xxx-ditamap-framework.jar - The classes were compiled using a newer version of the Java compiler than the one curren
Hi,
The error message is quite clear, your framework java extensions seem to have been compiled with Java 9 and newer compatibility. You need to double check they are compiled with a Java 8 compiler or with a Java 9 compiler in Java 8 compatibility.
Regards,
Radu
The error message is quite clear, your framework java extensions seem to have been compiled with Java 9 and newer compatibility. You need to double check they are compiled with a Java 8 compiler or with a Java 9 compiler in Java 8 compatibility.
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
-
- Posts: 168
- Joined: Fri Feb 28, 2020 4:02 pm
Re: xxx-ditamap-framework.jar - The classes were compiled using a newer version of the Java compiler than the one curren
Post by vishwavaranasi »
Thanks Radu , we are compiling and building our framework jar using Intellij Gradle and java version is 8 only.
but some where the gradle or Intellij is introducing the class module-info.java and only that specific class compiling with java 9.
ERROR
but some where the gradle or Intellij is introducing the class module-info.java and only that specific class compiling with java 9.
ERROR
don't know what to do , please suggest any inputs here.module-info has been compiled by a more recent version of the Java Runtime (class file version 53.0), this version of the Java Runtime only recognizes class file versions up to 52.0
Thanks,
vishwa
vishwa
-
- Posts: 9431
- Joined: Fri Jul 09, 2004 5:18 pm
Re: xxx-ditamap-framework.jar - The classes were compiled using a newer version of the Java compiler than the one curren
Hi,
I don't know exactly how you are building the JAR libraries, if you open the built JAR library using a zip utility like 7-Zip and look in the "META-INF/MANIFEST.MF" file does it say anything about the Java version it was compiled with?
If you send us via email (support@oxygenxml.com) more details like the JAR libraries, maybe also the part of the gradle script which compiles maybe we'll have more details to help further.
Regards,
Radu
I don't know exactly how you are building the JAR libraries, if you open the built JAR library using a zip utility like 7-Zip and look in the "META-INF/MANIFEST.MF" file does it say anything about the Java version it was compiled with?
If you send us via email (support@oxygenxml.com) more details like the JAR libraries, maybe also the part of the gradle script which compiles maybe we'll have more details to help further.
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
-
- Posts: 168
- Joined: Fri Feb 28, 2020 4:02 pm
Re: xxx-ditamap-framework.jar - The classes were compiled using a newer version of the Java compiler than the one curren
Post by vishwavaranasi »
Thanks Radu ,
even it is showing error some how the custom classes what we had in our jar detecting by oxygen
even it is showing error some how the custom classes what we had in our jar detecting by oxygen

Thanks,
vishwa
vishwa
-
- Posts: 9431
- Joined: Fri Jul 09, 2004 5:18 pm
Re: xxx-ditamap-framework.jar - The classes were compiled using a newer version of the Java compiler than the one curren
Hi,
Right, the code we have for detecting all custom operations in a JAR library needs to go through all the Java classes in the JAR and possibly one of those Java classes is compiled with Java 9 or newer. But the others are compiled with Java 8 so at runtime things work.
Regards,
Radu
Right, the code we have for detecting all custom operations in a JAR library needs to go through all the Java classes in the JAR and possibly one of those Java classes is compiled with Java 9 or newer. But the others are compiled with Java 8 so at runtime things work.
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
Return to “SDK-API, Frameworks - Document Types”
Jump to
- Oxygen XML Editor/Author/Developer
- ↳ Feature Request
- ↳ Common Problems
- ↳ DITA (Editing and Publishing DITA Content)
- ↳ SDK-API, Frameworks - Document Types
- ↳ DocBook
- ↳ TEI
- ↳ XHTML
- ↳ Other Issues
- Oxygen XML Web Author
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Content Fusion
- ↳ Feature Request
- ↳ Common Problems
- Oxygen JSON Editor
- ↳ Feature Request
- ↳ Common Problems
- Oxygen PDF Chemistry
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Feedback
- ↳ Feature Request
- ↳ Common Problems
- Oxygen XML WebHelp
- ↳ Feature Request
- ↳ Common Problems
- XML
- ↳ General XML Questions
- ↳ XSLT and FOP
- ↳ XML Schemas
- ↳ XQuery
- NVDL
- ↳ General NVDL Issues
- ↳ oNVDL Related Issues
- XML Services Market
- ↳ Offer a Service