Re: Under Linux, Call java from C++



I set the path like this:

export
LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/lib/jvm/java-1.4.2-sun-1.4.2.05/jre/lib/i386/server/

This time I can compile it and got invoke.o and invoke. But when I type
invoke
then the new information comes:
Can't create Java VM

I really wonder why?

.



Relevant Pages

  • Re: JAVA as C (or C++) Front End
    ... Whenever I write and compile a ... > java program, I have to invoke it by calling Java.EXE. ... > software which is obviously written in Java which is invoked with an EXE ... One 'pro' for having the the C code invoke the java code is that you will then ...
    (comp.lang.java.programmer)
  • Re: c++ delete operator parameters
    ... TypeConstructor,' why is it not allowed to deallocate by invoking ... invoke the destructor explicitly and invoke the static delete operator ... but I cannot get it to compile without some error. ... BTW, get rid of the parens; the "delete" keyword is not a function, it is ...
    (microsoft.public.vc.language)
  • Re: Under Linux, Call java from C++
    ... It sounds like you are using an earlier version of java - try using ... But when I typed invoke, ... > error while loading shared libraries: libjvm.so: cannot open shared ... Prev by Date: ...
    (comp.lang.java.programmer)
  • Re: Microfocus Netexpress question : COBSQL vs openESQL
    ... > not yet solved to our liking. ... Occasionally code would not execute though ... compile using the Cobsql preprocessor (which would invoke Pro*COBOL under ...
    (comp.lang.cobol)
  • Re: Method.invoke() with one arg compiles despite method signature
    ... Object invoke(Object obj, Object... ... method called invoke. ... How then am I managing to compile and run the ...
    (comp.lang.java.programmer)