jvm running in myprogram.exe?

I heard a way back there was a way to compile/bundle a java program with an app, so I could create something like myprogram.exe where the jvm was linked into it. ie. When I run myprogram.exe, and I look at taskmgr, there is no java.exe running. It is running under myprogram.exe. Is there a way to do this?

I am just looking for any way I can make it so the process running looks like a normal windows exe instead of java.exe.

[439 byte] By [deanhiller2000a] at [2007-10-2 5:34:51]
# 1

You can write a C (or C++) program using the "JNI Invocation API" (http://java.sun.com/j2se/1.4.2/docs/guide/jni/spec/invocation.html). The resultant program (yourprogram.exe) will not use java.exe, but it will use jvm.dll (Java Virtual Machine DLL).

There are also many third party tools to create executable files - search the web for "java launcher".

sundararajan.aa at 2007-7-16 1:45:32 > top of Java-index,Java HotSpot Virtual Machine,Specifications...