← Back to team overview

openjdk team mailing list archive

Bug#668177: Fatal: Application Error: Unknown Main-Class. Could not determine the main class for this application

 

Package: icedtea-netx:i386
Version: 1.2-1
Severity: normal

javaws http://soft.bt747.org/BT747_J2SE_Latest_RXTX2.2_Install.jnlp
net.sourceforge.jnlp.LaunchException: Fatal: Initialization Error: Could not initialize application. 
        at net.sourceforge.jnlp.Launcher.createApplication(Launcher.java:778)
        at net.sourceforge.jnlp.Launcher.launchApplication(Launcher.java:552)
        at net.sourceforge.jnlp.Launcher$TgThread.run(Launcher.java:889)
Caused by: net.sourceforge.jnlp.LaunchException: Fatal: Application Error:
Unknown Main-Class. Could not determine the main class for this application.
        at net.sourceforge.jnlp.runtime.JNLPClassLoader.initializeResources(JNLPClassLoader.java:505)
        at net.sourceforge.jnlp.runtime.JNLPClassLoader.<init>(JNLPClassLoader.java:198)
        at net.sourceforge.jnlp.runtime.JNLPClassLoader.getInstance(JNLPClassLoader.java:317)
        at net.sourceforge.jnlp.Launcher.createApplication(Launcher.java:770)

The problem is that sun javaws works, and that the author of the program
wasn't able to install sid (in 5 minutes) to observe the problem. He did not see any
theoretical reason for the problem. 

Since I am not speaking java it'd be appreciated if you'd look at the
problem and either point to something for the .jnlp to be fixed (and I'll
forward it to the authot) or to fix netx.

(Effect is the same with openjdk-7)

Thanks.


-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (2000, 'unstable'), (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 3.2.0-1-686-pae (SMP w/4 CPU cores)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/bash

Versions of packages icedtea-netx:i386 depends on:
ii  icedtea-netx-common  1.2-1
ii  openjdk-6-jre        6b24-1.11.1-3