monero-java
monero-java copied to clipboard
Trying to use your library with Windows
Hello thank you very much for this library, i have been able to use it with the rpc, but I want to generate some wallets client side and i followed the instructions for building JNI shared libraries from source, but your commands are for linux. I installed ubuntu and tried with that but I can't get it to work. How could I do it on windows ?
What's the problem on Ubuntu?
The instructions should roughly translate to Windows, especially if you're using a terminal through Cygwin, but I don't have instructions for Windows.
Well my first interactions with the command line was 3 days ago so it's really hard for me to comprehend this stuff. I've been able to do steps 1 to 6 but i'm stuck at 7. How Am I supposed to "Build ./external/monero-cpp as a shared library." ?
Please i know i'm inexperienced with this stuff but I want to learn and do a project for the community where i need to create a bunch of wallets and i only know a bit of Java.
I would first try to build monero-cpp as a shared library for Windows. This project is located in monero-java/external/monero-cpp. Follow instructions to build using ./bin/build_libmonero_cpp.sh
, which ought to create .dll files in ./build.
After the .dll files are created, monero-java needs to read those .dll files to support client-side wallets with JNI bindings. monero-java might require some modifications to work with .dll files on Windows.
Closing this since the instructions to build on Windows have been updated: https://github.com/woodser/monero-java?tab=readme-ov-file#windows