Re: Calling java (.jar) from C++?



"cada0310" <cada0310@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:2167B890-5692-4BF9-B021-F5A5EEB3C174@xxxxxxxxxxxxxxxx
Hi there,


I have a need to call a java database library from C++ applications. Can
anyone point me in the right direction on how to accomplish this?

You need to host the JVM in your application and use the JVM hosting
interfaces to access the Java library. Search the Sun Java site for
information about hosting the JVM.

As another respondent already pointed out, there's likely a better way to
accomplish what you need, but the Java interface library is your only
choice, JVM hosting is what you need.

-cd


.



Relevant Pages

  • Re: Giving an application a window icon in a sensible way
    ... Java app. ... At the time I made the initial posting to this thread, a google ... applications (they involved requesting the icon from a URL, ... or accomplish things on your own. ...
    (comp.lang.java.programmer)
  • Re: Calling java (.jar) from C++?
    ... I have a need to call a java database library from C++ applications. ... Can anyone point me in the right direction on how to accomplish this? ... refer "http://www.ikvm.net/"; ...
    (microsoft.public.dotnet.languages.vc)
  • Re: where do you store app wide data?
    ... Not the JVM.. ... Java applications. ... thats the fault of whoever wrote the application - not Java. ... Files are not stored in RAM when you close them. ...
    (alt.php)
  • Re: Java on VMS
    ... > We are very happy with java on VMS. ... > applications causes problems, ... Mac will often make use of 'resource forks', ...
    (comp.os.vms)
  • Re: How do I prevent a port from installing?
    ... It is quite possible that there are no applications ... that depend on ant for running and at the same time it is likely ... Given that I do not feel I can afford to have Java on the system, ... Dependency: xproto-7.0.10_1 ...
    (freebsd-questions)

Quantcast