Solved

How to debug jar file ??

Posted on 2011-09-12
3
486 Views
Last Modified: 2012-08-14
Is it possible debug jar files in EClipse IDE ?
0
Comment
  • 2
3 Comments
 
LVL 47

Expert Comment

by:for_yan
ID: 36523059
If your jar file does not contain source code, then you can try to decompile the
classes. If you have any other way to deal with your problem - it is bntter to use that other way
if you don't have a source code, decompilation wioll be your last resort.
0
 
LVL 47

Accepted Solution

by:
for_yan earned 250 total points
ID: 36523073
Normally Eclipse can provide you some information about your class file but would not allow you to modify it,
so you need to decompile it before - with some of the decompilers - please consider other options (ike going to the author of the classes,
using another program, etc.) before you start doing it
0
 
LVL 86

Assisted Solution

by:CEHJ
CEHJ earned 250 total points
ID: 36524906
Java (and any IDE) debugs class files - it doesn't care what they're contained in.

What it DOES care about is that there be debugging information in the class files and that the source code be available. Recompilation of the source could be necessary
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
ForLoop Example 3 52
table example 4 32
ejb stateless example 2 22
Eclipse Java import and method not resolved 4 48
Introduction This article is the last of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article covers our test design approach and then goes through a simple test case example, how …
Basic understanding on "OO- Object Orientation" is needed for designing a logical solution to solve a problem. Basic OOAD is a prerequisite for a coder to ensure that they follow the basic design of OO. This would help developers to understand the b…
Viewers will learn one way to get user input in Java. Introduce the Scanner object: Declare the variable that stores the user input: An example prompting the user for input: Methods you need to invoke in order to properly get  user input:
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