cancel
Showing results for 
Search instead for 
Did you mean: 

How to decompile jar file and modify the java class

Former Member
0 Kudos

Hi all,

I am having par file, which is having some JSPDynapge classes. After extracting par file, I can see one jar file.

Can anyone explain me how to decompile jar file and get the classes into the NWDS and modify them.

Thanks in advance.

RK Reddy

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

Extract the jar with any winzip/winrar software and decompile the .class files with Jadclipse, it's an eclipse plugin that can be downloaded <a href="http://sourceforge.net/projects/jadclipse/">from here</a>

Once modified, compile the source code, pack it to jar again using the jar utility command and add it to the par.

In case these are SAP files you are modifying I would deeply advise you not to.

Hope it helps,

Roy

Answers (1)

Answers (1)

Former Member
0 Kudos

When you open the par file in NWDS it does not copy over the jar files. Just manually copy then from the unzipped folder into the NWDS in Navigator view. They probably need to go in the PORTAL_INF/lib folder.

-Clint

Former Member
0 Kudos

If I copy jar file directly into lib folder, it is not showing any source code.

I think we need to decompile it and get source code.... Can anybody xplain me about that????