So I have a jar file created by Netbeans.
I would like to deploy it as a web start application but don't know how to procede.
If it's a application project in NetBeans, you can right-click on the project and choose "Build JNLP", and then you get a war-file you can deploy in an application server.
If not, you can create your own JNLP-file:
<?xml version="1.0" encoding="utf-8"?>
<jnlp spec="1.0+" codebase="http://something.com/foobar" href="foobar.jnlp">
<information>
<title>Foo Bar</title>
<description>hello</description>
</information>
<security>
<all-permissions/>
</security>
<resources>
<j2se href="http://java.sun.com/products/autodl/j2se" version="1.6+"/>
<jar href="foobar.jar" />
</resources>
<application-desc main-class="foo.bar.MainClass" />
and deploy the JNLP and the (signed) jar-file.
了解如何部署JNLP应用程序 。
Java Web Start开发人员指南应该可以帮助您入门。
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.