Go Back   CodingForums.com > :: Server side development > Java and JSP

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 05-28-2008, 03:47 AM   PM User | #1
UrbanTwitch
Regular Coder

 
UrbanTwitch's Avatar
 
Join Date: Apr 2006
Posts: 485
Thanks: 44
Thanked 1 Time in 1 Post
UrbanTwitch is an unknown quantity at this point
.jar files is scribbly

I am trying to open a .JAR file. I cannot seem to see it. Why not?

__________________
Formerly MysticScript

6+ years club
UrbanTwitch is offline   Reply With Quote
Old 05-28-2008, 08:24 AM   PM User | #2
Millenia
Open Source Zealot

 
Join Date: May 2008
Location: Lost in Localhost...
Posts: 702
Thanks: 3
Thanked 43 Times in 42 Posts
Millenia is on a distinguished road
You must be opening it with the wrong decoding.
Millenia is offline   Reply With Quote
Old 05-28-2008, 01:38 PM   PM User | #3
Aradon
Moderator-san


 
Aradon's Avatar
 
Join Date: Jun 2005
Location: USA
Posts: 734
Thanks: 0
Thanked 20 Times in 19 Posts
Aradon is on a distinguished road
You shouldn't be opening jar files with an editor. If you need the files inside you can either use the jar program given by the jdk in order to get the file, or something like winrar which will give you access as well.

A text editor will not help you out as a jar is a compressed archive as well as an executable format for java files.
__________________
"To iterate is human, to recurse divine." -L. Peter Deutsch
Aradon is offline   Reply With Quote
Old 05-28-2008, 06:36 PM   PM User | #4
UrbanTwitch
Regular Coder

 
UrbanTwitch's Avatar
 
Join Date: Apr 2006
Posts: 485
Thanks: 44
Thanked 1 Time in 1 Post
UrbanTwitch is an unknown quantity at this point
Can you recommended something that will let me edit .jar files?
__________________
Formerly MysticScript

6+ years club
UrbanTwitch is offline   Reply With Quote
Old 05-28-2008, 11:34 PM   PM User | #5
Aradon
Moderator-san


 
Aradon's Avatar
 
Join Date: Jun 2005
Location: USA
Posts: 734
Thanks: 0
Thanked 20 Times in 19 Posts
Aradon is on a distinguished road
You can't edit them. As I said all you can do is extract them, and hope that the .java files are in there. If they aren't then you have .class files that you shouldn't be editing anyways.
__________________
"To iterate is human, to recurse divine." -L. Peter Deutsch
Aradon is offline   Reply With Quote
Old 06-14-2008, 10:30 AM   PM User | #6
Millenia
Open Source Zealot

 
Join Date: May 2008
Location: Lost in Localhost...
Posts: 702
Thanks: 3
Thanked 43 Times in 42 Posts
Millenia is on a distinguished road
Quote:
Originally Posted by Millenia View Post
You must be opening it with the wrong decoding.
Oops, sorry I didn't read the file type!

.jar files are archive files. What I always do (might not work for you) is rename the jar file to a .zip file and extract it. Might not work for you, but for me it does.
Millenia is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate 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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 04:44 AM.


Advertisement
Log in to turn off these ads.