issue compiling actions java 8
Posted: Fri Jan 12, 2024 4:17 pm
Hi,
I have a very strange issue I cannot figure out:
I am developing oxygen actions in java and include these actions via classpath for oxygen 23. The actions are compiled on archlinux using java 1.8 (https://archlinux.org/packages/extra/x8 ... 8-openjdk/). I also specifically specify 1.8. in the pom file. This used to work until a couple of days ago, i received this error (relevant part in english) when trying to add these actions from the framework action panel:
As I couldn't figure out the problem, I reinstalled eclipse on a new virtual machine where I only have the newest java version as well as java8 installed and switched default to java8. I was able to recompile the actions yesterday, which solved the error. I also added some other actions and included them in the framework.
Today, for no apparent reason, I again received the error. There is no way the jar file cloud have been cimpiled with java 9 (I think that is 53.0?), as it is not installed, and I did not change anything in eclipse. It is also very weird that the actions work in oxygen; I just can't add them in the framework action panel.
Any ideas? Many thanks
I have a very strange issue I cannot figure out:
I am developing oxygen actions in java and include these actions via classpath for oxygen 23. The actions are compiled on archlinux using java 1.8 (https://archlinux.org/packages/extra/x8 ... 8-openjdk/). I also specifically specify 1.8. in the pom file. This used to work until a couple of days ago, i received this error (relevant part in english) when trying to add these actions from the framework action panel:
Code: Select all
...framework\jar\bdts-actions.jar - Die Klassen wurden mittels einer neueren Version des JAVA-Compilers kompiliert, als die aktuell installierte.
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
Today, for no apparent reason, I again received the error. There is no way the jar file cloud have been cimpiled with java 9 (I think that is 53.0?), as it is not installed, and I did not change anything in eclipse. It is also very weird that the actions work in oxygen; I just can't add them in the framework action panel.
Any ideas? Many thanks