Solved

Converting .class to .java

Posted on 1998-07-15
2
243 Views
Last Modified: 2010-04-16
I have recently lost all my Java source code due to a major hard drive failure. All I have left is my HTML and Class files on my web server. Is there anyway to reconstruct my .java files from the .class files? I really don't fancy rewriting all that code!
0
Comment
Question by:Bart van der Wee
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 5

Accepted Solution

by:
fontaine earned 100 total points
ID: 1226595
NMI's Java Code Viewer is able to decompile Java classes and reproduce the source code.
It does not always work, and sometimes you will have to modify a little the code it (re)produces
but I think this is currently the best tool for that on the market. There is a free trial.

http://huizen.dds.nl/~nmi/njcv.html

0
 
LVL 4

Author Comment

by:Bart van der Wee
ID: 1226596
Thanx for that info, will try it and see how I get on. It is better than nothing though. :-)
0

Featured Post

Instantly Create Instructional Tutorials

Contextual Guidance at the moment of need helps your employees adopt to new software or processes instantly. Boost knowledge retention and employee engagement step-by-step with one easy solution.

Question has a verified solution.

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

Java contains several comparison operators (e.g., <, <=, >, >=, ==, !=) that allow you to compare primitive values. However, these operators cannot be used to compare the contents of objects. Interface Comparable is used to allow objects of a cl…
In this post we will learn how to make Android Gesture Tutorial and give different functionality whenever a user Touch or Scroll android screen.
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:
This tutorial covers a practical example of lazy loading technique and early loading technique in a Singleton Design Pattern.

617 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