The following document describes how to create a desktop icon for launching Spectrum.
There may be instances where a user cannot launch OneClick from the "Start OneClick" link in the OneClick web page.
1. When the user clicks on the "Start OneClick" link it does not download the oneclick.jnlp file from the OneClick server.
2. The user has multiple version of jre installed on the client work station and they need to force OneClick to start with a specific version of jre
3. Ease of use. Easier to click a desk to icon then launch a web page and click on a link.
Any version of Spectrum OneClick.
When the user clicks on the "Start OneClick" link it does not download the oneclick.jnlp file from the OneClick server.
1. Copy the $SPECROOT/tomcat/webapps/spectrum/oneclick.jnlp file to a directory on the client machine
2. Create a desktop shortcut by right mouse clicking in the Desktop area and selecting New -> Shortcut fro the menu
3. Using "C:\Program Files (x86)\Java\jre1.8.0_171" as an example of where jre is installed and "C:\Users\spectrum\Downloads" as an example of where you copied the oneclick.jnlp file to, enter the following for the shortcut:
"C:\Program Files (x86)\Java\jre1.8.0_171\bin\javaws.exe" C:\Users\spectrum\Downloads\oneclick.jnlp
NOTE: With this scenario, if OneClick is patched or upgraded and the oneclick.jnlp file is modified, you will need to copy the new oneclick.jnlp file to the local client machine.
The user has multiple version of jre installed on the client work station and they need to force OneClick to start with a specific version of jre
1. Create a desktop shortcut by right mouse clicking in the Desktop area and selecting New -> Shortcut fro the menu
2. Using "C:\Program Files (x86)\Java\jre1.8.0_171" as an example of where jre is installed and "http://#####:8080/spectrum/oneclick.jnlp" as an example of the OneClick url, enter the following for the shortcut:
"C:\Program Files (x86)\Java\jre1.8.0_171\bin\javaws.exe" http://#####:8080/spectrum/oneclick.jnlp
Ease of use. Easier to click a desk to icon then launch a web page and click on a link.
Either of the above scenarios can be used for ease of use.
Additionally, if the user has no issue with launching OneClick from the "Launch Console" link, they can simply copy the oneclick.jnlp file to the desktop. The same note applies if OneClick is patched or upgraded and the oneclick.jnlp file is updated.