joeferner / node-java

Bridge API to connect with existing Java APIs.
MIT License
1.88k stars 283 forks source link

java_home must be exactly same with the developer's? #602

Open HarveyLee1228 opened 3 months ago

HarveyLee1228 commented 3 months ago

Sorry for my bad English. I run into a problem when I using this tookit. When my project is packed,I can run it perfectly on my own device. But when my partner install the app built on my device, he cannot run it correctly. I have read the source code, it seems like the java_home dir from my device is hard coded into the output lib. How can I make the java_home dynamic reading from the user's device? 20240726152415286