cancel
Showing results for 
Search instead for 
Did you mean: 

Par Files -- Class file and JAVA file different

Former Member
0 Kudos

Hello,

I have downloaded the PAR file from the portal system.

I am opening through the WINRAR and not through NWDS.

I have changed the JAVA File in the PAR manually by opening it in notepad and uploaded manually through the System Administration tab (Administration Console).

But I cant see the changes being reflected as the class file are not getting changed.

Can you please tell me how do I go ahead with this.

Regards

JM

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

You will need to compile the Java file into a class file before putting it back in the par file. It is not done automatically. This will be very messy as you will be missing many libraries.

Why not use NWDS?

Former Member
0 Kudos

well the issue i am facing is that somehow the Class file in the PAR is perfect and it is in the working condition but the code in JAVA Class is different.

So what we are thinking like if we can get the java file from the class file then we can deploy straight away using the manual deployment.

Former Member
0 Kudos

But the Java file is not used at run time. There is a class file in the PAR file - it is the bit executed at run time. Changing the Java file doesn't do anything useful. Until it is complied by you or NWDS it will not change the contents of the class file.