Jump to content
Excelsior Forums

Freddy

Members
  • Content count

    0
  • Joined

  • Last visited

Posts posted by Freddy


  1. If anyone would ever needs this:

    I was trying to load 64bit dll as I was using 64bit JRE.

    However JET version I'm using is 32bit and it just needed 32bit dll which works fine.

    -----------------------------------------------------

    Regarding the "New project" after test run.

    From the email:

    >> When the test run is ending, JET wants me to create a new project with command like this:

    >> java -cp "<paths_to_all_jars>" com.sun.jna.Native$DeleteNativeLibrary C:\Users\Freddy\AppData\Local\Temp\jna2338540727581562715.dll

    It looks like your program tries to create new "java.exe" process, am I right? Generally it is a bad idea to create new Java process because "java.exe" is not a part of Java Platform and may be implemented in various ways in various JVMs. It is a good idea to directly call required methods or do it using reflection.

    However I'm not creating a new "java.exe" process. Maybe some code in JNA does.


  2. I'm new to this (JNA and .dll), so having some problems.

    My JAVA SE program is quite simple, but uses JNA to load one third party .dll library.

    .dll file location is in the working directory.

    Command line:

    java -cp "<paths_to_all_jars>" my.package.Main

    When running from CMD (in JVM obviously) the JNA finds and loads the .dll from working directory without any errors.

    When performing a test run in JET, JNA throws an exception that it's unable to load the library and module could not be found.

    When the test run is ending, JET wants me to create a new project with command like this:

    java -cp "<paths_to_all_jars>" com.sun.jna.Native$DeleteNativeLibrary C:\Users\Freddy\AppData\Local\Temp\jna2338540727581562715.dll

    Not sure why and what it does.

    Could you guide me what I'm doing wrong and how to solve this?

    Thank you.


  3. I don't use JNI.

    And I think none of the libraries use it (just simple .jar files with .class files).

    I can't reproduce it, but as far as I know it only happened few times to him (and there are many other users who don't experience this).

    So I guess it doesn't really matter so much and will be fine.


  4. Hello,

    I was wondering why this could happen?

    I'm the developer of the software, one user reported this today.

    JET RUNTIME HAS DETECTED UNRECOVERABLE ERROR #17 (system exception).
    Please, contact the vendor of the application.
    
    Exception 0xC0000005 (EXCEPTION_ACCESS_VIOLATION) at 0x0
    Failed to read memory at 0x0
    
    PID 4348, TID 4352
    
    Registers:
    
     EAX = 0x0  EBX = 0x14FF4B18
     ECX = 0x15025F90  EDX = 0x0
     ESI = 0x3210B78  EDI = 0x3342A28
     EBP = 0x1  ESP = 0x10FD5C
     EIP = 0x0
    
    Stack:
    
     0x10FD5C:  0x32107B8 0x31F6BB8 0x2 0x33C0002
     0x10FD6C:  0x3 0x3342A28 0x32107B8 0x12275C8
     0x10FD7C:  0x0 0x3342A28 0x3210B78 0x12275C8
     0x10FD8C:  0x0 0x482179 0x3342A28 0x2B4A660
    
    Version Information:
    
     Java version: 1.6.0_27
     Excelsior JET 7.60 Professional edition
     Build info: RT: Professional edition, build jet-760-release (Fri Sep 16 02:12:50 NOVST 2011)
     JET Profile: 1.6.0_27 (binary compatibility level 0)
     Runtime: Desktop
     Application was deployed
    
    Options and system properties:
    
     -Djet.jit.fast=
     -Djet.jit.disable.resolution=
     -Djet.gc.heaplimit=0
     -Djet.gc.ratio=200
    
    Entry point type: exe
    
    Command line: "D:\Yedek\Program\program.exe" 
    
    OS:
    
    Windows XP Service Pack 2 build 2600
    
    Process Modules:
    
    0x400000 - 0x24b5000     D:\Yedek\Program\program.exe
    0x7c8f0000 - 0x7c9a1000     C:\WINDOWS\system32\ntdll.dll
    0x7c800000 - 0x7c8ef000     C:\WINDOWS\system32\kernel32.dll
    0x64d00000 - 0x64d34000     C:\Program Files\Alwil Software\Avast5\snxhk.dll
    0x77dc0000 - 0x77e6b000     C:\WINDOWS\system32\ADVAPI32.DLL
    0x77e70000 - 0x77f02000     C:\WINDOWS\system32\RPCRT4.dll
    0x77fe0000 - 0x77ff1000     C:\WINDOWS\system32\Secur32.dll
    0x77f10000 - 0x77f58000     C:\WINDOWS\system32\GDI32.DLL
    0x77d30000 - 0x77dc0000     C:\WINDOWS\system32\USER32.dll
    0x7c9b0000 - 0x7d1c7000     C:\WINDOWS\system32\SHELL32.DLL
    0x77c00000 - 0x77c58000     C:\WINDOWS\system32\msvcrt.dll
    0x77f60000 - 0x77fd6000     C:\WINDOWS\system32\SHLWAPI.dll
    0x76b30000 - 0x76b5d000     C:\WINDOWS\system32\WINMM.DLL
    0x76370000 - 0x7638d000     C:\WINDOWS\system32\IMM32.DLL
    0x773c0000 - 0x774c2000     C:\WINDOWS\WinSxS\x86_Microsoft.Windows.Common-Controls_6595b64144ccf1df_6.0.2600.2180_x-ww_a84f1ff9\comctl32.dll
    0x7c340000 - 0x7c396000     D:\Yedek\Program\rt\bin\msvcr71.dll
    0x2dd0000 - 0x2dd5000     D:\Yedek\Program\rt\bin\jetvm\jvm.dll
    0x2df0000 - 0x2df8000     D:\Yedek\Program\rt\bin\hpi.dll
    0x2e00000 - 0x2e11000     D:\Yedek\Program\rt\bin\java.dll
    0x30e0000 - 0x3100000     D:\Yedek\Program\rt\bin\zip.dll
    0x3110000 - 0x3138000     C:\WINDOWS\system32\rsaenh.dll
    0x769b0000 - 0x76a63000     C:\WINDOWS\system32\USERENV.dll
    0x6ff90000 - 0x6ffe4000     C:\WINDOWS\system32\netapi32.dll
    0x3140000 - 0x3153000     D:\Yedek\Program\rt\bin\net.dll
    0x71aa0000 - 0x71ab7000     C:\WINDOWS\system32\WS2_32.dll
    0x71a90000 - 0x71a98000     C:\WINDOWS\system32\WS2HELP.dll
    0x71a40000 - 0x71a7f000     C:\WINDOWS\System32\mswsock.dll
    0x76f10000 - 0x76f37000     C:\WINDOWS\system32\DNSAPI.dll
    0x76fa0000 - 0x76fa8000     C:\WINDOWS\System32\winrnr.dll
    0x76f50000 - 0x76f7c000     C:\WINDOWS\system32\WLDAP32.dll
    0x76fb0000 - 0x76fb6000     C:\WINDOWS\system32\rasadhlp.dll
    0x151b0000 - 0x152fc000     D:\Yedek\Program\rt\bin\awt.dll
    0x72fd0000 - 0x72ff6000     C:\WINDOWS\system32\WINSPOOL.DRV
    0x774d0000 - 0x7760c000     C:\WINDOWS\system32\ole32.dll
    0x5b2a0000 - 0x5b2d8000     C:\WINDOWS\system32\uxtheme.dll
    0x746f0000 - 0x7473b000     C:\WINDOWS\system32\MSCTF.dll
    0x75470000 - 0x7549e000     C:\WINDOWS\system32\msctfime.ime
    0x15630000 - 0x1567f000     D:\Yedek\Program\rt\bin\fontmanager.dll
    0x77110000 - 0x7719c000     C:\WINDOWS\system32\OLEAUT32.DLL
    0x15680000 - 0x15687000     C:\Program Files\Internet Download Manager\idmmkb.dll
    0x76be0000 - 0x76beb000     C:\WINDOWS\system32\psapi.dll
    
    JET-compiled Components:
    
    D:\Yedek\Program\program.exe: exe, version info: jet-760-release (pro, en)
    
    Java Stack Trace: not available
    


  5. Hello,

    got the news email.

    The new version looks very nice, but when I install it I see that it's "Evaluation" version.

    I wonder why it's not the "Professional" as I know programs compiled with "Evaluation" will expire and will be unusable after 90 days.

    Where could I get the "Professional" one?

    Regards

    Edit: got the answer from the email, will wait for the final version.

×