Tuesday, February 6, 2018

Re: {Disarmed} [pcgen] Problem running PCGen - appears to be an awt error

 

Hi All.

I'm re-submitting this because the last go-around got nothing useful.

Details are now pcgen 6.07.06 + Ubuntu-MATE 16.04 + openjdk9.

There was no .sh file included in the latest full zip file, so I copied the one from my laptop, which has a similar setup but with openjdk 8. Running the java command directly returns the same result. Is openjdk the problem here, as it seems to be the outlier between this system, my previous system, and my laptop.

I hope someone can help. Not being able to run pcgen on my desktop is driving me nuts. I had hoped to use openjdk 9 (latest version, etc), but I'll re-install if necessary.

Thanks
Pete


On 28/11/17 22:43, UnclePete uncle@cheerful.com [pcgen] wrote:
 

Evening, All.

I have just finished installing a shiny new desktop - UbuntoMATE 16.04 +
openjdk9 + pcgen 6.07.05

When I try to run pcgen, I get the following java error:

./pcgen.sh
Available memory: 366500 kB
There is less than 1 GB of free memory available. Will keep default
memory limits
min: 256 MB, max: 512 MB
22:25:00.864 INFO main Main:140 Starting PCGen v6.07.05
22:25:01.90 INFO main LanguageBundle:133 Initialising language bundle
with locale en_AU.
22:25:01.518 SEVERE main Main:544 Uncaught error - ignoring
java.lang.reflect.InaccessibleObjectException: Unable to make member of
class sun.awt.X11.XToolkit accessible:  module java.desktop does not
export sun.awt.X11 to unnamed module @59f99ea
    at
sun.reflect.Reflection.throwInaccessibleObjectException(java.base@9-internal/Reflection.java:420)
    at
java.lang.reflect.AccessibleObject.checkCanSetAccessible(java.base@9-internal/AccessibleObject.java:174)
    at
java.lang.reflect.Field.checkCanSetAccessible(java.base@9-internal/Field.java:170)
    at
java.lang.reflect.Field.setAccessible(java.base@9-internal/Field.java:164)
    at pcgen.gui2.tools.Utility.setApplicationTitle(Utility.java:478)
    at pcgen.system.Main.configureUI(Main.java:277)
    at pcgen.system.Main.startupWithGUI(Main.java:231)
    at pcgen.system.Main.main(Main.java:161)

I vaguely remember having to tweak  something to do with awt on a
previous install (openjdk8), but I didn't take notes and I can't find
any reference to it.

I also note that the pcgen.sh file was not included in the
pcgen-6.07.05-full.zip file - I copied the .sh file from my prior PCGen
installation - I couldn't see anything in there that would be an issue.

Thanks for any assistance.

Pete


__._,_.___

Posted by: UnclePete <uncle@cheerful.com>
Reply via web post Reply to sender Reply to group Start a New Topic Messages in this topic (4)

Have you tried the highest rated email app?
With 4.5 stars in iTunes, the Yahoo Mail app is the highest rated email app on the market. What are you waiting for? Now you can access all your inboxes (Gmail, Outlook, AOL and more) in one place. Never delete an email again with 1000GB of free cloud storage.

PCGen&#39;s Mailing Lists and Links: http://wiki.pcgen.org/Mailing_Lists_and_PCGen_Links

.

__,_._,___

No comments:

Post a Comment