Re: [tcljava-user] running java code
Brought to you by:
mdejong
From: Mo D. <mo...@mo...> - 2007-05-14 20:21:21
|
Jim McNamara wrote: > hi- > i thought about this after i took a break. if it says it has an embedded > jvm. so that means to me that if on the development machine i create > the byte code then the embedded jvm can turn the byte code into > machine code and then execute it. > > so it seems there is no jre needed on the deployment machine. This is not correct, a JVM is needed on the deployment machine. In general, Java is an interpreted runtime. The hotspot compiler will speed up execution time but a JVM is still needed at runtime to execute Java code. The Tcl Blend module makes it easy to create both a Tcl interpreter and a Java interpreter in the same process and then let each interpreter talk to the other. cheers Mo DeJong |