Improve company productivity with a Business Account.Sign Up

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 626
  • Last Modified:

viewing a jar file content

Hi,

I have a jar file. I need to open and see the source code in the jar file to override some of the style related code like primefaces-3.4 related
org.primefaces.component.behavior.printer.PrinterBehavior.getScript()

How do I see jar content.

please advise
Any links resources ideas highly appreciated. Thanks in advance
0
gudii9
Asked:
gudii9
3 Solutions
 
CPColinSenior Java ArchitectCommented:
JAR files are just ZIP files with a standardized structure; you can open them using any application that can open ZIP files. However, if the source code is not in the JAR file, you're going to have to look elsewhere. JAR files typically just contain the compiled CLASS files, not the source.
0
 
ManishLeadCommented:
You can use java decompiler to view code.
http://en.wikipedia.org/wiki/JAD_%28JAva_Decompiler%29
0
 
zzynxSoftware engineerCommented:
I use WinRAR to open a jar file.
But in most cases, jar files contain the binary .class files not the java source code files.
0
Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

 
Mahesh BhutkarCommented:
You can use 7-Zip to solve this issue. Even any decompiler also resolve your problem.
0
 
Mahesh BhutkarCommented:
Is the problem resolved?
0
 
zzynxSoftware engineerCommented:
Thanx 4 axxepting
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Upgrade your Question Security!

Your question, your audience. Choose who sees your identity—and your question—with question security.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now