viewing a jar file content

Posted on 2014-01-17
Last Modified: 2014-01-23

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

How do I see jar content.

please advise
Any links resources ideas highly appreciated. Thanks in advance
Question by:gudii9
LVL 14

Expert Comment

ID: 39789860
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.
LVL 11

Assisted Solution

Manish earned 166 total points
ID: 39793492
You can use java decompiler to view code.
LVL 37

Assisted Solution

zzynx earned 167 total points
ID: 39793548
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.
Space-Age Communications Transitions to DevOps

ViaSat, a global provider of satellite and wireless communications, securely connects businesses, governments, and organizations to the Internet. Learn how ViaSat’s Network Solutions Engineer, drove the transition from a traditional network support to a DevOps-centric model.


Accepted Solution

Mahesh Bhutkar earned 167 total points
ID: 39793560
You can use 7-Zip to solve this issue. Even any decompiler also resolve your problem.

Expert Comment

by:Mahesh Bhutkar
ID: 39799786
Is the problem resolved?
LVL 37

Expert Comment

ID: 39803164
Thanx 4 axxepting

Featured Post

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
arguments to jar 5 34
servlet and mdb, jms error 1 33
Html Table Looping (part 2) 5 27
Eclipse Java import and method not resolved 4 48
Introduction Java can be integrated with native programs using an interface called JNI(Java Native Interface). Native programs are programs which can directly run on the processor. JNI is simply a naming and calling convention so that the JVM (Java…
Introduction This article is the first of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article explains our test automation goals. Then rationale is given for the tools we use to a…
The viewer will learn how to implement Singleton Design Pattern in Java.
Viewers will learn how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program. Download Eclipse installation zip file: Extract files from zip file: Download and install JDK 8: Open Eclipse and …

856 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question