jni4net with java 12

93 views
Skip to first unread message

Matías Luna

unread,
Jul 26, 2019, 2:33:13 AM7/26/19
to jni4net
Hi there! I am getting an error when I try to run proxygen with java 12.0.2 installed:

jni4net.proxygen - Copyright (C) 2009 Pavel Savara - licensed under GPLv3net.sf.jni4net.jni.JNIException: Can't initialize proxy java.lang.System ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> java.lang.LinkageError: runFinalizersOnExit
  at net.sf.jni4net.jni.JNIEnv.ExceptionTest()
  at net.sf.jni4net.jni.JNIEnv.GetStaticMethodID(Class clazz, String name, String sig)
  at java.lang.System.InitJNI(JNIEnv __env, Class __class)

Do I have to mandatory downgrade to java 8, or is there any way to run this command under java 12?
Thanks!
Matias
Reply all
Reply to author
Forward
0 new messages