Skip to content
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

Support for java 13 #19

Open
clagms opened this issue Feb 2, 2022 · 0 comments
Open

Support for java 13 #19

clagms opened this issue Feb 2, 2022 · 0 comments

Comments

@clagms
Copy link

clagms commented Feb 2, 2022

I'm using this library in FMIMOBSTER and depend on it to support java 13.

Currently, the library gives:

2022-02-02 06:40:14:626 [main] DEBUG org.intocps.fmi.jnifmuapi.NativeFmu - Loading library: lib/Windows-amd64/fmuapi.dll
2022-02-02 06:40:14:627 [main] DEBUG org.intocps.fmi.jnifmuapi.NativeLibraryLoader - Extracting library from: lib/Windows-amd64/fmuapi.dll
2022-02-02 06:40:15:069 [main] DEBUG org.intocps.fmi.jnifmuapi.NativeLibraryLoader - Extracted library: C:\Users\au602135\AppData\Local\Temp\jnifmuapi17456685047655138051\jnifmuapi-Windows-amd64\fmuapi.dll
2022-02-02 06:40:15:069 [main] ERROR org.intocps.fmi.jnifmuapi.NativeFmu - Faild to load native Library file: lib/Windows-amd64/fmuapi.dll
java.lang.NoSuchFieldException: usr_paths
        at java.base/java.lang.Class.getDeclaredField(Class.java:2412)
        at org.intocps.fmi.jnifmuapi.NativeLibraryLoader.addLibraryPath(NativeLibraryLoader.java:153)
        at org.intocps.fmi.jnifmuapi.NativeLibraryLoader.loadLibrary(NativeLibraryLoader.java:98)
        at org.intocps.fmi.jnifmuapi.NativeFmu.<clinit>(NativeFmu.java:62)
        at org.intocps.fmi.jnifmuapi.Factory.create(Factory.java:48)

See more in this issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant