How to Download and Install the Weka Machine Learning Workbench

The Weka machine learning workbench is a powerful and yet easy to use platform for predictive modeling.

In this post you will discover how you can install Weka on your workstation fast, and get started with machine learning.

After reading this post you will know:

  • How to install the all-in-one version of Weka for Windows or Mac.
  • How to install Java and Weka separately on Windows or Mac.
  • How to install Weka on Linux and other platforms.

Kick-start your project with my new book Machine Learning Mastery With Weka, including step-by-step tutorials and clear screenshots for all examples.

Let’s get started.

How to Download and Install the Weka Machine Learning Workbench

How to Download and Install the Weka Machine Learning Workbench
Photo by Nicholas A. Tonelli, some rights reserved.

Download Weka

All versions of Weka can be downloaded from the Weka download webpage.

Select the version of Weka that you would like to install then visit the Weka download page to locate and download your preferred version of Weka.

Your options include:

  • Install the all-in-one version of Weka for Windows or Mac OS X.
  • Install Java and Weka separately for Windows or Mac OS X.
  • Install the standalone version of Weka for Linux and other platforms.

Need more help with Weka for Machine Learning?

Take my free 14-day email course and discover how to use the platform step-by-step.

Click to sign-up and also get a free PDF Ebook version of the course.

Install The All-In-One Version of Weka

Weka provides an all-in-one installation version for Windows and Mac OS X.

This installation includes both the Weka platform that you can use for predictive modeling, as well as the version of Java needed to run the Weka platform.

Windows

On windows the all-in-one version of Weka is provided as a self-extracting executable.

You must choose whether you would like the 32-bit version of the package or the 64-bit version of the package. If you have a modern version of Windows, you should select the 64-bit version.

On the Weka download webpage, these packages are called:

  • Self-extracting executable for 64-bit Windows that includes Oracle’s 64-bit Java.
  • Self-extracting executable for 32-bit Windows that includes Oracle’s 32-bit Java.

The download is about 100 megabytes. After you have downloaded the package, double click on the icon to start the installation process.

Follow the prompts for the installation and Weka will be added to your Program Menu.

Start Weka by clicking on the bird icon.

Mac OS X

On OS X the all-in-one version of Weka is provided as a disk image.

On the Weka download webpage, this package is called:

  • Disk image for OS X that contains a Mac application including Oracle’s Java.

The download is about 120 megabytes. The disk image includes two versions of Weka, one with the Java version bundled and one standalone. I recommend installing both.

Drag both the folder and the icon into your Applications folder.

Weka Disk image for OS X

Expanded Weka Disk image for OS X

Start Weka by clicking on the bird icon.

Install Java and Weka Separately

You may already have the Java Runtime Environment or Java Development Kit installed on your workstation or you may like to install Java separately from Weka so that you can use Java with other applications.

Weka provides a version that you can download that does not include the Java Runtime Environment.

I recommend this installation of Weka if you would like to access the data files and documentation provided with the Weka installation.

Weka requires at least Java 1.7 installed.

If you do not have Java installed and would like to install Java separately from Weka, you can download Java from the Java Download webpage. The webpage will automatically determine the version of Java you need for your workstation and download the latest version. The Java download is about 60 megabytes.

Windows

Weka provides a version for Windows that does not include Java.

You must choose whether you would like the 32-bit version of the package or the 64-bit version of the package. If you have a modern version of Windows, you should select the 64-bit version.

On the Weka downloads page, this version is named as follows:

  • Self-extracting executable for 64-bit Windows without a Java VM.
  • Self-extracting executable for 32-bit Windows without a Java VM.

The download is about 50 megabytes. After you have downloaded the package, double click to start the installation process. Follow the prompts for the installation and Weka will be added to your Program Menu.

Start Weka by clicking on the bird icon.

Mac OS X

There is only a single download version of Weka for OS X.

It is a disk image that includes both the version of Weka bundled with Java as well as the standalone version.

On the Weka download webpage, this package is called:

  • Disk image for OS X that contains a Mac application including Oracle’s Java.

The download is about 120 megabytes. Open the disk image and drag the standalone version of Weka (the folder) into your Applications folder.

Weka Installation Directory

Weka Installation Directory

Start Weka by double clicking on the weka.jar file.

You can also start Weka on the command line, assuming Java is in your path.

1. Change directory into your weka installation directory. For example

2. Start the Java virtual machine with the weka.jar file. For example:

Install Weka On Linux And Other Platforms

Weka also provides a standalone version that you can install on Linux and other platforms.

Weka runs on Java and can be used on all platforms that support Java.

It is a zip file and has the following name of the Weka download webpage:

  • Zip archive containing Weka.

Download the zip file and unzip it.

You can also start Weka on the command line, assuming Java is in your path.

Weka Installation Files

Weka Installation Files

1. Change directory into your Weka installation directory. For example

2. Start the Java virtual machine with the weka.jar file, For example:

Summary

In this post you discovered how you can download and install the Weka machine learning workbench.

Specifically, you learned:

  • How to install Weka using the all-in-one version on Windows and Mac OS X.
  • How to install Weka using the standalone version on Windows and Mac OS X.
  • How to install Weka using the standalone version on Linux and other platforms.

Do you have any questions about downloading and installing Weka or about this post? Ask your questions in the comments below and I will do my best to answer.

Discover Machine Learning Without The Code!

Master Machine Learning With Weka

Develop Your Own Models in Minutes

...with just a few a few clicks

Discover how in my new Ebook:
Machine Learning Mastery With Weka

Covers self-study tutorials and end-to-end projects like:
Loading data, visualization, build models, tuning, and much more...

Finally Bring The Machine Learning To Your Own Projects

Skip the Academics. Just Results.

See What's Inside

34 Responses to How to Download and Install the Weka Machine Learning Workbench

  1. Avatar
    Anirban Konar June 16, 2016 at 6:00 pm #

    Can you give a similar post on how to apply machine learning using Weka for a simple problem. Thanks in advance.

  2. Avatar
    Marcos Guimaraes November 15, 2016 at 2:42 am #

    Hi Jason,
    I have followed all steps provided in your site but Weka is not launching. What I got was the big Weka Icon in the middle of my screen.
    I use Windows version 7.
    Is there any clue what is happening?

    • Avatar
      Jason Brownlee November 15, 2016 at 7:57 am #

      Sorry to hear that Marcos.

      I am not an expert in debugging workstations, but perhaps you could try the alternative of manually installing Java, then installing the standalone version of Weka.

      Best of luck, let me know how you go.

    • Avatar
      Shriya G July 4, 2021 at 1:50 am #

      I am facing the same issue. Can you tell me how u resolved it if you did?

  3. Avatar
    Abubakar April 22, 2017 at 8:44 am #

    Well done Sir. I am a Nigerian studying here in Nigeria. I appreciate you work. But I want to have your book Titled: “Machine Learning Mastery With Weka”. What is the simplest way for having it?

  4. Avatar
    Ben April 25, 2017 at 8:05 pm #

    Hi Jason, I am currently working on Android malware detection using machine learning but I am a bit confused on how to extract the features in order to fit them into the classification algorithms. Any advise or suggestions please?

    • Avatar
      Jason Brownlee April 26, 2017 at 6:21 am #

      Sorry, I am not an expert in malware.

      Consider reviewing some related literature to see how features are extracted. Check google scholar search.

  5. Avatar
    Sharon Christa December 14, 2017 at 9:43 pm #

    you are a life saver

  6. Avatar
    Araz February 16, 2018 at 8:16 pm #

    Hi

    my name is Araz and I’m using the 3.9.2 version of Weka but it doesn’t have Gridsearch and some other classifiers. I would be grateful if you could help me.

    best regards,

    • Avatar
      Jason Brownlee February 17, 2018 at 8:44 am #

      Weka does not have grid search as far as I know.

  7. Avatar
    Arunima Mohan April 16, 2018 at 2:58 pm #

    Hi Jason,
    I have followed all steps provided in your site but Weka is not working. When I click the weka, it just open the console window and automatically, suddenly closed it.
    I use Windows version 7.
    could you pls help me,Is there any clue what is happening?

    • Avatar
      Jason Brownlee April 16, 2018 at 3:01 pm #

      Sorry, I don’t know what is happening.

      Perhaps try posting to the Weka user group or to stackoverflow?

    • Avatar
      arun July 13, 2019 at 3:07 pm #

      Could u solve ur problem? I am facing the same issue.

  8. Avatar
    rushi July 9, 2018 at 4:14 pm #

    Hello friends Chai peelo

  9. Avatar
    amjad February 20, 2019 at 9:02 pm #

    weka 3.8.3 but still the problem of using it as i click on explorer after open file i did not found any data set i.e iris

    • Avatar
      Jason Brownlee February 21, 2019 at 7:57 am #

      Try download the dataset separately and unzip it, as described in the above tutorial.

  10. Avatar
    Sergey Denisov June 2, 2019 at 11:04 am #

    Hello, can I install and use Weka on my iPad? IPad Pro is quite a powerful computer now to run it.

  11. Avatar
    Omar K. Harris September 17, 2019 at 2:18 pm #

    The machine learning and the runtime language installed in the computer will be definitely very helpful, though what can be downloaded in the windows or the mac system can be definitely be a way ahead of time technology, weka and java runtime programs will definitely help the programmers to achieve a new level in all the OS.

  12. Avatar
    Rodrigo Nava November 20, 2019 at 10:13 am #

    Hello. I wonder if you know which version of Java is the best for Weka to run on it, since it seems that JDK 11 does not support anymore some of the Java classes Weka may need. Thanks

  13. Avatar
    Soumya Kundu December 6, 2019 at 4:10 pm #

    Hi, The weka download site has taken down the download link, could you please suggest me some other way to go forward with the installation?

  14. Avatar
    Mohammed Faisal November 26, 2020 at 4:58 pm #

    I need to know how to convert Xlsx excel format to arff, and csv to arff, in easy way at weka.

  15. Avatar
    Don Johann February 10, 2021 at 5:10 pm #

    Have you installed Weka on Win 10?
    I installed the complete package, meaning Java 64 bit and Weka.
    The installation was uneventful. However, it takes close to 5 min for Weka to come-up once invoked, meaning the Bird Icon sits on the screen, with nothing else happening.

    Once the Weka GUI Chooser comes up, it is also extremely slow and sluggish.
    I have a high end PC, with a Quad Core and 64GB of memory. I’ve not installed the Weka 3 times, and always the same problem – extremely slow to the point of being unusable.

    Have you encountered this problem? Any suggestions?

    I just purchased your EBook for Weka. Any advice

    • Avatar
      Jason Brownlee February 11, 2021 at 5:51 am #

      It sounds like something is very wrong.

      It should be up in one second and run fast.

      Perhaps confirm you have Java installed?

      Perhaps confirm you have the latest version of Weka from the official website?

      Perhaps try checking on the weka user group:
      https://machinelearningmastery.com/help-with-weka/

      Let me know how you go.

  16. Avatar
    nil February 23, 2021 at 11:17 pm #

    hi I wanna to use fuzzy rough set of weka reduction but there’s not on my package this section? how can I find that?

    • Avatar
      Jason Brownlee February 24, 2021 at 5:32 am #

      Sorry, I don’t know about that.

      Perhaps post on the weka user group or stackoverflow.

Leave a Reply