LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Alice 2.4 on Fedora not starting with shortcut; $PATH var causes error Could not find or load main class edu.cmu.cs.stage3.alice.authoringto (https://www.linuxquestions.org/questions/linux-software-2/alice-2-4-on-fedora-not-starting-with-shortcut%3B-%24path-var-causes-error-could-not-find-or-load-main-class-edu-cmu-cs-stage3-alice-authoringto-4175608019/)

RobbieTheK 06-16-2017 08:51 AM

Alice 2.4 on Fedora not starting with shortcut; $PATH var causes error Could not find or load main class edu.cmu.cs.stage3.alice.authoringto
 
I tried to set env variables in a new file,
Code:

/etc/profile.d/alice.sh
export ALICE24=/opt/Alice24/Required
export PATH=$PATH:$ALICE24

So when I run:

Code:

run-alice
64-Bit
Error: Could not find or load main class edu.cmu.cs.stage3.alice.authoringtool.JAlice

Then I see warnings like this:

Code:

*sys-package-mgr*: processing modified jar, '/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.131-1.b12.fc25.x86_64/jre/lib/resources.jar'
*sys-package-mgr*: can't write cache file for '/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.131-1.b12.fc25.x86_64/jre/lib/resources.jar'
*sys-package-mgr*: processing modified jar, '/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.131-1.b12.fc25.x86_64/jre/lib/rt.jar'
OOPS!! Looks like we have a slight layout problem. Not a big deal, press OK to continue.

As well as these errors:
Code:

Alice version: 2.4.3
os.name: Linux
os.version: 4.10.12-200.fc25.x86_64
os.arch: amd64
java.vm.name: OpenJDK 64-Bit Server VM
java.vm.version: 25.131-b12
user.dir: /opt/Alice24/Required
Exception in thread "AWT-EventQueue-0" java.lang.ClassCastException
        at javax.swing.LayoutComparator.compare(LayoutComparator.java:75)
        at javax.swing.LayoutComparator.compare(LayoutComparator.java:42)
        at java.util.TimSort.countRunAndMakeAscending(TimSort.java:360)
        at java.util.TimSort.sort(TimSort.java:234)
        at java.util.Arrays.sort(Arrays.java:1512)
        at java.util.ArrayList.sort(ArrayList.java:1454)
        at java.util.Collections.sort(Collections.java:175)
        at javax.swing.SortingFocusTraversalPolicy.enumerateAndSortCycle(SortingFocusTraversalPolicy.java:172)
        at javax.swing.SortingFocusTraversalPolicy.getFocusTraversalCycle(SortingFocusTraversalPolicy.java:143)
        at javax.swing.SortingFocusTraversalPolicy.getFirstComponent(SortingFocusTraversalPolicy.java:500)
        at javax.swing.LayoutFocusTraversalPolicy.getFirstComponent(LayoutFocusTraversalPolicy.java:166)
        at javax.swing.SortingFocusTraversalPolicy.getDefaultComponent(SortingFocusTraversalPolicy.java:593)
        at java.awt.FocusTraversalPolicy.getInitialComponent(FocusTraversalPolicy.java:169)
        at java.awt.DefaultKeyboardFocusManager.dispatchEvent(DefaultKeyboardFocusManager.java:420)
        at java.awt.Component.dispatchEventImpl(Component.java:4760)
        at java.awt.Container.dispatchEventImpl(Container.java:2294)
        at java.awt.Window.dispatchEventImpl(Window.java:2746)
        at java.awt.Component.dispatchEvent(Component.java:4711)
        at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:758)
        at java.awt.EventQueue.access$500(EventQueue.java:97)
        at java.awt.EventQueue$3.run(EventQueue.java:709)
        at java.awt.EventQueue$3.run(EventQueue.java:703)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:80)
        at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:90)
        at java.awt.EventQueue$4.run(EventQueue.java:731)
        at java.awt.EventQueue$4.run(EventQueue.java:729)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:80)
        at java.awt.EventQueue.dispatchEvent(EventQueue.java:728)
        at java.awt.SequencedEvent.dispatch(SequencedEvent.java:128)
        at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:756)
        at java.awt.EventQueue.access$500(EventQueue.java:97)
        at java.awt.EventQueue$3.run(EventQueue.java:709)
        at java.awt.EventQueue$3.run(EventQueue.java:703)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:80)
        at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:90)
        at java.awt.EventQueue$4.run(EventQueue.java:731)
        at java.awt.EventQueue$4.run(EventQueue.java:729)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:80)
        at java.awt.EventQueue.dispatchEvent(EventQueue.java:728)
        at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201)
        at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
        at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
        at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
        at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
        at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)
OOPS!! Looks like we have a slight layout problem. Not a big deal, press OK to continue.

I checked this linuxquestions.org thread but nothing there helped. Is this a 32-bit issue of Alice 2.4 running on 64-bit and not having the correct (32-bit) Java installed or configured issue?


All times are GMT -5. The time now is 06:57 AM.