Jump to content
Excelsior Forums

ltronic

Members
  • Content count

    0
  • Joined

  • Last visited

    Never

Community Reputation

0 Neutral

About ltronic

  • Rank
    Newbie
  • Birthday 01/01/01
  1. Ok, just sent a mail to the support e-mail you gave me.
  2. Hi, thanks for your answer ! Basically, we are building a sort or media player as a Win32 EXE, and the JAR contains the DRM+Media, they are compiled as DLL. The user can download "on-demand" media files, so we *need* to switch at runtime. When do you plan to implement/fix that ? We were planning to buy Excelsior JET Pro, but we can't if the DLL switching does not work Or maybe do you see another way to do what we intend to ?
  3. Hello, I have continued my evaluation of JET 6.0 to build my Win32 application using heavily JNI into DLLs. Basically, I have writing a MFC/Win32 .EXE application which manages several DLLs. Each DLL is in fact a Java application (JAR file) compiled with JET. I got the CreateVM / JNI cycle + DestroyVM working properly. The problem is now that when I switch from one "child" application (called App1) to another "child" application(App2) to another, I am doing : - DestroyJavaVM <= Tried with and without it.... same result - FreeLibrary(hApp1); - LoadLibrary(hApp2); - GetCreatedJavaVMs <== returns always zero - CreateJavaVM <== crash, picture attached Is it something possible to switch from one dll to another, and reinit the JET JNI/DLL runtime ? That's something critical for my application, I have to stop the project right now if I can't. Thanks for your time and I'm looking forward for your answer. Do not hesitate to PM me if you need more information and/or sample code to reproduce the bug.
  4. JET 6.0 Invocation/cMain sample error

    Double checked, the problem was not reproductible. You can lock/close topic.
  5. JET 6.0 Invocation/cMain sample error

    Thanks for your answer. I will double check today at work on another machine with a flat eval install. No, I did not modify anything on the sample, but I have Sun's JDK/JRE 1.6.0_04 and a lot of installed applications and services on that computer (Avast!4, some Vmware stuff, VS2005, VS2008). Don't know if it can cause trouble (can't see why actually) but will recompile at work tomorrow and keep in touch. Regards,
  6. Hello everybody, Just downloaded JET 6.0 evaluation package. I tried the Invocation/cMain sample and there is a problem with it, it does not properly terminate. To be more precise, I traced C code through printf and discovered that finalizeJavaRT function never returns, since the call to (*jvm)->DestroyJavaVM (jvm) does not return at all. Is it a known bug ? Any tip ? How to fix it ? I am going to build a Win32 product heavily relying on native DLLs containing Java code, compiled through JET, that sounds critical for me (and to buy the product.... or not ). Thanks in advance for your valuable help. Regards, Romain Tisserand [EDIT] : I'm using JET 6.0 30-day eval, Windows Vista (32-bit) on an AMD X2 4200+ Box with 2 Go of RAM. Sample compiled with JDK 1.6.0_04 and VS2005 SP1.
×