Re: detecting a JVM embedded in an app?



In message <fv8je.4649$uR4.1503@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>,
Brandon J. Van Every <mylastnameruntogether@xxxxxxxxxxxxxxxxx> writes
>I heard a rumor that Alias uses the JVM in their software, and that MEL
>(the Maya Extension Language) just runs as a level over that. I'm
>wondering what technical means I could use to substantiate such a

For Windows, look for the module "jvm.dll".

Int isJVMPresent()
{
HMODULE hModule;
int jvmIsPresent;

hModule = GetModuleHandle(_T("JVM.DLL");
jvmIsPresent = (hModule != NULL);

return jvmIsPresent;
}

and/or you could look at the imports for other EXE/DLLs and see if any
of them link to JVM.DLL (and for earlier version of Java, JAVAI.DLL).

Stephen
--
Stephen Kellett
Object Media Limited
Computer Consultancy, Software Development
Windows C++, Java, Assembler, Performance Analysis, Troubleshooting
.



Relevant Pages

  • Re: In the Shallow End
    ... Yes, with Apple finally getting in there, technology is finally moving along nicely again. ... What they like to do is use the Windows desktop as data gathering frontends to these operations. ... They had other plans for Java, ... They make computers for the elite. ...
    (comp.sys.mac.advocacy)
  • Re: IE6 javascript & active x not working
    ... > I'm trying to fix a problem on a Windows XP SP1 Compaq computer. ... Where to get the JAVA VM ... Sun also offers an automatic download and install of the 1.4 Java plug-in ... ActiveX problems in IE ...
    (microsoft.public.windows.inetexplorer.ie6.browser)
  • Re: IE6 cannot access secured sites after SP2 install
    ... I installed Windows script 5.6 ... >To download Java VM for XP: ... >Windows Update/Enable the Windows Update Catalog. ... >Sun also offers an automatic download and install of the ...
    (microsoft.public.windows.inetexplorer.ie6.browser)
  • Re: Control Panel Add/Remove Programs shuts down pc
    ... Except for the Hot Fixes and the screw up with Java, ... If you Export the Uninstall key, you can open the .reg file and peruse it ... All that does is remove Installer remnants from the ... don't have it installed under Windows XP ... ...
    (microsoft.public.windowsupdate)
  • Re: field validation (was Re: COBOL/DB2 Date edit question)
    ... regular Windows application, and certainly not by a mainframe application ... (or mainframe OS does not support Java). ... one or two subroutines written in Standard (Fujitsu NetCOBOL) COBOL, and C#, ...
    (comp.lang.cobol)