• Post Reply Bookmark Topic Watch Topic
  • New Topic

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

 
Andrey Safonov
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 ?
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!