Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

UnavailableServiceException: javax.jnlp.DownloadService2

 
Vijay Simha
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
When I run JNLP file it downloads the jar and throws above exception:

DownloadService2 ds;
try {
ds = (DownloadService2)ServiceManager.lookup("javax.jnlp.DownloadService2");
} catch (UnavailableServiceException ue) {
ds = null;
ue.printStackTrace();
}

In eclipse it gets compiled properly.
Please help,
Thanks
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic