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
LVL 7
gudii9Asked:
Who is Participating?
 
Mahesh BhutkarCommented:
You can use 7-Zip to solve this issue. Even any decompiler also resolve your problem.
0
 
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
Cloud Class® Course: Microsoft Windows 7 Basic

This introductory course to Windows 7 environment will teach you about working with the Windows operating system. You will learn about basic functions including start menu; the desktop; managing files, folders, and libraries.

 
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
 
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.

All Courses

From novice to tech pro — start learning today.