Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place! |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
02-28-2005, 03:11 PM
|
#1
|
Member
Registered: Feb 2005
Location: Santa Monica, CA, USA
Distribution: Ubuntu 5.04
Posts: 35
Rep:
|
how to edit a *.jar file?
Note: Mandrake 10.1, KDE
My question, I think, is how to open and modify a *.jar file.
I've encountered the known bug in mozilla that prevents exporting the address book. But where my newbness appears is in actually applying the patch . I've tried to use the editors (GEdit, Kate, KEdit) to modify the file, but it will not save because of the character coding (in some cases I can't even open the file: messenger.jar). Emacs might be the answer, but I'm a little lost in editing the file using it.
Your help is appreciated!
|
|
|
02-28-2005, 03:25 PM
|
#2
|
Member
Registered: Feb 2005
Distribution: Slack
Posts: 122
Rep:
|
i think you are confused. jar is jave file.
|
|
|
02-28-2005, 03:29 PM
|
#3
|
LQ Guru
Registered: Jul 2003
Location: VA
Distribution: Slack 10.1
Posts: 2,194
Rep:
|
messenger.jar is a zip file. Unzip it, edit the file (addressbook.js), then zip it up again.
|
|
|
02-28-2005, 03:47 PM
|
#4
|
Member
Registered: Aug 2003
Location: Omaha, NE, USA
Distribution: PCLinuxOS 2007
Posts: 808
Rep:
|
A .jar file is a java archive file. Which just means it is a *ZIP* file, with possibly a few special files included, e.g., manifest.txt.
Unizp it, make changes, and re-zip it, keeping the ".jar" filename.
|
|
|
02-28-2005, 03:58 PM
|
#5
|
Member
Registered: Feb 2005
Location: Santa Monica, CA, USA
Distribution: Ubuntu 5.04
Posts: 35
Original Poster
Rep:
|
Perfect.
Opened it with File Roller, edited the file, then added it back in.
Thanks for the timely help, once again.
|
|
|
All times are GMT -5. The time now is 03:01 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|