In my last blog I attempted to reverse engineer the notepad example and ended up with the following text:
<?xml version="1.0" encoding="utf-8"?>
<!-- JNLP File for ActiveMath -->
<title>Active Math Java Test</title>
<vendor>Softway Interactive Education</vendor>
<description>Active Math Java Test</description>
<description kind="short">ClickMeApp uses 1 custom class plus 1
which I saved as AMJ002.jnlp.
Before testing this home made code I cut and pasted the whole notepad example, saved it as notepad.jnlp in my web folder, and downnloaded the notepad.jar file into the same folder. I then copied the following from the tutorial:
and pasted it into my web page. It obviously worked because it points to the original jnlp file on the original server. I then modified the pasted link as follows.
To my amazement, the link worked, and Notepad opened, when I clicked on the link. (NB mine is a private server and it may not be turned on if and when YOU click on the link).
Then came the real test. Posting a link to my cobbled together file to run my app. Everything seemed to be fine until the moment when the app should have opened, and I got an error message saying: Unable to launch the application Active Math Java Test published by Softway Interactive Education from the server 184.108.40.206.