-
Notifications
You must be signed in to change notification settings - Fork 26
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use 'Java Native Access' (JNA) instead of PowerShell tricks? #16
Comments
Wouldn't depending on JNA turn this < 10kB library into a 3.7MB dependency? Even with bare JNI, I believe this would require shipping multiple DLLs inside the JAR file for whatever platform Windows runs on? |
|
I'm closing this – my plan is to wait for Project Panama to enable first-class access to native code. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I just found java-native-access/jna and I think instead of calling the PowerShell we could use
Shell32Util.getKnownFolderPath(Guid.GUID guid)
together withKnownFolders
to get the corresponding folder path.For example:
What do you think?
The text was updated successfully, but these errors were encountered: