This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
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


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
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: 3606
    
  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
 
Similar Threads
PLEASE HELP
Signing JNLP - Where does JNLP-INF directory go?
Reference a jar
Hot Deployment of just a jar
Launch File Error