DynamicTreeDemo.jar - JavaWS and JNLP Demo


How to run the JavaWS and JNLP demo, DynamicTreeDemo.jar?

✍: FYIcenter


DynamicTreeDemo.jar is an application provided by Oracle to demonstrate how to use JavaWS and JNLP. Here are steps on how to run the DynamicTreeDemo.jar with JavaWS command.

1. Copy and save the following JNLP file, dynamictree.jnlp, to \fyicenter folder:

<?xml version="1.0" encoding="utf-8"?>
 * Copyright (c) 2009, Oracle and/or its affiliates. All rights reserved.

<jnlp spec="1.0+" 
      <title>Dynamic Tree Demo</title>
      <vendor>Dynamic Team</vendor>
      <j2se version="1.7+"
      <jar href="/DynamicTreeDemo.jar" main="true" />
       name="Dynamic Tree Demo Application"
   <update check="background"/>

Run JavaWS command in a command window:

fyicenter> javaws dynamictree.jnlp

JavaWS will download the DynamicTreeDemo.jar file given in the JNLP file, dynamictree.jnlp, and launch it.

When DynamicTreeDemo.jar is running, you see a new window the demo application showing a tree of nodes:
JavaWS and JNLP Demo Application: DynamicTreeDemo.jar


Run JavaWS with JNLP File in Verbose Mode

What Is JavaWS Command Line Tool

Introduction of JavaWS and JNLP

⇑⇑ FAQ for JavaWS (Java Web Start)

2022-10-31, 2351🔥, 2💬