• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Devaka Cooray
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Bear Bibeault
  • Paul Clapham
  • Knute Snortum
  • Rob Spoor
Saloon Keepers:
  • Tim Moores
  • Ron McLeod
  • Piet Souris
  • Stephan van Hulst
  • Carey Brown
  • Tim Holloway
  • Frits Walraven
  • Ganesh Patekar

JavaWS Codebase does not take a relative path

Ranch Hand
Posts: 1855
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

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

[ February 06, 2008: Message edited by: Darya Akbari ]
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!