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

GraalVM Native Image Support #36

Open
Parker7123 opened this issue Jul 3, 2021 · 1 comment
Open

GraalVM Native Image Support #36

Parker7123 opened this issue Jul 3, 2021 · 1 comment
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@Parker7123
Copy link

I am trying to make tdlight work with graalvm narive image.
In intelij everything works flawlessly, error occurs when I compile code to native image using graal.
I am getting this error when code starts tdlight client:

[ 1][t 0][1625332068.895975351][tl_jni_object.cpp:39]      Can't find class [it/tdlight/tdnative/NativeClient]
Fatal error reported via JNI: Can't find class [it/tdlight/tdnative/NativeClient]

I am including tdlight like this

    implementation 'it.tdlight:tdlight-java:4.171.128'
    implementation 'it.tdlight:tdlight-natives-windows-amd64:3.3.55'

Any help appreciated.

@cavallium
Copy link
Member

I can't help you since I never tested it with graalvm native images

@cavallium cavallium added enhancement New feature or request help wanted Extra attention is needed labels Jul 23, 2021
@cavallium cavallium changed the title Fatal error reported via JNI: Can't find class GraalVM Native Image Support Jul 23, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants