jEE : how to covert CLASS file to JAVA file

your assistanc required.

please advice how to convert CLASSS into to JAVA file.
mac_gAdmin - Oracle Fusion Middleware suiteAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.


Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
mac_gAdmin - Oracle Fusion Middleware suiteAuthor Commented:
i did .
simple class file HelloWorld.class is seems to be OK.

my multiline programe giving the below error mesage

D:\tempshare\visio>jad HrwsBase.class
Parsing HrwsBase.class... Generating HrwsBase.jad
Couldn't fully decompile method _mthclass$
Couldn't resolve all exception handlers in method _mthclass$


please advice how to procede further
Bootstrap 4: Exploring New Features

Learn how to use and navigate the new features included in Bootstrap 4, the most popular HTML, CSS, and JavaScript framework for developing responsive, mobile-first websites.

Sharon SethCommented:
What kind of class is it ?
Pls note that decompling does not convert the CLASS into a JAVA file 100% . There are several places where assumptions are made by the decompiler.
Also , I had used DJ java decompiler . You can give it a try too
mac_gAdmin - Oracle Fusion Middleware suiteAuthor Commented:
this class file developed in  JAVA-1.4 release .

are theere any decompilers specific to version ?

As you said, I have tried  with DJ java decompiler, some of the charectors i am getting are ,$, _...etc.

please advice, is there any paid tools which can do this work.

If you are interested, i can attach the class file which i am trying for your test.

Thanks for your efforts.
Hi mac_g,

The decompiler I recommended you is not so good. I wanted to recommed you the one that "krakatoa" did!
Ok, please attach you .class file.
btw decompliler is not able to revert to the original .java file! there are a lot of assumptions, because when the .java file is compiled the compiler makes a lot of "improvements" as well.
Sharon SethCommented:
Any kind of decompiler would end up showing $ , _ etc . The reason is that the CLASS file which itself would have had many modifications/substitutions during compilation
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.