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

Resources

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/

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

This tab will not be visible to users and provides only information to help authors when creating content.

Creating Katacoda Scenarios

Thanks for creating Katacoda scenarios. This tab is designed to help you as an author have quick access the information you need when creating scenarios.

Here are some useful links to get you started.

Running Katacoda Workshops

If you are planning to use Katacoda for workshops, please contact [email protected] to arrange capacity.

Debugging Scenarios

Below is the response from any background scripts run or files uploaded. This stream can aid debugging scenarios.

If you still need assistance, please contact [email protected]