Re: detecting a JVM embedded in an app?
- From: Stephen Kellett <snail@xxxxxxxxxxxxxxxxxxxx>
- Date: Fri, 20 May 2005 10:49:11 +0100
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
.
- References:
- detecting a JVM embedded in an app?
- From: Brandon J. Van Every
- detecting a JVM embedded in an app?
- Prev by Date: Re: moving from aspnet to jsp..
- Next by Date: Re: detecting a JVM embedded in an app?
- Previous by thread: detecting a JVM embedded in an app?
- Next by thread: Re: detecting a JVM embedded in an app?
- Index(es):
Relevant Pages
|
|