Solved

Converting .class to .java

Posted on 1998-07-15
2
234 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

MS Dynamics Made Instantly Simpler

Make Your Microsoft Dynamics Investment Count  & Drastically Decrease Training Time by Providing Intuitive Step-By-Step WalkThru Tutorials.

Question has a verified solution.

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

Suggested Solutions

INTRODUCTION Working with files is a moderately common task in Java.  For most projects hard coding the file names, using parameters in configuration files, or using command-line arguments is sufficient.   However, when your application has vi…
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…
This video teaches viewers about errors in exception handling.
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 …
Suggested Courses

752 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