Forum Help

World Discussion Forums  151
visitors
now

World Discussion Forums        
     Add to Favorites            Digg It Digg this stuff!              More Discussion Forums  Search Forums     Show all topics in this forum

Mobile Computing Forum
Forum topic/blog entry started by Hendricks on 8/4/2004 6:27:00 (server time).
This topic has been viewed 250420 times.

           
           

How to view and edit JAR files


Is there a way of viewing and editing .jar files using notepad or any of the common text file editors. When I try it the files contents are all garbled. If the only way is to use a .jar file editor, what is a good one to use.
Reply from/
Date
Replies
splunt

3/23/2005 4:29:34
see "How to Edit a Jar File (Java Archive)" at http://home.att.net/~cherokee67/jarfile.html

or see http://tinyurl.com/2rfwr

Saheer

9/7/2006 5:18:18
Is there any software by which I can modify mobile jar games/applications? aasaheer@yahoo.com
steve


10/7/2007 2:04:22
add me on carmaster999 at hotmail.com if u need help with mobile .jar files and shit lke that im a pro with phones :D

[Posted from : UNITED STATES]
phaedrus


1/5/2008 12:14:38
I have a string to be written on to a virtual com port.
can i use 'writefile'?


[Posted from : UNITED STATES]
ndunks


2/17/2008 1:11:10
just in Indonesian langguage.
buka file jar dengan WINRAR aja dah bisa, tapi,, buat ngeditnya gimana mas?

[Posted from : UNITED STATES]
menoro KDS


12/14/2008 8:28:09
buka file jar dg 7zip klik open archive. tinggal drag n drop file yg trdapat didalam file jar tadi. hampir semua file bs diedit mulai .class, .png, .jpg, .txt, .mid yg aku blum bisa edit file .dic, .dat, .bin kalo ada yg bisa dishare ya disini dan tool apa yg digunakan? please for jar master can u help me to find dat editor, dic editor, bin editor! thanx

[Posted from : UNITED STATES]
dooOOK


12/20/2008 5:13:42
re:  "or see http://tinyurl.com/2rfwr"

This page was the first thing that came up when I googled 'edit .jar files'.

Ahole

[Posted from : UNITED STATES]
Anonymouse


9/14/09 10:10:27 AM
I did Google it you moron and Google brought me here!
Syrinx69


12/22/09 3:33:07 AM
You can't edit .jar files because they are nothing more than .zip files with a different extension.

If you want to access the files within the .jar archive, just rename the .jar to .zip and you can unzip it with any zip program/utility.

After you are finished editing, zip the files back up and change the .zip back to .jar
Hendricks


12/27/09 4:10:41 PM
Thanks heaps Syrinx69. I'll try it soon. I'm going to try changing an apps expiration date. It might not be possible, but at least I have a chance of doing it now I know how to open the file.

Cheers.
Aj


2/26/10 7:01:08 PM
hi,

In order to modify JAR files you have to use the JAR utility that you get when you down load JDK.

Winzip or a similar program will NOT work if you want to reuse the JAR file after modifying it. Read this post for details: http://eainotes.wordpress.com/2010/02/25/tinkering-with-jar-files/

thanks,
Aj
http://eainotes.wordpress.com/
Saber


3/9/10 10:12:21 PM
The links in the above post have moved to here:
http://eai-notes.blogspot.com/2010/02/modifying-jar-files.html

thats a helpful post.
Jason


7/29/10 7:15:32 PM
Just What I did is here.....

I extracted the files sing WinRAR

than made my changes to extracted files.

Then open original JAR file with WinRAR

Used ADD button to replace the files that i changed

Thats It

(I have tested it with my nOkia and it is working for me.....

Srinivas Gowda


9/4/10 12:45:23 PM
it is not possible to add or edit .jar files using mere software and no programming knowledge, it requires java source code editors to edit modules like manifest files class files ect..
its better to learn java and then try to do all this nob hacking, besides you guys should feel ashamed to do such a immature act.

http://www.facebook.com/solancer

http://www.spikestation.co.cc

http://www.solancer.co.cc
some one Help


9/25/10 12:03:05 PM
Thx alot Jason 100%
Smartguy


10/2/10 11:18:27 PM
You fools...
u can edit jar files....
Follow this steps...!!
.
.
Take any jar files...
.
.
open with winrar...
.
.
go to Meta folder...
.
.
Here whatever files you see...
.
.
OPEN IT WITH WORDPAD or NOTEPAD...
.
.
thats it...
.
.
DONT FORGET TO SAY THANKS >...
fathurrohim


10/21/10 1:37:36 PM
perlu dicoba nih, tapi kok tiap edit file .class selalu gagal di jalankan ya aplikasinya? padahal aku udah pake HXD TXD EDITOR.
tosmartguy


10/31/10 4:23:51 PM
You fools...
u can edit jar files....
Follow this steps...!!
.
.
Take any jar files...
.
.
open with winrar...
.
.
go to Meta folder...
.
.
Here whatever files you see...
.
.
OPEN IT WITH WORDPAD or NOTEPAD...
.
.
thats it...
.
.
DONT FORGET TO SAY THANKS > Thanks Alot Smartguy it simple n work
Scott


10/31/10 4:37:14 PM
Thanks heaps for this. I'll give it a go soon. A game I wrote a few years ago needs its expiry date changed and the dev app I used no longer exists, so this is the only way I have of getting the game going again.

Cheers.  

ps. Those who have said that editing a .jar file is immature are incredibly stupid. There are plenty of reasons to need to to so.
Terry


11/6/10 1:47:23 AM
Which file holds the applications expiry date? I've looked in every file & can't find it. The files are still full of strange characters even though I unzipped them. I can see small pieces of my code in the files surrounded by messed up characters.
Scott


11/6/10 2:25:15 AM
The manifest file in the meta folder is useless. It is the only file in the META-INF folder on my win xp system (I've set the folder option to show hidden files so I am viewing all of the available files in that folder).  There is no point changing anything in that other than the language version used or the name of your application, though I don't think that is what most people are interested in altering in their jar files. It is readable and just a short list of properties. For example, here's the contents of the manifest file for my app.:

Manifest-Version: 1.0
MicroEdition-Configuration: CLDC-1.0
MIDlet-Name: BrainStrain
MIDlet-Vendor: Blah
MIDlet-1: BrainStrain,,com.mobilebasic.MkII.Midlet.Midlet
MIDlet-Version: 1.0
MicroEdition-Profile: MIDP-1.0
MIDlet-Description: BrainStrain Memory Game.


If I wanted to change the expiry date of my app without a j2me editor I wouldn't have a clue where it is. But you can forget about the manifest file. There's no point changing that.

I need to work out which file holds the expiry date, but I think it will probably be scrambled text, because half of the files I've opened in notepad after unzipping show scrambled text characters. I did use the built-in windows unzip function instead of winrar, but surely it would be the same result. Windows seemed to decompress them without any errors. Or does winrar unzip them differently than the inbuilt windows xp zip/unzip function? Surely not hey?
Jack_Smith


2/9/11 5:37:16 PM
I'm kind of new to Java. I'm trying to open the .jar file with winRAR, but all inside the Meta-INF file is just a file called "Manifest.MF". Any idea what to do next? I'm using winRAR, and Eclipse IDE.

Thanks!
mobilecrackers


2/11/11 4:06:00 PM
just extract that file and change its extenction to doc or open it with word pad u r doneif it work or not post a replay

sai


2/18/11 9:53:47 PM
thnxs..............
sai


2/18/11 9:53:49 PM
thnxs..............
remonray


3/10/11 5:14:46 PM
as a complete jar files is combination of strings all expiry date to texts are on the strings under classes classeditor is the software to work out with
Anon


3/22/11 2:20:25 PM
You can edit a jar file contents, but to do that, you should have a good/basic knowledge of java. To scott, the scrambled text you see , is nothing but the class files compiled with the java compiler, ie the JDK. To change it to human readable form, you should have to decompile them with tools like avajc or jad.exe.


This is what you can do, decompile the whole project and try to find the properties file which contain the expiry or the certificate properties and then edit it and then recompile it.
www.scsoft.tk


3/22/11 2:21:48 PM
You fools...
u can edit jar files....
Follow this steps...!!
.
.
Take any jar files...
.
.
open with winrar...
.
.
go to Meta folder...
.
.
Here whatever files you see...
.
.
OPEN IT WITH WORDPAD or NOTEPAD...
.
.
thats it...
.
.
DONT FORGET TO SAY THANKS
>>> Thanks for your help........ your r really a.........thanks
Terry


3/22/11 2:31:16 PM
^
|
|
Anon


3/22/11 3:07:49 PM
I cant understand what www.scsoft.tk means, I think when he mentions others fool, he makes himself one. The meta-inf file, just tells the program in which class is the main method present, and to load at start up. editing that wouldn't make any sense.
eniy


4/7/11 6:25:51 AM
hi all,
i don't know how to ask this, i am just a beginner, maybe my question like a fool.

i have a task that want me to capture how many "component interface" inside a JAR file and it's name.how to do :(
eniy


4/7/11 6:26:10 AM
boleh saya dapatkan email - menoro KDS
mc


4/14/11 1:38:20 PM
Thank you for the info. Just also want to share this other way of opening JAR files. See this http://openjarfile.com
jd


5/2/11 7:23:30 PM
www.scsoft.tk, thanks. it works and i have edited the sims 3 world adventures. so yeah. thank you. =]
Bikal Bhattara


5/25/11 10:40:13 PM
Can you explain me How to edit jar file of mig33 i want to know about it... plz add bikal210@yahoo.com an reply mine answer if you know. plzzzzzz
JzeroE


8/26/11 10:29:37 PM
u guys can edit jar file with phone on just use x-plore for s60 nokia and mobyexplorer for s40 series, jus click on the jar file using x-plore and choose mark all then extract it on a empty folder and voila youve decompiled it, then edit the classes just press 3 and and u see it contents (character and hex) but be careful when editing. Jzeroe@ymail.com
Free Compress, Updated Mp3 Downloads , with 3 qualities to choose from 32kbps, 48kbps, and 64kbps visit now!
http://mp3joe.wen9.com
Eli


9/22/11 4:03:00 PM
i like .jar games but i hate stupid vendor n small icons! "Real Football 2010 by drAdeLante" f*** u!! think u R the one who design the game n steal all the credits from Gameloft SA! i used this method to edit the game back to its original name and credits. it is shame to edit .jar but i'm ok with it.. u know modified it a bit.. just 4 fun. u can edit .jar files using winRAR:

edit the "MANIFEST.MF" file in the META-INF folder
1. open .jar using winRAR n go to META-INF folder
2. extract the "MANIFEST.MF" file to desktop/folder on uR PC
3. edit the extracted file using Notepad (change name, vendor, description etc.)
4. after finish, click Add button to replace the old "MANIFEST.MF" with the new edited file.

u got a really fun game.. so what? the icon are too small n look ugly on uR phone!
1. search the larger game icon on the internet
   -u can also use a nice picture of u (convert to png format)
   -the icon must be in 48px to 100px (under 5kb) in png format!
2. open .jar using winRAR n look for "icon.png" or "i.png" or whatever it is written
3. uR new icon must have the same name with the old one
4. click Add n replace the old icon (etc. replace the icon.png with uR new "icon.png")
5. u can use this method to change other image files

applicable on most 240x320 jar games. please use this for the right acts only!
klutch


1/6/12 11:49:12 PM
does anybody know how to compress a .jar file in to a smaller size?
do u think comressing images in a .jar file will help it?
i get an error report like this when im trying to install or download java apps exceeding 200kbs on my samsung gt e2230m mobile phone..  
'java error. content too large'
does anybody know to fix that problem?
(i want to install ebuddy on my phone but its just about 278kbs :( )
please help!
Hamza


3/6/12 8:31:57 AM
I just thought I'd bring this up . . so that dudes wount just come in here . . ,  and tell u to dwnload an app tha browse 4 free when u can actually modify urs to suit yourself . . . An example is the opera nigeria. . .
To download the .jar file editor, http://www.spadixbd.com/clikview/clikview.exe . .
I was able to edit my operamini to suit myself. . . and i hope to edit other  applications too. ,  .  so as for now  ,   i'll have to start from what i know. . .  after dwnloadin the app above ,   launch it on ur pc, after launchin' it . .  look for class a  click on it and u'll see some encoded no's with the decrypted words at the side
After thatlook for the application server address . . .
Once u've highlighted  the server add ,   click on edit or right click and click cut. . then open notepad type ur new server address and click on the spot where u cut  . . right click or click edit and click paste . ,  then u can save the file . .

That's all i've got  . .  for now. . i hope ya'll bring up more soon . .
Admin ,   has cancelled upload of .jar files ,   so i guess i cant upload my file. . .
Anon


3/9/12 1:55:53 PM
Thanks tosmartguy
andrie


5/8/12 8:07:05 PM
edit .jar with symbian phone and to edit content jar like .class with java class editor! Hehe. . . ^_^
amin


7/10/12 7:19:58 AM
Hello, You can edit jar files by WinRar. Right click on file and choose Open with Winrar. Then you can edit Manifest file by Notepad, also edit image files with Paint. But you can't edit more than this! Main features of the application is saved at class files, editing them causes the application to be useless.
Do you know any PC software to change already-crated jar application?
subxqzsb


12/23/12 1:05:09 AM
t8qcezpg

evt8kl1f

f39s020t9d

n431vyzx

cpg531e2
View printable version of this topicPrint     How to set up a webpage for WAP downloads Can the DRM info in a .jar file be changed    Topic 5 of 17

VigLink banner ad

Show Smiley's

Instant Chat

 Post a reply                 You have full membership for these forums
Name    [nickname if you like or Anon if you want to be completely anonymous]

 Your reply here...    [Please stay on topic. Previously spammed affiliate links may have referrer removed.]


Your Avatar: (optional)
   

[Avatar must be available on the web. Enter its URL above then click 'Get It'. Maximum
image size is 150x150 pixels. Your Facebook pic can be used with this method. You can get
your Facebook avatar URL by opening Facebook, right-clicking your pic and selecting 'Properties'.
Your pics URL/address will be shown. Copy it, then paste it here and click 'Get It'.]


Email me when new replies are posted to this topic
(Optional. Not displayed.)




 
Disclaimer        Rules