Transpiled version (2556L) is out of date.
1 | svoid addToNativeLibraryPath(File dir) {
|
2 | if (dir == null) ret; |
3 | S libraryPath = System.getProperty("java.library.path");
|
4 | if (contains(splitAt(libraryPath, File.pathSeparator), f2s(dir))) ret; |
5 | libraryPath += File.pathSeparator + f2s(dir); |
6 | print("New java.library.path: " + libraryPath);
|
7 | System.setProperty("java.library.path", libraryPath);
|
8 | |
9 | javaLibraryPathHack(); |
10 | } |
download show line numbers debug dex old transpilations
Travelled to 6 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt
No comments. add comment
| Snippet ID: | #1029757 |
| Snippet name: | addToNativeLibraryPath |
| Eternal ID of this version: | #1029757/5 |
| Text MD5: | cb9b2f37c2a3c00d8e7935651502c540 |
| Author: | stefan |
| Category: | javax |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2021-10-08 17:44:01 |
| Source code size: | 391 bytes / 10 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 424 / 577 |
| Version history: | 4 change(s) |
| Referenced in: | [show references] |