You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
lemonsh 3ae4d5dfbd Fix formatting in docs 5 months ago
.vscode Proper directory and code structure 5 months ago
src Proper directory and code structure 5 months ago
.gitattributes Add .gitignore and .gitattributes. 5 months ago
.gitignore Proper directory and code structure 5 months ago
CMakeLists.txt Add project files. 5 months ago
README.md Fix formatting in docs 5 months ago
REFERENCE.md Fix formatting in docs 5 months ago

README.md

Click4jNative

A JNI library for controlling Windows applications in Java.

I'm planning to eventually release a full wrapper for it, but for now it's just a set of native methods.

Building

This library is a CMake project but you should build it in Visual Studio 2022. Additional variables you can use:

  • -DJAVA_HOME="<path to jdk>" (if CMake can't find your JDK install)
  • -DBUILD_SAMPLE="ON" (if you want to build the sample)

Running the sample

You can run the sample with this command inside the build directory:

java -cp 'Click4jNative.jar;Click4jSample.jar' Click4jSample