I have been attempting to use JWrapper for deployment of a Java application that I'm developing, but I have been unable to succeed in getting the "online" Windows installation of my application to work in coordination with either Google Drive's webhosting facilities (my first choice for file server) or DropBox (my second choice for file server). A perusal of the log generated when I execute [myApp]-windows64-online.exe suggests that the jWrapper install mechanisms are failing to access the remote installation files (both in the case of my Google Drive implementation and my DropBox implementation).
(BTW, the "offline" Windows installation for my application works perfectly.)
For purposes of more easily addressing this problem with JWrapper support folks (and whoever else might reply on this thread) I've successfully emulated the problem with the JWrapper sample application.
To enable online installation with the sample application, I added one extra element to the jWrapper sample application's build parameters:
<UpdateURL>https://googledrive.com/host/0B0skoeyva4KiU01RbmYxS3JLYmc/</UpdateURL>
This is the public URL for the folder that I have created in Google Drive to hold the contents of the "build" folder that JWrapper produces for the sample application. I then ran the JWrapper build process for the sample application using the latest version of JWrapper (jwrapper-00033253833.jar), and copied the contents of the resultant "build" folder to the above-referenced Google Drive folder.
I then opened the provided sample html for downloading the "online" version of the sample application installation:
https://googledrive.com/host/0B0skoeyva4KiU01RbmYxS3JLYmc/SampleAppEmbedExample.html
On the webpage above I clicked on the "Download SampleApp" button, which resulted in the download of SampleApp-windows64-online.exe, which I executed. I then clicked on "Run" in the resultant security warning (no certificate with the sample application), and the JWrapper splash window appeared for a couple of seconds and disappeared. The Windows Task Manager showed that all JWrapper processes had terminated.
The resultant installation log file that was generated is here: https://googledrive.com/host/0B0skoeyva4KiU01RbmYxS3JLYmc/Wrapper-2015-01-13-14-49-33-805.log
To summarize the log contents, it seems that a number of remote download attempts all fail, and the entire install process terminates with the following message:
[JREDownload] Failed to download JRE version file
I repeated the entire build and install sequence using DropBox as a file server, with similar results. The installation log file for that is here: https://dl.dropboxusercontent.com/u/2023253/jwSample/Wrapper-2015-01-13-15-24-13-778.log
These results perfectly emulate what I am experiencing with my much-larger Java application when attempting a similar "online" installation with JWrapper-generated components.
Thanks for any assistance that anyone can provide with this issue.
BTW, the instructions I followed for using Google Drive for web hosting are here:
http://googleappsdeveloper.blogspot.com/2012/11/announcing-google-drive-site-publishing.html
EDIT 2015-01-15
I noticed that the output log generated by the JWrapper online installation process seemed to show a number of failures to retrieve file lengths from the remote server ("Required file size is unknown!") prior to outputting its final message of "Failed to download JRE version file" and terminating. My further testing confirms that a Google Drive HTTP connection always returns 0 when the getContentLength method is invoked to ascertain a file's length. However, the file can still be downloaded without any problems in my testing.
I do not have access to the JWrapper source code, but might it be that the JWrapper installer is misinterpreting a file length of 0 as being synonymous with "file inaccessible"?