FS#67630 - [mediathekview] java.lang.UnsupportedClassVersionError when starting mediathekview

Attached to Project: Community Packages
Opened by Simon Schuster (noctux) - Tuesday, 18 August 2020, 17:19 GMT
Last edited by David Runge (dvzrv) - Wednesday, 19 August 2020, 07:09 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To David Runge (dvzrv)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Description:
The latest package-release (13.6.0-1) does not start for me:

```
$ mediathekview
Error: LinkageError occurred while loading main class mediathek.Main
java.lang.UnsupportedClassVersionError: Preview features are not enabled for mediathek/Main (class file version 58.65535). Try running with '--enable-preview'
```

As it seems, the wrapper-script just needs to pass the `--enable-preview` parameter to java; this fixes the startup for me:

```
java --enable-preview -jar /usr/share/java/mediathekview/MediathekView.jar
```


Additional info:
* package version: mediathekview 13.6.0-1

Steps to reproduce:
Execute `/usr/bin/mediathekview`

Thank you for packaging mediathekview and reading this bugreport :)
Please ping me if you need more information.

Thanks,
Simon
This task depends upon

Closed by  David Runge (dvzrv)
Wednesday, 19 August 2020, 07:09 GMT
Reason for closing:  Fixed
Additional comments about closing:  Fixed in mediathekview 13.6.0-2
Comment by David Runge (dvzrv) - Wednesday, 19 August 2020, 07:08 GMT
@noctux: Thanks for the report.

I have opened an upstream ticket to track this change and fixed it in a pkgrel bump.

Loading...