You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Then I downloaded nativeimage-24.2.1.jar from maven central. If I run javac Lib.java -cp nativeimage-24.2.1.jar it outputs a Lib.class file. Then I run native-image --shared -o TlaLib -cp Lib.class and it outputs a TlaLib.so file along with header files. However, I cannot find the get_message function defined in either the .so file or the header files. What am I doing wrong? Thank you for any help you can provide.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
My question appears similar to #2193. I have the following simple Java file:
Then I downloaded
nativeimage-24.2.1.jar
from maven central. If I runjavac Lib.java -cp nativeimage-24.2.1.jar
it outputs aLib.class
file. Then I runnative-image --shared -o TlaLib -cp Lib.class
and it outputs aTlaLib.so
file along with header files. However, I cannot find theget_message
function defined in either the .so file or the header files. What am I doing wrong? Thank you for any help you can provide.Beta Was this translation helpful? Give feedback.
All reactions