Quote:
Originally posted by Big Cheese
I just need to change one line in the code. Is that not possible?
|
A jar-file is zip-file with an added manifest file. Jar-files can be run by a Java Virtual Machine. The jar-file contains, besides the manifest, class-files, wich are compiled java-files.
You can't edit compiled java-files, so you need to get the source-files. If you haven't got those, forget it. You could decompile it, but you get some fucked up and non java-like code as far as i know.
Try opening the jar-file with winrar. If it contains java-files, you are lucky, if not, you lose. If you get the java-files and edit them, you need to compile the whole thing again using a compiler from java.sun.com.
What is it for anyway? Maybe it's easy to write again, if you don't have the original files.
Holy crap i wrote -files a lot in this post!
Hope this helps a little :)
|