• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Please, help. It's JNI_CreateJavaVM trouble again

 
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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 ?
 
reply
    Bookmark Topic Watch Topic
  • New Topic