How to create desktop icon for launching Spectrum OneClick

Document ID : KB000113032
Last Modified Date : 04/09/2018
Show Technical Document Details
Introduction:
The following document describes how to create a desktop icon for launching Spectrum.
Background:
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.
Environment:
Any version of Spectrum OneClick.
Instructions:
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://OneClick: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://OneClick: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.
 
Additional Information: