Steps:
- Remove the .class files from
nb
directory. - Edit the port in .java code
- Execute
javac .\HPDeviceManagerExploit.java
. - Move newly formed .class files to
nb
directory. - Now in the outside directory run
jar cfm .\HPDeviceManagerExploit.jar .\manifest.mf nb
- You will have .jar file.