2026-10-12 23:46:53 -04:00
2026-10-12 23:00:37 -04:00
2026-10-12 23:42:36 -04:00
2026-10-12 23:00:37 -04:00
2026-10-12 23:46:53 -04:00

How to setup HSA module in IntelliJ

Kuba Szatan


Step 1.

Download the hsacompiled.jar file here.

Step 2.

Create your IntelliJ project:

Step 2

Step 3.

Enter project details and click Create

Step 3

Step 4.

Paste the downloaded hsacompiled.jar into your project root (project location)

Step 4

Step 5.

Press the 4 vertical lines in the top left, click File -> Project Structure

Step 5a

Step 5b

Step 6.

Click Libraries

Step 6

Step 7.

Click + and Java

Step 7

Step 8.

Select hsacompiled.jar and click Select Folder

Step 8

Step 9.

Click OK

Step 9

Step 10.

Click Modules

Step 10

Step 11.

Check hsacompiled

Step 11

Step 12.

Click Apply and OK

Step 12

Step 13.

To test if everything works, go back to your Main class, and add basic hsa code:

import hsa.Console;

public class Main {

    Console c;

    Main() {

        c = new Console();

    }

    public void display() {

        c.println("Hello world");

    }


    public static void main(String[] args) {

        Main mine = new Main();

        mine.display();

    }

}

Step 13

Step 14. (Final step)

Press run, and you should get the following result:

Step 14a

Step 14b

S
Description
All assignments and worksheets for ICS3 (2026)
Readme
910 KiB
Languages
Java 100%