-
October 10th, 2016, 03:15 AM
#1
how to view the code of a jar file?
Hi,
i am new to java programming. I have jar file which we are running through command prompt.
How can we see the code written in the jar file.Could anyone please help me
Thanks,
Mani
-
October 10th, 2016, 06:10 PM
#2
Re: how to view the code of a jar file?
Find the author of the code and ask for a copy.
You can view the contents of a jar file by using a zipfile utility to open the file.
Norm
-
October 13th, 2016, 01:24 AM
#3
Re: how to view the code of a jar file?
Hi Norm,
Thanks for your reply.The author have left the team, so it is not possible for me to get the copy of code.
Could you please explain me in detail how to view the content of jar file using zip file utility, sorry please bear with me
Mani
-
October 13th, 2016, 07:10 AM
#4
Re: how to view the code of a jar file?
One way is to rename the jar file by adding the extension: .zip and then double clicking on the file. If your system is setup to open zip files, the file should open in a zip file utility.
Norm
-
October 13th, 2016, 10:20 PM
#5
Re: how to view the code of a jar file?
Thanks Norm..i have renamed the extension and use the online java decompliers to see the source code from .class file.
-
October 17th, 2016, 12:41 AM
#6
Re: how to view the code of a jar file?
If you are using eclipse, you can simply add the jar file into your project. After adding the jar file, you will be able to view the source code.
Claire
-
October 25th, 2016, 09:45 PM
#7
Re: how to view the code of a jar file?
Thanks Clarie..It's also works fine
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|