|
|
(2 intermediate revisions by the same user not shown) |
Line 1: |
Line 1: |
− | The introduction of [http://java.sun.com/javase/technologies/desktop/javawebstart/index.jsp Java Web Start] has made deployment of Java applications a lot better. Now that a user can run a full application relatively easily from the web, there remains the issue of making sure that the user has installed a Java runtime environment. White this is [http://java.sun.com/javase/6/docs/technotes/guides/javaws/developersguide/launch.html covered] by Sun, it is not yet a fully integrated smooth procedure for the end-user. Differences in browsers complicate the issue.
| + | DELETED |
− | | |
− | This page is an attempt to describe the behaviour of various major web browsers, so that a Java Web Start launcher infrastructure consisting of HTML and Javascript can be written that makes the user experience as smooth as possible.
| |
− | | |
− | == Web Browsers ==
| |
− | | |
− | === Windows / Internet Explorer ===
| |
− | Described in the [http://java.sun.com/javase/6/docs/technotes/guides/javaws/developersguide/launch.html#creating Java developers guide]. Uses an <tt>object</tt> tag that optionally compares the currently installed Java version to a supplied value, and runs an installer when needed. When the right Java version is installed, the object runs the JNLP file.
| |
− | | |
− | === Windows / Mozilla ===
| |
− | Mozilla and derivatives (most notably Firefox) has an auto-install method. Sun provides an xpinstall package for Windows on its [http://java.sun.com/javase/6/docs/technotes/guides/deployment/deployment-guide/autodl-files.html autodl page]. Its use may be derived from [https://developer.mozilla.org/ko/Using_XPInstall_to_Install_Plugins Mozilla's XPInstall plugin page] for plugin developers: one needs to specify a <tt>type</tt> and <tt>codebase</tt> on an <tt>object</tt> tag. Details can best be learned from existing pages, like
| |
− | | |
− | === Opera ===
| |
− | Opera doesn't use the standard Java plugin but directly access the java library itself. This results in the issue that Java's mimetypes are not registered. Also Opera doesn't know about JNLP files by default and tries to open them as ordinary XML files, which may or may not work for users. Opera [http://www.opera.com/support/kb/view/470/ mentions in their knowledgebase] that users should manually create a mimetype entry in Opera's preferences.
| |