aboutsummaryrefslogtreecommitdiffstats
path: root/capstone/bindings/java/README
diff options
context:
space:
mode:
authorAngelos Mouzakitis <a.mouzakitis@virtualopensystems.com>2023-10-10 14:33:42 +0000
committerAngelos Mouzakitis <a.mouzakitis@virtualopensystems.com>2023-10-10 14:33:42 +0000
commitaf1a266670d040d2f4083ff309d732d648afba2a (patch)
tree2fc46203448ddcc6f81546d379abfaeb323575e9 /capstone/bindings/java/README
parente02cda008591317b1625707ff8e115a4841aa889 (diff)
Add submodule dependency filesHEADmaster
Change-Id: Iaf8d18082d3991dec7c0ebbea540f092188eb4ec
Diffstat (limited to 'capstone/bindings/java/README')
-rw-r--r--capstone/bindings/java/README28
1 files changed, 28 insertions, 0 deletions
diff --git a/capstone/bindings/java/README b/capstone/bindings/java/README
new file mode 100644
index 000000000..f6cd8da7e
--- /dev/null
+++ b/capstone/bindings/java/README
@@ -0,0 +1,28 @@
+This has been tested with OpenJDK version 6 & 7 on Ubuntu-12.04 and
+Arch Linux-3.11, 64-bit.
+
+- OpenJDK is required to compile and run this test code.
+ For example, install OpenJDK 6 with:
+
+ $ sudo apt-get install openjdk-6-jre-headless openjdk-6-jdk
+
+- Java Native Access is required to run the code, you can install it with:
+
+ $ sudo apt-get install libjna-java
+
+- To compile and run this Java test code:
+
+ $ make
+ $ ./run.sh
+
+
+This directory contains some test code to show how to use Capstone API.
+
+- TestBasic.java
+ This code shows the most simple form of API where we only want to get basic
+ information out of disassembled instruction, such as address, mnemonic and
+ operand string.
+
+- Test<arch>.java
+ These code show how to retrieve architecture-specific information for each
+ architecture.