Closed websterp1 closed 9 years ago
Hi,
Oracle changed a lot of the com.sun to com.oracle packages on the back end for Java 7 -> Java 8
Can you try with Oracle Java 1.7_21 ?
Rob
On Tue, Apr 14, 2015 at 2:39 PM, websterp1 notifications@github.com wrote:
So as the title indicates, I'm running Lubuntu 14.04 Trusty Tahr. That is ubuntu with KDE environment. I downloaded and attempted to run Anathema 5.1.3. I performed the following steps.
unpacked the zip and put it into it's own folder chmod +x anathema.sh sudo sh ./anathema.sh
I am obviously doing this from a terminal. I get the splash loading screen while it processing the shell script. Due to the errors it asks me to terminate following the script.
here is my output. I am using Sun's J8 as is indicated by the output that follows. Let me know if I should try something else to get this to run.
paul@paul-Satellite-A355D:~/Anathema$ sudo sh ./anathema.sh Java version 1.8.0_40 detected in /usr/bin/java... Running Anathema from /usr/share/anathema with repository /home/paul/.anathema/repository ./anathema.sh: 31: cd: can't cd to /usr/share/anathema Loading JavaFX from /usr/lib/jvm/java-8-oracle/jre/lib/jfxrt.jar 14:21:51.706 [main] INFO net.sf.anathema.Anathema - Launching Anathema 14:21:54.011 [AWT-EventQueue-0] INFO org.reflections.Reflections - Reflections took 1498 ms to scan 63 urls, producing 1005 keys and 1279 values 14:21:54.719 [AWT-EventQueue-0] INFO n.s.a.initialization.GuiInitializer - Program version is 5.1.3 14:21:54.956 [AWT-EventQueue-0] INFO n.s.a.c.g.f.DataSetInitializer - Spells: Found 2 data files. 14:21:55.451 [AWT-EventQueue-0] INFO n.s.a.c.g.f.DataSetInitializer - Charms: Found 454 data files. 14:21:58.573 [AWT-EventQueue-0] INFO n.s.a.c.g.f.DataSetInitializer - CharacterTemplateExtensions: Found 105 data files. 14:21:58.637 [AWT-EventQueue-0] INFO n.s.a.c.g.f.DataSetInitializer - CharacterTemplates: Found 35 data files. 14:22:00.370 [AWT-EventQueue-0] INFO n.s.a.c.p.bootjob.RepositoryCleanup - Found repository at version 5.1.3. 14:22:00.371 [AWT-EventQueue-0] INFO n.s.a.c.p.bootjob.RepositoryCleanup - No update necessary. 14:22:01.619 [AWT-EventQueue-0] ERROR n.s.a.f.s.SwingDialogExceptionHandler - Uncaught Exception java.lang.ExceptionInInitializerError: null at net.sf.anathema.fx.character.perspective.CharacterGridFxView.(CharacterGridFxView.java:26) ~[character_main_fx.jar:na] at net.sf.anathema.swing.character.perspective.CharacterSystemView.(CharacterSystemView.java:15) ~[character_main_swing.jar:na] at net.sf.anathema.character.platform.module.perspective.CharacterSystemPerspective.initContent(CharacterSystemPerspective.java:32) ~[character_main_impl.jar:na] at net.sf.anathema.framework.view.perspective.PerspectiveStack.add(PerspectiveStack.java:23) ~[platform_swing.jar:na] at net.sf.anathema.framework.view.perspective.PerspectivePaneFactory.createContent(PerspectivePaneFactory.java:32) ~[platform_swing.jar:na] at net.sf.anathema.framework.view.SwingApplicationFrame.createContentPane(SwingApplicationFrame.java:72) ~[platform_swing.jar:na] at net.sf.anathema.framework.view.SwingApplicationFrame.show(SwingApplicationFrame.java:38) ~[platform_swing.jar:na] at net.sf.anathema.Anathema$1.run(Anathema.java:45) ~[platform_swing.jar:na] at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311) ~[na:1.8.0_40] at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:749) ~[na:1.8.0_40] at java.awt.EventQueue.access$500(EventQueue.java:97) ~[na:1.8.0_40] at java.awt.EventQueue$3.run(EventQueue.java:702) ~[na:1.8.0_40] at java.awt.EventQueue$3.run(EventQueue.java:696) ~[na:1.8.0_40] at java.security.AccessController.doPrivileged(Native Method) ~[na:1.8.0_40] at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:75) ~[na:1.8.0_40] at java.awt.EventQueue.dispatchEvent(EventQueue.java:719) ~[na:1.8.0_40] at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201) [na:1.8.0_40] at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116) [na:1.8.0_40] at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105) [na:1.8.0_40] at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101) [na:1.8.0_40] at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93) [na:1.8.0_40] at java.awt.EventDispatchThread.run(EventDispatchThread.java:82) [na:1.8.0_40] Caused by: java.lang.IllegalStateException: Toolkit not initialized at com.sun.javafx.application.PlatformImpl.runLater(PlatformImpl.java:273) ~[jfxrt.jar:na] at com.sun.javafx.application.PlatformImpl.runLater(PlatformImpl.java:268) ~[jfxrt.jar:na] at com.sun.javafx.application.PlatformImpl.setPlatformUserAgentStylesheet(PlatformImpl.java:550) ~[jfxrt.jar:na] at com.sun.javafx.application.PlatformImpl.setDefaultPlatformUserAgentStylesheet(PlatformImpl.java:512) ~[jfxrt.jar:na] at javafx.scene.control.Control.(Control.java:87) ~[jfxrt.jar:na] ... 22 common frames omitted 14:22:01.627 [AWT-EventQueue-0] ERROR n.s.a.f.s.SwingDialogExceptionHandler - java.lang.ExceptionInInitializerError: null at net.sf.anathema.fx.character.perspective.CharacterGridFxView.(CharacterGridFxView.java:26) ~[character_main_fx.jar:na] at net.sf.anathema.swing.character.perspective.CharacterSystemView.(CharacterSystemView.java:15) ~[character_main_swing.jar:na] at net.sf.anathema.character.platform.module.perspective.CharacterSystemPerspective.initContent(CharacterSystemPerspective.java:32) ~[character_main_impl.jar:na] at net.sf.anathema.framework.view.perspective.PerspectiveStack.add(PerspectiveStack.java:23) ~[platform_swing.jar:na] at net.sf.anathema.framework.view.perspective.PerspectivePaneFactory.createContent(PerspectivePaneFactory.java:32) ~[platform_swing.jar:na] at net.sf.anathema.framework.view.SwingApplicationFrame.createContentPane(SwingApplicationFrame.java:72) ~[platform_swing.jar:na] at net.sf.anathema.framework.view.SwingApplicationFrame.show(SwingApplicationFrame.java:38) ~[platform_swing.jar:na] at net.sf.anathema.Anathema$1.run(Anathema.java:45) ~[platform_swing.jar:na] at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311) ~[na:1.8.0_40] at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:749) ~[na:1.8.0_40] at java.awt.EventQueue.access$500(EventQueue.java:97) ~[na:1.8.0_40] at java.awt.EventQueue$3.run(EventQueue.java:702) ~[na:1.8.0_40] at java.awt.EventQueue$3.run(EventQueue.java:696) ~[na:1.8.0_40] at java.security.AccessController.doPrivileged(Native Method) ~[na:1.8.0_40] at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:75) ~[na:1.8.0_40] at java.awt.EventQueue.dispatchEvent(EventQueue.java:719) ~[na:1.8.0_40] at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201) [na:1.8.0_40] at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116) [na:1.8.0_40] at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105) [na:1.8.0_40] at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101) [na:1.8.0_40] at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93) [na:1.8.0_40] at java.awt.EventDispatchThread.run(EventDispatchThread.java:82) [na:1.8.0_40] Caused by: java.lang.IllegalStateException: Toolkit not initialized at com.sun.javafx.application.PlatformImpl.runLater(PlatformImpl.java:273) ~[jfxrt.jar:na] at com.sun.javafx.application.PlatformImpl.runLater(PlatformImpl.java:268) ~[jfxrt.jar:na] at com.sun.javafx.application.PlatformImpl.setPlatformUserAgentStylesheet(PlatformImpl.java:550) ~[jfxrt.jar:na] at com.sun.javafx.application.PlatformImpl.setDefaultPlatformUserAgentStylesheet(PlatformImpl.java:512) ~[jfxrt.jar:na] at javafx.scene.control.Control.(Control.java:87) ~[jfxrt.jar:na] ... 22 common frames omitted
— Reply to this email directly or view it on GitHub https://github.com/anathema/anathema/issues/380.
I was hesitant to downgrade beyond 1.7_45 as there were some nasty exploits that were patched to fix the holes in the code and the beginning of last year. (or was it the year before...I can't remember) Regardless, I did downgrade to 1.7_76 from 1.8 java. After doing this I had no issue running the program, so it was in fact Java 8 that was preventing me from running.
OS: Kubutu 14.04 Trusty Tahr DE: KDE Java: Oracle 1.7 update 76 Anathema loaded OK.
thanks for the heads up on downgrading even if I didn't take it all the way down to 21.
FYI I just fired up the under 1.7_76 and it does work.
On Tue, Apr 14, 2015 at 5:38 PM, websterp1 notifications@github.com wrote:
I was hesitant to downgrade beyond 1.7_45 as there were some nasty exploits that were patched to fix the holes in the code and the beginning of last year. (or was it the year before...I can't remember) Regardless, I did downgrade to 1.7_76 from 1.8 java. After doing this I had no issue running the program, so it was in fact Java 8 that was preventing me from running.
OS: Kubutu 14.04 Trusty Tahr DE: KDE Java: Oracle 1.7 update 76 Anathema loaded OK.
thanks for the heads up on downgrading even if I didn't take it all the way down to 21.
— Reply to this email directly or view it on GitHub https://github.com/anathema/anathema/issues/380#issuecomment-93073298.
So as the title indicates, I'm running Lubuntu 14.04 Trusty Tahr. That is ubuntu with KDE environment. I downloaded and attempted to run Anathema 5.1.3. I performed the following steps.
unpacked the zip and put it into it's own folder chmod +x anathema.sh sudo sh ./anathema.sh
I am obviously doing this from a terminal. I get the splash loading screen while it processing the shell script. Due to the errors it asks me to terminate following the script.
here is my output. I am using Sun's J8 as is indicated by the output that follows. Let me know if I should try something else to get this to run.
paul@paul-Satellite-A355D:~/Anathema$ sudo sh ./anathema.sh Java version 1.8.0_40 detected in /usr/bin/java... Running Anathema from /usr/share/anathema with repository /home/paul/.anathema/repository ./anathema.sh: 31: cd: can't cd to /usr/share/anathema Loading JavaFX from /usr/lib/jvm/java-8-oracle/jre/lib/jfxrt.jar 14:21:51.706 [main] INFO net.sf.anathema.Anathema - Launching Anathema 14:21:54.011 [AWT-EventQueue-0] INFO org.reflections.Reflections - Reflections took 1498 ms to scan 63 urls, producing 1005 keys and 1279 values 14:21:54.719 [AWT-EventQueue-0] INFO n.s.a.initialization.GuiInitializer - Program version is 5.1.3 14:21:54.956 [AWT-EventQueue-0] INFO n.s.a.c.g.f.DataSetInitializer - Spells: Found 2 data files. 14:21:55.451 [AWT-EventQueue-0] INFO n.s.a.c.g.f.DataSetInitializer - Charms: Found 454 data files. 14:21:58.573 [AWT-EventQueue-0] INFO n.s.a.c.g.f.DataSetInitializer - CharacterTemplateExtensions: Found 105 data files. 14:21:58.637 [AWT-EventQueue-0] INFO n.s.a.c.g.f.DataSetInitializer - CharacterTemplates: Found 35 data files. 14:22:00.370 [AWT-EventQueue-0] INFO n.s.a.c.p.bootjob.RepositoryCleanup - Found repository at version 5.1.3. 14:22:00.371 [AWT-EventQueue-0] INFO n.s.a.c.p.bootjob.RepositoryCleanup - No update necessary. 14:22:01.619 [AWT-EventQueue-0] ERROR n.s.a.f.s.SwingDialogExceptionHandler - Uncaught Exception java.lang.ExceptionInInitializerError: null at net.sf.anathema.fx.character.perspective.CharacterGridFxView.(CharacterGridFxView.java:26) ~[character_main_fx.jar:na]
at net.sf.anathema.swing.character.perspective.CharacterSystemView.(CharacterSystemView.java:15) ~[character_main_swing.jar:na]
at net.sf.anathema.character.platform.module.perspective.CharacterSystemPerspective.initContent(CharacterSystemPerspective.java:32) ~[character_main_impl.jar:na]
at net.sf.anathema.framework.view.perspective.PerspectiveStack.add(PerspectiveStack.java:23) ~[platform_swing.jar:na]
at net.sf.anathema.framework.view.perspective.PerspectivePaneFactory.createContent(PerspectivePaneFactory.java:32) ~[platform_swing.jar:na]
at net.sf.anathema.framework.view.SwingApplicationFrame.createContentPane(SwingApplicationFrame.java:72) ~[platform_swing.jar:na]
at net.sf.anathema.framework.view.SwingApplicationFrame.show(SwingApplicationFrame.java:38) ~[platform_swing.jar:na]
at net.sf.anathema.Anathema$1.run(Anathema.java:45) ~[platform_swing.jar:na]
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311) ~[na:1.8.0_40]
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:749) ~[na:1.8.0_40]
at java.awt.EventQueue.access$500(EventQueue.java:97) ~[na:1.8.0_40]
at java.awt.EventQueue$3.run(EventQueue.java:702) ~[na:1.8.0_40]
at java.awt.EventQueue$3.run(EventQueue.java:696) ~[na:1.8.0_40]
at java.security.AccessController.doPrivileged(Native Method) ~[na:1.8.0_40]
at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:75) ~[na:1.8.0_40]
at java.awt.EventQueue.dispatchEvent(EventQueue.java:719) ~[na:1.8.0_40]
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201) [na:1.8.0_40]
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116) [na:1.8.0_40]
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105) [na:1.8.0_40]
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101) [na:1.8.0_40]
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93) [na:1.8.0_40]
at java.awt.EventDispatchThread.run(EventDispatchThread.java:82) [na:1.8.0_40]
Caused by: java.lang.IllegalStateException: Toolkit not initialized
at com.sun.javafx.application.PlatformImpl.runLater(PlatformImpl.java:273) ~[jfxrt.jar:na]
at com.sun.javafx.application.PlatformImpl.runLater(PlatformImpl.java:268) ~[jfxrt.jar:na]
at com.sun.javafx.application.PlatformImpl.setPlatformUserAgentStylesheet(PlatformImpl.java:550) ~[jfxrt.jar:na]
at com.sun.javafx.application.PlatformImpl.setDefaultPlatformUserAgentStylesheet(PlatformImpl.java:512) ~[jfxrt.jar:na]
at javafx.scene.control.Control.(Control.java:87) ~[jfxrt.jar:na]
... 22 common frames omitted
14:22:01.627 [AWT-EventQueue-0] ERROR n.s.a.f.s.SwingDialogExceptionHandler -
java.lang.ExceptionInInitializerError: null
at net.sf.anathema.fx.character.perspective.CharacterGridFxView.(CharacterGridFxView.java:26) ~[character_main_fx.jar:na]
at net.sf.anathema.swing.character.perspective.CharacterSystemView.(CharacterSystemView.java:15) ~[character_main_swing.jar:na]
at net.sf.anathema.character.platform.module.perspective.CharacterSystemPerspective.initContent(CharacterSystemPerspective.java:32) ~[character_main_impl.jar:na]
at net.sf.anathema.framework.view.perspective.PerspectiveStack.add(PerspectiveStack.java:23) ~[platform_swing.jar:na]
at net.sf.anathema.framework.view.perspective.PerspectivePaneFactory.createContent(PerspectivePaneFactory.java:32) ~[platform_swing.jar:na]
at net.sf.anathema.framework.view.SwingApplicationFrame.createContentPane(SwingApplicationFrame.java:72) ~[platform_swing.jar:na]
at net.sf.anathema.framework.view.SwingApplicationFrame.show(SwingApplicationFrame.java:38) ~[platform_swing.jar:na]
at net.sf.anathema.Anathema$1.run(Anathema.java:45) ~[platform_swing.jar:na]
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311) ~[na:1.8.0_40]
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:749) ~[na:1.8.0_40]
at java.awt.EventQueue.access$500(EventQueue.java:97) ~[na:1.8.0_40]
at java.awt.EventQueue$3.run(EventQueue.java:702) ~[na:1.8.0_40]
at java.awt.EventQueue$3.run(EventQueue.java:696) ~[na:1.8.0_40]
at java.security.AccessController.doPrivileged(Native Method) ~[na:1.8.0_40]
at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:75) ~[na:1.8.0_40]
at java.awt.EventQueue.dispatchEvent(EventQueue.java:719) ~[na:1.8.0_40]
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201) [na:1.8.0_40]
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116) [na:1.8.0_40]
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105) [na:1.8.0_40]
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101) [na:1.8.0_40]
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93) [na:1.8.0_40]
at java.awt.EventDispatchThread.run(EventDispatchThread.java:82) [na:1.8.0_40]
Caused by: java.lang.IllegalStateException: Toolkit not initialized
at com.sun.javafx.application.PlatformImpl.runLater(PlatformImpl.java:273) ~[jfxrt.jar:na]
at com.sun.javafx.application.PlatformImpl.runLater(PlatformImpl.java:268) ~[jfxrt.jar:na]
at com.sun.javafx.application.PlatformImpl.setPlatformUserAgentStylesheet(PlatformImpl.java:550) ~[jfxrt.jar:na]
at com.sun.javafx.application.PlatformImpl.setDefaultPlatformUserAgentStylesheet(PlatformImpl.java:512) ~[jfxrt.jar:na]
at javafx.scene.control.Control.(Control.java:87) ~[jfxrt.jar:na]
... 22 common frames omitted