Solved

How to debug jar file ??

Posted on 2011-09-12
3
481 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
Comment Utility
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
Comment Utility
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
Comment Utility
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

Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

Join & Write a Comment

After being asked a question last year, I went into one of my moods where I did some research and code just for the fun and learning of it all.  Subsequently, from this journey, I put together this article on "Range Searching Using Visual Basic.NET …
For beginner Java programmers or at least those new to the Eclipse IDE, the following tutorial will show some (four) ways in which you can import your Java projects to your Eclipse workbench. Introduction While learning Java can be done with…
Viewers learn about the “while” loop and how to utilize it correctly in Java. Additionally, viewers begin exploring how to include conditional statements within a while loop and avoid an endless loop. Define While Loop: Basic Example: Explanatio…
This tutorial covers a practical example of lazy loading technique and early loading technique in a Singleton Design Pattern.

772 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

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now