Click here to Skip to main content
12,952,277 members (43,497 online)
Rate this:
 
Please Sign up or sign in to vote.
See more:
Posted 8-Jan-13 3:42am
Updated 8-Jan-13 5:09am
v2
Comments
Sandeep Mewara 8-Jan-13 9:55am
   
modify to what?
This is not a well framed question! We cannot work out what you are trying to do/ask from the post. Please elaborate and be specific.
Use the "Improve question" link to edit your question and provide better information.
ravi1989h 8-Jan-13 9:56am
   
sorry sir,..
ravi1989h 8-Jan-13 10:00am
   
i will explain my question elaborately , i have one jar file name(cordova).i want to insert bar code scanner plugin (mean some java file). i want to modified that cordova.jar file but i am not able to do that ..i read from this link but not succeed
https://www.google.co.in/url?sa=t&rct=j&q=&esrc=s&source=web&cd=2&cad=rja&ved=0CCUQFjAB&url=https://github.com/phonegap/phonegap-plugins/tree/master/BlackBerry/BarcodeScanner&ei=lizsUKq7D8GNrgfgwoHwAQ&usg=AFQjCNFLeQoe5UK0nlJ4lpkSffyg9yP65g&sig2=Fg3kemwtQPtNY2j-XCtwCw&bvm=bv.1357316858,d.bmk
Rate this: bad
 
good
Please Sign up or sign in to vote.

Solution 1

Like it says on the link, you need to open the jar with your favorite archiver or the jar command. The first is simple, just install 7-zip or some other archive tool to modify it. A jar file is actually just a zip file with a different extension.

Good luck!
  Permalink  
Rate this: bad
 
good
Please Sign up or sign in to vote.

Solution 2

Why have you reposted this question? We have already explained how to modify a JAR file in your original question[^]. If you do not understand how to use the jar command to modify an archive then I suggest you read the documentation[^].
  Permalink  

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

    Print Answers RSS
Top Experts
Last 24hrsThis month
OriginalGriff 6,239
CHill60 3,490
Maciej Los 3,083
Jochen Arndt 1,975
ppolymorphe 1,880


Advertise | Privacy | Mobile
Web02 | 2.8.170525.1 | Last Updated 8 Jan 2013
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100