aspose file tools*
The moose likes JNLP and Web Start and the fly likes JavaWS Codebase does not take a relative path Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JNLP and Web Start
Bookmark "JavaWS Codebase does not take a relative path" Watch "JavaWS Codebase does not take a relative path" New topic
Author

JavaWS Codebase does not take a relative path

Darya Akbari
Ranch Hand

Joined: Aug 21, 2004
Posts: 1855
Hi,

please view the example below:

javaws -codebase file:.\ .\app.jnlp

The JNLP file app.jnlp starts with:

<?xml version="1.0" encoding="utf-8"?>
<jnlp spec="1.5+" codebase="file://." xhref="app.jnlp">

When I try to run above example from command line, I receive the following exception:

com.sun.deploy.net.FailedDownloadException: Resource could not be loaded: file://./blabla.jar

Any hints, why I can not set a relative path for my codebase

Regards,
Darya
[ February 06, 2008: Message edited by: Darya Akbari ]

SCJP, SCJD, SCWCD, SCBCD
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: JavaWS Codebase does not take a relative path