Infencoder.jar not running on JRE 10.0.1

I’m new to the MAKERbuino community, but loving it so far. I’ve got my first game ready to go (.HEX file created fine), but can’t get Infencoder.jar to work.

The version I downloaded is here http://legacy.gamebuino.com/wiki/index.php?title=Download, but I’ve tried other versions and the problem is the same.

I’ve tried running as an administrator, but that doesn’t help.

If I run at the command line, I get the following errors:

Exception in thread “AWT-EventQueue-0” java.lang.NoClassDefFoundError: javax/activation/ActivationDataFlavor
at infencoder.InfFrame.(InfFrame.java:71)
at infencoder.InfFrame$7.run(InfFrame.java:462)
at java.desktop/java.awt.event.InvocationEvent.dispatch(Unknown Source)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(Unknown Source)
at java.desktop/java.awt.EventQueue.access$600(Unknown Source)
at java.desktop/java.awt.EventQueue$4.run(Unknown Source)
at java.desktop/java.awt.EventQueue$4.run(Unknown Source)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
at java.desktop/java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.desktop/java.awt.EventDispatchThread.run(Unknown Source)
Caused by: java.lang.ClassNotFoundException: javax.activation.ActivationDataFlavor
at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(Unknown Source)
at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(Unknown Source)
at java.base/java.lang.ClassLoader.loadClass(Unknown Source)
… 16 more

Can anyone help?

Ok - so I’ve tried installing an old JRE (from here https://download.cnet.com/Java-Runtime-Environment-JRE/3000-2378_4-10009607.html) and it seems to work fine now…

1 Like

@andyhighnumber, congrats on making it work.

This is quite strange, the last time I tried running it, it worked quite fine.

I’ll look into it and do something about it.

Thanks!