GoFuckYourself.com - Adult Webmaster Forum

GoFuckYourself.com - Adult Webmaster Forum (https://gfy.com/index.php)
-   Fucking Around & Business Discussion (https://gfy.com/forumdisplay.php?f=26)
-   -   Anyone know how to edit a .JAR file? (https://gfy.com/showthread.php?t=360656)

Big Cheese 09-22-2004 11:56 PM

Anyone know how to edit a .JAR file?
 
I tried using JBuilder but it wouldn't work. Anyone know how to do this?

The Truth Hurts 09-23-2004 12:00 AM

http://users3.ev1.net/~rfet/swchpics/jarjar.jpg


maybe he knows.

colpanic 09-23-2004 12:40 AM

If you are asking that question, whatever it is you are trying to do.... isn't going to work out the way you hoped.

:1orglaugh

Big Cheese 09-23-2004 12:51 AM

Quote:

Originally posted by colpanic
If you are asking that question, whatever it is you are trying to do.... isn't going to work out the way you hoped.

:1orglaugh

I just need to change one line in the code. Is that not possible?

molz 09-23-2004 01:19 AM

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 :)

Big Cheese 09-23-2004 09:34 AM

Quote:

Originally posted by molz
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 :)

That helped a lot. Thanks :thumbsup


All times are GMT -7. The time now is 09:06 PM.

Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123