Hitachi Vantara Pentaho Community Forums
Results 1 to 6 of 6

Thread: Unable To Start Weka-3-7-13

  1. #1

    Default Unable To Start Weka-3-7-13

    Hi Mark,

    I downloaded and installed the above package with JRE. After installation I launched Weka successfully but many of the available packages weren't showing up in Explorer. CLASSPATH is set correctly to weka.jar location.

    Now, Weka won't even start back up for me. The mini command prompt window appears briefly and that's it.

    Launching the Weka console has many errors appearing.

    Ideas???

  2. #2
    Join Date
    Aug 2006
    Posts
    1,741

    Default

    Do you have the OpenmlWeka package installed? There is a problem with version 0.9.1 of this package and Weka 3.7.13. The 0.9.2 version rectifies the issue. If you have this package installed just delete it manually from ${user.home}/wekafiles/packages, and then try starting Weka. If that fails, then try deleting all packages (you can just send the entire wekafiles directory to the trash).

    Cheers,
    Mark.

  3. #3

    Default

    After deleting all the packages it started back up. Then I downloaded all the packages except openml and then failure upon trying to restart Weka.

  4. #4

    Default

    After deleting all the packages it started back up.


    With all the packages installed, I get this log:


    2016-01-02 15:47:32 weka.gui.GUIChooser main
    INFO: Logging started
    [Weka] associationRulesVisualizer can't be loaded because com.sun.j3d.utils.universe.SimpleUniverse can't be instantiated.
    [Weka] associationRulesViewer can't be loaded because Java3D does not seem to be installed. Download and install Java3D from https://java3d.dev.java.net/binary-builds.html before restarting Weka.
    2016-01-02 15:47:39 weka.gui.GenericObjectEditor registerEditors
    INFO: ---Registering Weka Editors---
    2016-01-02 15:47:39 weka.gui.GenericObjectEditor registerEditor
    WARNING: Problem registering ShowGlobalInfoToolTip/true: java.lang.ClassNotFoundException: ShowGlobalInfoToolTip
    Exception in thread "main" java.lang.UnsupportedClassVersionError: weka/classifiers/trees/ArffAttributeName : Unsupported major.minor version 52.0
    java.lang.ClassLoader.defineClass1(Native Method)
    java.lang.ClassLoader.defineClass(Unknown Source)
    java.security.SecureClassLoader.defineClass(Unknown Source)
    java.net.URLClassLoader.defineClass(Unknown Source)
    java.net.URLClassLoader.access$100(Unknown Source)
    java.net.URLClassLoader$1.run(Unknown Source)
    java.net.URLClassLoader$1.run(Unknown Source)
    java.security.AccessController.doPrivileged(Native Method)
    java.net.URLClassLoader.findClass(Unknown Source)
    java.lang.ClassLoader.loadClass(Unknown Source)
    sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
    java.lang.ClassLoader.loadClass(Unknown Source)
    java.lang.Class.forName0(Native Method)
    java.lang.Class.forName(Unknown Source)
    weka.core.ClassDiscovery.find(ClassDiscovery.java:344)
    weka.gui.GenericPropertiesCreator.generateOutputProperties(GenericPropertiesCreator.java:540)
    weka.gui.GenericPropertiesCreator.execute(GenericPropertiesCreator.java:637)
    weka.gui.GenericPropertiesCreator.<clinit>(GenericPropertiesCreator.java:165)
    weka.core.WekaPackageManager.processGenericPropertiesCreatorProps(WekaPackageManager.java:462)
    weka.core.WekaPackageManager.loadPackages(WekaPackageManager.java:1115)
    weka.core.WekaPackageManager.loadPackages(WekaPackageManager.java:1037)
    weka.gui.GenericObjectEditor.determineClasses(GenericObjectEditor.java:179)
    weka.gui.GenericObjectEditor.<clinit>(GenericObjectEditor.java:249)
    weka.gui.GUIChooser.<init>(GUIChooser.java:768)
    weka.gui.GUIChooser.createSingleton(GUIChooser.java:268)
    weka.gui.GUIChooser.main(GUIChooser.java:1690)


    at java.lang.ClassLoader.defineClass1(Native Method)
    at java.lang.ClassLoader.defineClass(Unknown Source)
    at java.security.SecureClassLoader.defineClass(Unknown Source)
    at java.net.URLClassLoader.defineClass(Unknown Source)
    at java.net.URLClassLoader.access$100(Unknown Source)
    at java.net.URLClassLoader$1.run(Unknown Source)
    at java.net.URLClassLoader$1.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at java.lang.Class.forName0(Native Method)
    at java.lang.Class.forName(Unknown Source)
    at weka.core.ClassDiscovery.find(ClassDiscovery.java:344)
    at weka.gui.GenericPropertiesCreator.generateOutputProperties(GenericPropertiesCreator.java:540)
    at weka.gui.GenericPropertiesCreator.execute(GenericPropertiesCreator.java:637)
    at weka.gui.GenericPropertiesCreator.<clinit>(GenericPropertiesCreator.java:165)
    at weka.core.WekaPackageManager.processGenericPropertiesCreatorProps(WekaPackageManager.java:462)
    at weka.core.WekaPackageManager.loadPackages(WekaPackageManager.java:1115)
    at weka.core.WekaPackageManager.loadPackages(WekaPackageManager.java:1037)
    at weka.gui.GenericObjectEditor.determineClasses(GenericObjectEditor.java:179)
    at weka.gui.GenericObjectEditor.<clinit>(GenericObjectEditor.java:249)
    at weka.gui.GUIChooser.<init>(GUIChooser.java:768)
    at weka.gui.GUIChooser.createSingleton(GUIChooser.java:268)
    at weka.gui.GUIChooser.main(GUIChooser.java:1690)
    Last edited by Mike1961; 01-02-2016 at 05:57 PM.

  5. #5
    Join Date
    Aug 2006
    Posts
    1,741

    Default

    See this weka mailing list thread:

    http://list.waikato.ac.nz/pipermail/...er/065737.html

    Looks like the RankerByDTClassification package has been compiled with Java 8. Either remove this package or upgrade to Java 8.

    Cheers,
    Mark.

  6. #6

    Default

    Woohoo!!! Success at last.

    Thank you Mark!!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Privacy Policy | Legal Notices | Safe Harbor Privacy Policy

Copyright © 2005 - 2019 Hitachi Vantara Corporation. All Rights Reserved.