Video: https://youtu.be/MkNcgyBCfS8
Part 1: https://github.com/thaolt/hellojava
Hello
-
First we install a JDK
- https://download.java.net/java/GA/jdk21.0.1/415e3f918a1f4062a0074a2794853d0d/12/GPL/openjdk-21.0.1_linux-x64_bin.tar.gz
- export $JAVA_HOME and $PATH in $HOME/.zshrc or .bashrc (if your shell is bash)
-
Print Hello World
-
Create Makefile
-
Structuring the source code
-
Packaging
-
Github
-
Create simple agent
-
Download javassist
-
Modify target app classes with the agent
-
Profit?