Re: New WEKA release: 3.8.6/3.9.6

Michael Hall <[email protected]>
Newsgroups gmane.comp.ai.weka
Message-ID <[email protected]>

> On Feb 7, 2022, at 8:16 PM, Eibe Frank <[email protected]> wrote:
> 
> WEKA 3.8.6/3.9.6 has been released. The Windows, Mac, and Linux versions include a Java 17 runtime now. 

Quite the jump.

I take it quite a few packages might need updating…

WekaPackageManager] Skipping package RPlugin because it is not compatible with Weka 3.8.6
[WekaPackageManager] Skipping package distributedWekaSpark because it is not compatible with Weka 3.8.6
[WekaPackageManager] Skipping package command-to-code because it is not compatible with Weka 3.8.6
[WekaPackageManager] Skipping package wekaServer because it is not compatible with Weka 3.8.6
[WekaPackageManager] Skipping package XGBoost because it is not compatible with Weka 3.8.6
[WekaPackageManager] Skipping package command-to-code because it is not compatible with Weka 3.8.6
[WekaPackageManager] Skipping package distributedWekaBase because it is not compatible with Weka 3.8.6

My application including weka.jar that does this at startup…

WekaPackageManager.loadPackages(false,true,false);

Still gets a startup exception…

java.lang.reflect.InaccessibleObjectException: Unable to make protected final java.lang.Class java.lang.ClassLoader.defineClass(java.lang.String,byte[],int,int,java.security.ProtectionDomain) throws java.lang.ClassFormatError accessible: module java.base does not "opens java.lang" to unnamed module @4426bff1
	at java.base/java.lang.reflect.AccessibleObject.checkCanSetAccessible(Unknown Source)
	at java.base/java.lang.reflect.AccessibleObject.checkCanSetAccessible(Unknown Source)
	at java.base/java.lang.reflect.Method.checkCanSetAccessible(Unknown Source)
	at java.base/java.lang.reflect.Method.setAccessible(Unknown Source)
	at weka.core.WekaPackageClassLoaderManager.injectClasses(WekaPackageClassLoaderManager.java:792)
	at weka.core.WekaPackageClassLoaderManager.injectAllClassesInFromStream(WekaPackageClassLoaderManager.java:690)
	at weka.core.WekaPackageClassLoaderManager.injectMTJCoreClasses(WekaPackageClassLoaderManager.java:118)
	at weka.core.WekaPackageManager.<clinit>(WekaPackageManager.java:255)
	at org.cmdline.common.Initializer.initialize(Initializer.java:51)
	at org.cmdline.common.Initializer.getScheduler(Initializer.java:102)
	at org.cmdline.CommandLine.main(CommandLine.java:59)
	at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(Unknown Source)
	at java.base/java.lang.reflect.Method.invoke(Unknown Source)
	at us.hall.hp.common.LoaderLaunchStub.invoke(LoaderLaunchStub.java:234)
	at us.hall.hp.common.LoaderLaunchStub.runStatic(LoaderLaunchStub.java:224)
	at us.hall.hp.common.LoaderLaunchStub.runMain(LoaderLaunchStub.java:216)
	at us.hall.hp.common.LoaderLaunchStub.launch(LoaderLaunchStub.java:204)
	at us.hall.hp.common.LoaderLaunchStub.main(LoaderLaunchStub.java:116)

_______________________________________________
Wekalist mailing list -- [email protected]
Send posts to [email protected]
To unsubscribe send an email to [email protected]
To subscribe, unsubscribe, etc., visit https://list.waikato.ac.nz/postorius/lists/wekalist.list.waikato.ac.nz
List etiquette: http://www.cs.waikato.ac.nz/~ml/weka/mailinglist_etiquette.html
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.