Deploy Java JNLP file for all users
i need to deploy a java web application trough a JNLP file. It's a application for our VoIP system so I want it to be available for all users that logon on the device.
I tried deploying with javaws -Xnosplash "%LOGONSERVER%\NETLOGON\Desktops\Orbit\xcc.jnlp" it succeed, but I don't see the application.
If run run the command under an user account on the device I noticed that the application is sort of installed in the local appdata. It created the following shortcut:
"C:\Program Files (x86)\Java\jre8\bin\javaws.exe" -localfile -J-Djnlp.application.href=http://<cloudVoIPUrl>.nl/tenant/<name>/XCC/xcc.jnlp "C:\Users\<user>\AppData\LocalLow\Sun\Java\Deployment\cache\6.0\13\9c4618d-1f14a87b"
Any thoughts how I can fix this? Would be nice to have the application in programdata so all users can access this.
Comments
What's in that 9c4618d-1f14a87b directory? Just a bunch of bullshit files? Or actually things important to the application?
Well that is a file with no extension, there is also and .idx version of it. The Id seems to be random.
The content seems to an XML JNPL file
<?xml version="1.0" encoding="utf-8"?>
<!-- JNLP file for Xelion Phone System -->
<jnlp
<Lot of XML stuff>
</jnlp>
</xml>
I tried modifying the XML JNPL file and relocated the 3 files in the cache\6.0\13 to the C:\programdata\ folder. The application still starts, but still downloads the files first to the users appdata.
Not a big deal, think I am going to deploy to the c:\programdata folder and place a shortcut in the startmenu. Users can start it up, it will download it again to the users appdata and run from there on.
If anybody as a better suggestion, please share ;)