Derik Davenport wrote:How does a user of my program, start it when he is not connected to the internet? would that depend on his OS? Most users wouldn't need to do this, but there would be some for which this would be essential
What knowledge must my web master have, in order to include the webstart link on our website?
How do I take a distribution (the .jar file and the Lib directory) and make them ready for webstart? Do I need special tools from oracle for that?
What are the server requirements? What files/programs would run on the server side? How complex is the installation.
He clicks on the shortcut which was put onto his machine when he first downloaded and installed the application.
e single hard thing was to get the webmaster to install the MIME type for JNLP files
Derik Davenport wrote: I can't distribute the JAR by itself, I will be missing the swing and JNA libraries that the application depends on (but which are not part of the JVM).
I would just skip the Netbeans part and get it done.
And why can't you package them inside the Jar? Is it due to licensing restrictions?
Derik Davenport wrote:
And why can't you package them inside the Jar? Is it due to licensing restrictions?
That sounds promising. How would I go about doing that exactly? Sorry if that sounds extremely noobish. I focused more on the details of how Java worked and less on the details of distribution until just recently.
As I understand it, a Jar file is just a zip file with some extra bits (like a manifest file). These extra bits are used to tell the JVM which class to open up to find Main (among other things). So I would probably have to make up the manifest manually. Then I would need some kind of "archival tool" to create the Java ARchive. Is that all there is to it?
Derik Davenport wrote:Moreover, unlike traditional (.zip file) distribution, it seems as if JNLP requires me to pay a Certificate Authority to authorize my applications.
You would pack everything you need inside your Jar file and load the resource as a stream
Unfortunately, this is going to the general coderanch. And that is the problem. Most of my personal friends would recognize the difference between viewing the contents of a zip file and extracting the zip file. But the general public is not so savvy. I had one guy, who swore up and down that he was an expert with windows, proceed to extract the file to its own directory. But then would resolutely re-examine the zip archive to run the program rather than going to the new directory. It was as if he expected "extraction" to occur "in place". Anyway, that was just one guy. the people in tech support have to do this every day, and they are all saints - I could never do it. But I look for ways to make their lives easier, and I figured this was a nut that I could crack pretty easily.if you're just distributing your application to people you already know and not to the general coderanch.
Don't get me started about those stupid light bulbs. |