differences betwen jdk1.1 and jdk1.3 when invoking the Java Virtual Machine
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Josep_Lloret
Posted On:   Friday, May 18, 2001 09:23 PM

Hi!

What are the differences betwen jdk1.1 and jdk1.3 when invoking the Java Virtual Machine?

In jdk1.1 i compile my programs, on windows and with Microsoft Visual C++, like:

cl -I -I -MT program.c -link javai.lib

But in jdk1.3 javai.lib isĀ“nt anywhere!
How must i compile my programs now?

Re: differences betwen jdk1.1 and jdk1.3 when invoking the Java Virtual Machine

Posted By:   Alexander_Krapf  
Posted On:   Saturday, May 19, 2001 09:40 AM

Hi Josep,


Starting with JDK 1.2, the runtime library is traditionally called jvm.lib.


If you want to keep your software JVM version indpendent, you have quite a bit of work ahead of you because you must not link statically against the library, but rather load it dynamically.


I recommend that you take a look at our JunC++ion tool. Among other features, it supports JVMs starting with 1.1.7 and we just tested it with the latest 1.3.1 JVM. All that is transparent to the programmer, who simply writes C++ code and all JNI happens in the guts of our runtime library. You can find out more about JunC++ion at http://www.codemesh.com.


Good luck,


Alex

About | Sitemap | Contact