Publish Application JAR File on Web Server


How to publish application JAR file on my Website?

✍: FYIcenter


If you have your application packaged in an executable JAR file, you can follow this tutorial to publish it to your Website:

1. Upload HelloJavaWs.jar to your Website at a URL like:

2. Update the JNLP file, HelloJavaWs.jnlp, with this URL:

<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (c) -->
<jnlp spec="1.0+">
      <title>Hello JavaWS</title>
      <jar href="" main="true" />
       name="Hello JavaWS Application"

3. Upload HelloJavaWs.jnlp to your Website at a URL like:

4. Create a Web page and upload load it to

<h3>HelloJavaWS Test Page</h3>
<a href=""/>Launch HelloJavaWS</a>

5. Run a Firefox and open Then click "Launch HelloJavaWS". You will get the "Application Blocked by Java Security" error again, because does not have a server certificate.

See the next tutorial on modifying security settings to run the application on a Web server.


Add Security Exception for JavaWS to Run Application

Create JNLP File for Java Application

Building Your Own JavaWS and JNLP Application

⇑⇑ FAQ for JavaWS (Java Web Start)

2017-07-15, 1500🔥, 0💬