-
Notifications
You must be signed in to change notification settings - Fork 241
BuildingJava
Gil Dabah edited this page Jun 18, 2016
·
1 revision
The Java wrapper of diStorm3 is now part of the package, and you can find it under examples\java.
Please follow the next instruction in order to get it to work:
- Compile the diStorm library in Visual Studio, clib for x64.
- Open up examples\java\jdistorm solution in Visual Studio.
- Fix the existing Java paths in the configuration properties: * Include Paths: Project -> jdistorm properties -> C++ -> General -> Additional Include Directories * Library Paths: Project -> jdistorm properties -> Linker -> General -> Additional Include Directories
- Compile jdistorm for x64.
- Copy the output jdistorm.dll into examples\java\distorm.
- Open Eclipse.
- File -> Import -> General -> Existing Projects into Workspace and choose the '.project' file of the Java distorm project.
- Find the main.java file, and hit 'run', you should see the demo calls to Decode and Decompose.