Topic
1 reply Latest Post - ‏2013-04-19T11:32:59Z by IndigoPrime
SystemAdmin
SystemAdmin
2948 Posts
ACCEPTED ANSWER

Pinned topic Getting error purifying Java/JNI app

‏2008-11-13T18:40:16Z |
I am trying to purify a Java/JNI app on Windows but it fails to run with this error:

Error occurred during initialization of VM
java.lang.InternalError: Handle for JVM not found for symbol lookup

I have these run settings:
program: C:\Program Files\Java\jre1.5.0_16\bin\java.exe
cmd line arguments: -classpath "<path/jar file>" -Xms512m -Xmx512m <classname>
working dir: C:\Program Files\Java\jre1.5.0_16\bin

Any suggestions what might I be doing wrong?
  • IndigoPrime
    IndigoPrime
    1 Post
    ACCEPTED ANSWER

    Re: Getting error purifying Java/JNI app

    ‏2013-04-19T11:32:59Z  in response to SystemAdmin

    I realise this is an old post, but I'm encountering this issue and cannot find a resolution or a workaround. I'm running a C++ app that uses JNI to make calls into a Java library. When I purify the C++ app, at the point where the app tries to create the JVM, I get errors:

    Error occurred during initialization of VM
    java.lang.InternalError: Handle for JVM not found for symbol lookup
            at sun.misc.VM.initialize(Native Method)
            at sun.misc.VM.<clinit>(VM.java:332)
            at java.lang.Integer.getAndRemoveCacheProperties(Integer.java:571)
            at java.lang.System.initializeSystemClass(System.java:1082)

    The app runs fine outside Purify.

    Any guidnce would be much appreciated!