Unknown Main-Class error

The public knowledge pool and discussion forum of the OWS community. Do not post confidential information here!
Tim-GDL
Posts: 1
Joined: 03 Apr 2024, 10:28

Unknown Main-Class error

Post by Tim-GDL »

Hi,
I'm using OpenWebStart v1.9.1 with Eclipse Temurin 8u372-b07
I'm trying to run a third party WebStart application which is a new requirement - so not migrating from any legacy Oracle Java setup.
I've got past the first error I encountered, which was a "Cannot grant permissions to unsigned jars", by updating the java.security of my Eclipse Temurin to allow MD5 signed jars.

Old:

Code: Select all

jdk.jar.disabledAlgorithms=MD2, MD5, RSA keySize < 1024, \
      DSA keySize < 1024, SHA1 denyAfter 2019-01-01, \
      include jdk.disabled.namedCurves
New:

Code: Select all

jdk.jar.disabledAlgorithms=MD2, RSA keySize < 1024, \
      DSA keySize < 1024, SHA1 denyAfter 2019-01-01, \
      include jdk.disabled.namedCurves
This has got me one step closer to working - my error now is
Initialization Error: Unknown Main-Class. Could not determine the main class for this application.
I have tried clearing my cache folder, but this hasn't had any effect. Can anyone suggest any further steps I can take please?
Attachments
2024-04-03_11_14_28.994-ows-stage1.log
(33.22 KiB) Downloaded 3362 times
2024-04-03_11_14_28.994-ows-stage2.log
(350.17 KiB) Downloaded 3370 times

Janak Mulani
Posts: 817
Joined: 24 Mar 2020, 13:37

Re: Unknown Main-Class error

Post by Janak Mulani »

Code: Select all

<application-desc main-class="dcsWebStart.RunWebStartScreen.class">
should be

<application-desc main-class="dcsWebStart.RunWebStartScreen">

Post Reply