/JNIHelper

JNIHelper For C/C++ For Your Program Accessing JVM More Easily

Primary LanguageC++MIT LicenseMIT

Contributors Forks Stargazers Issues


6

JNIHelper

A C/C++ library for accessing JNI easier

Explore The Docs >>

View Demo | Report Bug | Request Feature

Content

  1. About The Project
  2. Getting Started
  3. More Information

About the project

introduction

JNIHelper is a library created by CubeVlmu, designed to simplify the use of the Java Native Interface (JNI). This library provides convenient tools and functions that enable Java applications to interact with native code, facilitating seamless interoperability between Java and C/C++. Whether you need to call native library functions or access Java objects from native code, JNIHelper offers straightforward and efficient methods. It serves as a valuable assistant for Java developers when integrating with native code, making JNI development easier and more efficient.

Licence

MIT License

Copyright (c) 2015~2023 Flybird Games

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

(back to top)


Getting Started

Build JNIHelper

  1. Clone The Project To Your Computer
  2. Check That If You Installed Python3
  3. Run Command 'python3 scripts/Build.py'
  4. Files Will Be Output To 'build' Dir

Use JNIHelper

  1. Create A Dynamic Lib Project
  2. Include The 'include' dir to your project
  3. Link The JNIHelper's lib to your project. (We Recommand Linking By Static Lib)
  4. Enjoy The Time Playing With JNI :)

More Information

Contact

Contributing

Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.

If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement". Don't forget to give the project a star! Thanks again!

  1. Fork the Project
  2. Create your Feature Branch
  3. Commit your Changes
  4. Push to the Branch
  5. Open a Pull Request

(back to top)


JNIHelper

artifact by CubeVlmu, owned by FlybirdGames
(The END)