Difficulty: Beginner
Estimated Time: 10 minutes

In this scenario we explore the basics of multidimensional arrays in Java with Eclipse January.

What is January?

Eclipse January is a set of libraries for handling numerical data in Java. It is inspired in part by NumPy and aims to provide similar functionality.

In this scenario we get hands-on with fundamental API calls running them in Java 9's JShell, which gives us an environment for quick feedback & iterations.

If you want to run JShell with January outside of this scenario use these instructions of how to use it in the command line https://kichwacoders.com/2017/05/25/woohoo-java-9-has-a-repl-getting-started-with-jshell-and-eclipse-january/

If you want to use Eclipse January within an IDE environment use these instructions to get started https://github.com/eclipse/january/tree/master/org.eclipse.january.examples#eclipse-january-examples-and-getting-started

Congratulations! You just finished learning the basics of multidimensional arrays in Java with Eclipse January.

What's next?

This tutorial is just a small slice of what Eclipse January can do. See more examples for slicing, error, iterations and numpy from the github repository https://github.com/eclipse/january/tree/master/org.eclipse.january.examples#eclipse-january-examples-and-getting-started


Find more information about Eclipse January on the project website https://www.eclipse.org/january/

Mailing List

Get in touch with Eclipse January developers on the january dev mailing list. Sign up here https://dev.eclipse.org/mailman/listinfo/january-dev

Eclipse Science

Eclipse January is a project that is part of the Eclipse Science Working Group, find out more about @EclipseScience at https://science.eclipse.org/

Don’t stop now! The next scenario will only take about 10 minutes to complete.

Getting Started with Eclipse January

Step 1 of 9

Importing Eclipse January

First we need to import Eclipse January. Enter the following into the console. (Tip: you can click on commands to have them automatically sent to the terminal.)

import org.eclipse.january.dataset.*

Now you are all ready to start creating datasets