Bad java class file version for collectd java plugin
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
collectd (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Hi,
Since update to collectd 5.7.2-2ubuntu1.1 in ubuntu bionic, java plugin for collectd does not work anymore, with the following error:
Exception in thread "main" java.lang.
At the time of writing (2019/04/11), the openjdk-11* packages still install openjdk10, which support only class file versions up to 54.0.
Note this is only a build problem: I was able to rebuild the collectd* packages from source, on a fresh 18.04 box, and the problem was solved (jar files installed /usr/share/
Regards,
Pierre
Changed in collectd (Ubuntu): | |
status: | Invalid → Fix Released |
Having a quick look at the build log of collectd for '5.7.2-2ubuntu1.1'. 9-3ubuntu1~ 18.04.* '
Collectd has been build on top of openjdk-11-* found in bionic-proposed '11.0.2+
# Build Log /launchpadlibra rian.net/ 416916001/ buildlog_ ubuntu- bionic- amd64.collectd_ 5.7.2-2ubuntu1. 1_BUILDING. txt.gz ftpmaster. internal/ ubuntu bionic- proposed/ main amd64 openjdk-11-jre amd64 11.0.2+ 9-3ubuntu1~ 18.04.2 [34.4 kB] ftpmaster. internal/ ubuntu bionic- proposed/ main amd64 default-jre amd64 2:1.11- 68ubuntu1~ 18.04.1 [1076 B] ftpmaster. internal/ ubuntu bionic- proposed/ main amd64 openjdk- 11-jdk- headless amd64 11.0.2+ 9-3ubuntu1~ 18.04.2 [192 MB] ftpmaster. internal/ ubuntu bionic- proposed/ main amd64 default- jdk-headless amd64 2:1.11- 68ubuntu1~ 18.04.1 [1132 B] ftpmaster. internal/ ubuntu bionic- proposed/ main amd64 openjdk-11-jdk amd64 11.0.2+ 9-3ubuntu1~ 18.04.2 [1676 kB] ftpmaster. internal/ ubuntu bionic- proposed/ main amd64 default-jdk amd64 2:1.11- 68ubuntu1~ 18.04.1 [1092 B]
Link: https:/
.....
Get:163 http://
Get:164 http://
Get:165 http://
Get:166 http://
Get:167 http://
Get:168 http://
....
Since then a few iterations has been made most likely due to regressions:
$ rmadison openjdk-11-jdk | grep -i bionic 13-1ubuntu0. 18.04.4 | bionic-security 13-1ubuntu0. 18.04.4 | bionic-updates 9-3ubuntu1~ 18.04.3 | bionic-proposed
openjdk-11-jdk | 10.0.1+10-3ubuntu1 | bionic
openjdk-11-jdk | 10.0.2+
openjdk-11-jdk | 10.0.2+
openjdk-11-jdk | 11.0.2+
See the LP bug for the java transition: /bugs.launchpad .net/ubuntu/ +source/ saaj/+bug/ 1814133
https:/
I haven't investigate further, but I suspect it just a matter to wait for the #1814133 SRU to be completed, clear all regressions found and moving from bionic-proposed to bionic-updates.
On 'Fix Released' let's re-evaluate if collectd need a rebuild or if everything works fine.
- Eric