>>>>> Jeff Galyan writes:

    Jeff> Jean-Pierre Fournier wrote:
    >> 
    >> Does anyone know how one could get the same
    >> functionality as the -verbose option when
    >> starting a JVM from the commandline from
    >> within java or C?
    >> 

    Jeff> Unfortunately, JNI in 1.1.x doesn't give you a way to
    Jeff> specify JVM init arguments when you create a Java VM from
    Jeff> native code. If you can be absolutely sure that all your
    Jeff> deployment will be on Java 2, then the above will do the
    Jeff> trick for you.

It works for 1.1.x too, just set vm_args.verbose = 1.


        Juergen

-- 
Juergen Kreileder, Blackdown Java-Linux Team
http://www.blackdown.org/java-linux.html


----------------------------------------------------------------------
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to