Java Modules, cannot find charset Big5
Hi,
I am trying to write an extension that uses apache poi (https://poi.apache.org) to read Excel-files and import the contents. The problem is that POI tries to load the Big5 charset, which is not one of the standard ones. Big5 is located in the jdk.charsets module (https://docs.oracle.com/en/java/javase/11/intl/supported-encodings.html#GUID-D29CF3AD-FC0B-465F-8897-C38C0395AB02) , and I cannot find a way to load this module when starting moneydance.
I also tried to write my extension as a module using module-info.java and add jdk.charsets as a dependency. But after adding a module-info.java into the project Eclipse gives compilation errors. The suggested fix is to add 'requires moneydance.dev' to module-info.java, but that throws another error since "moneydance.dev cannot be resolved to be a module".
Another attempt was to add a compilerarg '--add-modules jdk.charsets' in javac during build, but this does not seem to have any effect. Adding --load-modules jdk.charsets in mondeydance.vmoptions doesn't have any effects either.
Any help?
I have the moneydance 5.1 SDK and moneydance 2019.3 installed.
Keyboard shortcuts
Generic
? | Show this help |
---|---|
ESC | Blurs the current field |
Comment Form
r | Focus the comment reply box |
---|---|
^ + ↩ | Submit the comment |
You can use Command ⌘
instead of Control ^
on Mac