Hello, welcome back.
This is the Latin demo walk through how the how to disassemble a Java code.
And we are going to use these two tools, Jarobi and Java C and these two tools are already included
in your temperature machine.
So let's get started.
So this is a file which I already provided for you to download in the previous Nesson.
Just unzip it and put it on your desktop.
And this is the inside this folder you have in this Sasko Java source code.
Hello, Java.
And you can open it with text editor to view the contents.
And this is an example of a simple Java, could you have a class public class hell on Earth and inside
if you have a public static, void main method and there is only one instruction in this block system,
the opening line.
Hello.
So that is all he's going to do out a message call.
Hello.
So in order to convert this school into Bikel, that is open the command line terminal first ACMD.
And then they are going to navigate to this territory, so we copy this tree over here, right?
Click and copy and then in the windows, come on from, we are going to change territory.
So based upon that, we have copy presenter.
Keyed into it, and then now that I see the contents and you have had a of Java Soska, in order to
convert this source code into bytecode, we need to use compiler code, Java Sea.
Java Sea, hello, Earth.
So we type Java C, followed by the name of the source code file.
And then we hear it.
All right.
So now you will see after the competition is finished, there will be a new FAQ not.
So this is called the bytecode.
In order to cover this into backorder that we can view, we need this assembler.
So the disassembly is going to be so heavy to be by self-deceit.
What we want is to address the option negotiation.
We will disassemble the code.
So let's try to clear the screening in danger would be that she followed by the class and he has converted
the binary into a vacuum which is readable.
Now, in order to have a better view of this, we can all put it to a file.
So we repeat the command being redirected to a file and we can disassemble that Java.
And now we see there's a new fire called the Central Java, and we can open this one.
If you have a text editor and this is a Java view, you can see that it's been disassembled.
We have the look and the engross picture, which actually just creates an object.
And then here system the print line method, which is a static method and LDC is to the string and guess
that it's just to load the matter into the stack.
So this is how we can compile Java binary from source code and how we can disassemble the binary back
into Backwood.
So that's all for this video.
Thank you for watching.