
February 18th, 2003, 06:05 AM
|
 |
Rut row Raggy!
|
|
Join Date: Jul 2001
Location: Tornado Alley
Posts: 558

Time spent in forums: 9 h 41 sec
Reputation Power: 8
|
|
Can't get jnlp file to launch program
I made a .jnlp file w/the following XML code:
Code:
<?xml version="1.0" encoding="utf-8"?>
<jnlp spec="0.2 1.0" codebase="http://www.mattsguide.com/java" href="vcr.jnlp">
<information>
<title>VCR App</title>
<vendor>FWS</vendor>
<homepage href="http://www.mattsguide.com/java"/>
<description>A VCR</description>
<offline-allowed/>
</information>
<resources>
<j2se version="1.3+" href="http://java.sun.com/products/autodl/j2se"/>
<j2se version="1.3+"/>
<jar href="vcr.jar"/>
</resources>
<application-desc main-class="vcr"/>
</jnlp>
The files in my java directory are:
index.htm
VCR.class
VCR.java
vcr.jar
vcr.jnlp
When I double-click on vcr.jnlp on my local computer, I get the following error when Java Web Start 1.2 loads:
Could not find main-class vcr in http://www.mattsguide.com/java/vcr.jar
I've searched through the Java website documentation, but I couldn't find a solution to that error. What am I doing wrong? Help! 
__________________
Matt
|