This week's book giveaways are in the Scala and Android forums.
We're giving away four copies each of Machine Learning Systems: Designs that scale and Xamarin in Action: Creating native cross-platform mobile apps and have the authors on-line!
See this thread and this one for details.
Win a copy of Machine Learning Systems: Designs that scale this week in the Scala forum
or Xamarin in Action: Creating native cross-platform mobile apps in the Android forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Please, help. It's JNI_CreateJavaVM trouble again  RSS feed

 
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I don't know what to do.
I have jdk1.4.
When I try to compile test.c I've got this:
test.o(.text+0x19): undefined reference to `JNI_GetDefaultJavaVMInitArgs'
test.o(.text+0x5a): undefined reference to `JNI_CreateJavaVM'
I've specified all header files but don't know what else gcc wants
p.s.: -ljava -ljvm couldn't be found in OS.
What wrong ?
 
It's weird that we cook bacon and bake cookies. Eat this tiny ad:
Rocket Oven Kickstarter - from the trailboss
https://coderanch.com/t/695773/Rocket-Oven-Kickstarter-trailboss
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!