File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JNLP and Web Start and the fly likes UnavailableServiceException: javax.jnlp.DownloadService2 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Barcodes with iOS this week in the iOS forum
or Core Java for the Impatient in the Java 8 forum!

JavaRanch » Java Forums » Java » JNLP and Web Start
Bookmark "UnavailableServiceException: javax.jnlp.DownloadService2" Watch "UnavailableServiceException: javax.jnlp.DownloadService2" New topic
Author

UnavailableServiceException: javax.jnlp.DownloadService2

Vijay Simha
Greenhorn

Joined: Mar 11, 2011
Posts: 2
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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: UnavailableServiceException: javax.jnlp.DownloadService2