• Post Reply Bookmark Topic Watch Topic
  • New Topic

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

 
Girdher Singh
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 3752
62
Chrome Netbeans IDE Oracle
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
What are you doing? You are supposed to be reading this tiny ad!
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!