Hi Britta,
U:\>where java
C:\Program Files\Eclipse Adoptium\jre-8.0.312.7-hotspot\bin\java.exe
U:\>where javaws
C:\Program Files\IcedTeaWeb\WebStart\bin\javaws.exe
I don't seem to be able to get rid of that second entry in the path.
Here are the results running javaws from the command prompt:
U:\>javaws
U:\>selected jre: C:\Program Files\Eclipse Adoptium\jre-8.0.312.7-hotspot\
SYNOPSIS
javaws [-run-options] jnlp file
javaws [-control-options]
OPTIONS
When specifying options, the name of the jnlp file can be after the command, the -jnlp option, an option with no arguments, or after an argument with an option that takes one argument. A html file that launches a jnlp can be specified after the -html option.
The jnlp-file can either be a url or a local path.
The JNLP file should only be specified once, whether as a main argument, after -jnlp or through an html file.
Control options:
-about - Shows a sample application.(No argument expected)
-help - Prints out information about supported command and basic usage.(No argument expected)
-license - Display the GPL license and exit.(No argument expected)
-viewer - Shows the trusted certificate viewer.(No argument expected)
-Xcacheids - List available IDs in cache, which you can use to delete individual applications.(Expected none or one argument)
-Xclearcache - Clean the JNLP application cache. If you pass argument, only specified application is deleted.(Expected none or one argument)
Run options:
-allowredirect - Follows HTTP redirects.(No argument expected)
-arg arg - Adds an application argument before launching.(Expected one or more arguments)
-browser - Launch embeded browser. Use in great need only!(Expected one or more arguments)
-headless - Disables download window, other UIs.(No argument expected)
-html - Location of HTML file to launch (url or file). You can use parameter ALL or numbers (like 1 2 5) to select applets on page. However experimental, this switch should keep you still in safety.(Expected one or more arguments)
-jnlp - Location of JNLP file to launch (url or file).(Exactly one argument expected)
-nosecurity - Disables the secure runtime environment. You need also deployment.security.itw.ignorecertissues to workaround corrupted signatures(No argument expected)
-noupdate - Disables checking for updates.(No argument expected)
-param name=value - Adds an applet parameter before launching.(Expected one or more arguments)
-property name=value - Sets a system property before launching.(Expected one or more arguments)
-startuptracker - Enable startup time tracker(No argument expected)
-strict - Enables strict checking of JNLP file format.(No argument expected)
-update seconds - Check for updates.(Exactly one argument expected)
-verbose - Enable verbose output.(No argument expected)
-version - Print the IcedTea-Web version and exit.(No argument expected)
-Xignoreheaders - Skip jar header verification.(No argument expected)
-xml - Uses a strict XML parser to parse the JNLP file.(No argument expected)
-Xnofork - Do not create another JVM.(No argument expected)
-Xoffline - Prevent ITW network connection. Only cache will be used. Application can still connect.(No argument expected)
-Xtrustnone - Instead of asking user, will foretold all answers as no.(No argument expected)
Tony
------------------------------
Senior Computer Operator
SUNY AB
New York
------------------------------
Original Message:
Sent: Jan 18, 2023 03:47 AM
From: Britta Hoffner
Subject: Unable to launch One Click after patching
Hi Tony,
when you launch the oneclick.jnlp file there are 4 processes created:

From a command prompt can you please run
where java
where javaws
to verify from which location those binaries are getting started. I see you have an additional java location configured in your PATH

When you say you have removed all Java Packages before installing the 8.0.312.7 this entry shouldn´t be needed anymore.
Can you run javaws from a command prompt and what is the result ?
Kind regards,
Britta
Original Message:
Sent: Jan 17, 2023 06:51 AM
From: Anthony Recchio
Subject: Unable to launch One Click after patching
Hi Britta
U:\>echo %JAVA_HOME%
C:\Program Files\Eclipse Adoptium\jre-8.0.312.7-hotspot\
PATH=C:\Program Files\Eclipse Adoptium\jre-8.0.312.7-hotspot\bin;C:\ProgramData\Oracle\Java\javapath;
I do not use an internet proxy.
Thanks,
Tony
------------------------------
Senior Computer Operator
SUNY AB
New York
Original Message:
Sent: Jan 17, 2023 03:03 AM
From: Britta Hoffner
Subject: Unable to launch One Click after patching
Hi Tony, can you please check your JAVA_HOME and PATH settings ? Do you use an internet proxy from the client where you try to start the oneclick.jnlp and the OC ?
Kind regards,
Britta
Original Message:
Sent: Jan 11, 2023 11:57 AM
From: Anthony Recchio
Subject: Unable to launch One Click after patching
Hi,
Our installation of Spectrum was just patched to vs.21.2.10.0.48. Since then, when trying to launch the One Click console, I get the following error from IcedTea:
net.sourceforge.jnlp.LaunchException: Fatal: Initialization Error: Could not initialize application. The application has not been initialized, for more information execute javaws from the command line.
at net.sourceforge.jnlp.Launcher.createApplication(Launcher.java:823)
at net.sourceforge.jnlp.Launcher.launchApplication(Launcher.java:531)
at net.sourceforge.jnlp.Launcher$TgThread.run(Launcher.java:946)
Caused by: net.sourceforge.jnlp.LaunchException: Fatal: Initialization Error: Unknown Main-Class. Could not determine the main class for this application.
at net.sourceforge.jnlp.runtime.JNLPClassLoader.initializeResources(JNLPClassLoader.java:775)
at net.sourceforge.jnlp.runtime.JNLPClassLoader.<init>(JNLPClassLoader.java:337)
at net.sourceforge.jnlp.runtime.JNLPClassLoader.createInstance(JNLPClassLoader.java:420)
at net.sourceforge.jnlp.runtime.JNLPClassLoader.getInstance(JNLPClassLoader.java:494)
at net.sourceforge.jnlp.runtime.JNLPClassLoader.getInstance(JNLPClassLoader.java:467)
at net.sourceforge.jnlp.Launcher.createApplication(Launcher.java:815)
Other team members with the same and different JRE configurations are able to launch the app without issue. Assume I've tried all of the 1st line troubleshooting steps. I have ticket logged with my local tech support but, was hoping someone out here might have some suggestions.
Thanks in advance.
Tony Recchio
------------------------------
Senior Computer Operator
SUNY AB
New York
------------------------------