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.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
02-28-2005, 02: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, 02:25 PM
|
#2
|
|
Member
Registered: Feb 2005
Distribution: Slack
Posts: 122
Rep:
|
i think you are confused. jar is jave file.
|
|
|
|
02-28-2005, 02:29 PM
|
#3
|
|
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, 02: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, 02: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. 
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 01:26 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
|
|