Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Get .jars that come with jnlp

 
olze oli
Ranch Hand
Posts: 149
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

i have a jnlp and it runs fine. But i want some of the .jars used by that application which comes with it (jnlp). Is it possible to get them from my cache?
I use Windows 7, jdk6

I checked some cache folders but didnt find anything with .jar
 
sourabh girdhar
Ranch Hand
Posts: 71
Java Spring Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You can get the jars very easily.
Open the JNLP file by going to Control Panel --> Java --> Temporary Internet files --> view and then right click the application and select Show JNLP.

IN that JNLP there would be attribute like "codebase" . Copy that location and then see the path and full name of required jar in remaining Jar. It may be like lib/{Jarname} or simply {Jarname} depending on implementer. You can concatenate these two strings and you cna simply do a get for that jars. It works in most of the cases unless there is specific security applied by web server and application owners.

Its would be like {codebase}/{relative path of jar with full filename}

Cheers
 
olze oli
Ranch Hand
Posts: 149
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks, but the links i get from that jnlp are not working. The server said: 404
 
sourabh girdhar
Ranch Hand
Posts: 71
Java Spring Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can you post the application link here. I can take a look then.
 
olze oli
Ranch Hand
Posts: 149
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
sure, http://www.javazoom.net/jlgui/jws/jlgui.jnlp

thanks, but i fear its somehow protected
 
sourabh girdhar
Ranch Hand
Posts: 71
Java Spring Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I think we deserve a fear here.
These are protected jars and seems like cannot be accessed by get method ..
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic