IcedTea javaws file execution error

Asked by Gana

I have a .jnlp file that works on my windows machine, however with Ubuntu after running the below command

>> javaws {file.name}

IcedTea loads the file until an error message arises:

> class java.io.InvalidClassException
> javax.swing.event.EventListenerList; local class incompatible: stream classdesc serialVersionUID = -5677132037850737084, local
> class serialVersionUID = -7977902244297240866

I am running a java version:
- java-1.11.0-openjdk-amd64
- openjdk version "11.0.10" 2021-01-19
- OpenJDK Runtime Environment (build 11.0.10+9-Ubuntu-0ubuntu1.20.10)
- OpenJDK 64-Bit Server VM (build 11.0.10+9-Ubuntu-0ubuntu1.20.10, mixed mode, sharing)

I am not sure how I can solve that error problem.

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu icedtea-web Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
actionparsnip (andrew-woodhead666) said :
#1

Does it require Oracle Java? There are differences. Some applications need the Oracle Java solution to work

Revision history for this message
Gana (gdubs) said :
#2

Hi Andrew,
Yes, I confirmed with the windows startup process, it uses Oracle Java.
So there is a Oracle Java installation guide.
> https://ubuntu.com/tutorials/install-jre#3-installing-oracle-jre

Revision history for this message
Gana (gdubs) said :
#3

According to: https://en.m.wikipedia.org/wiki/Java_Web_Start
In March 2018, Oracle announced it will not include Java Web Start in Java SE 11 (18.9 LTS) and later. Developers will need to transition to other deployment technologies.

Can you help with this problem?

Provide an answer of your own, or ask Gana for more information if necessary.

To post a message you must log in.