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 Multiple references of a same jar file in a SIngle JNLP file 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 "Multiple references of a same jar file in a SIngle JNLP file" Watch "Multiple references of a same jar file in a SIngle JNLP file" New topic
Author

Multiple references of a same jar file in a SIngle JNLP file

Girdher Singh
Greenhorn

Joined: Feb 12, 2012
Posts: 12
I was going through the JNLP file,I found that single jar file is referenced twice in the same JNLP file. Actually ,I am creating a folder structure where I will put jar corresponding to there position in the respective JNLP files in the server. My aim is to create a single executable jar from this folder.

I am waiting for the suggestion..
Martin Vajsar
Sheriff

Joined: Aug 22, 2010
Posts: 3610
    
  60

If you want to run the application outside JNLP, you just need to put all the needed jar files onto the classpath. It shouldn't matter that some files were referenced multiple times in the JNLP, though I don't know why should it be so.

Also, you don't need to bundle them together into one jar. As mentioned in the other thread, there are installer that can pack all the necessary files into one installation package.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Multiple references of a same jar file in a SIngle JNLP file