Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Starter project configuration for the course [COMP 303: Software Design](https:/

This repository is configured to be seamlessly imported into the latest version of the [Eclipse IDE](https://www.eclipse.org/). However, if you know what you are doing, you can import the project into the IDE of your choice and find the corresponding tools.

To set yourself up:
To set yourself up ([for intellij, click here](https://github.com/0jas0jas/COMP303Starter/blob/master/intellij%20tutorial.md)):

1. Make sure you have [Eclipse for Java](https://www.eclipse.org/) (or your favorite Java IDE) and [Java 17 or higher](https://jdk.java.net/).
2. Install JavaFX and create a library for it in Eclipse by following [these instructions](https://openjfx.io/openjfx-docs/#IDE-Eclipse)
Expand Down
24 changes: 24 additions & 0 deletions intellij tutorial.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
## Setting up starter code on Intellij:

1. Go to File > New > Project from version control
2. You will notice that no program files are actually in your `Project` library.
3. Go to File > Project Structure
4. Find `Modules` in the left panel
5. Click on `COMP 303` > Select `comp303` > Right-click and check `Sources`

6. You should now see `src` directory now. But if you try running `Welcome` by right-clicking and selecting "Run Welcome", it might show you an error like this:

```java
/home/ojas/IdeaProjects/COMP303Starter/src/module-info.java:7:20
java: module not found: javafx.base
```

Here's how to fix it:

7. Go back to File > Project Structure
8. Go to `Project` and in SDK choose `liberica-full-23`
9. Then go to `Libraries` in Project Structure
10. Click on the little "+" icon and select Maven
11. In the textbox type in javafx and scroll down to find `org.openjfx:javafx-base:22-ea+16`
12. Install this and do the same for `openjfx.javafx.controls12` and `junit:junit:4.13.2`
13. That's it! It should work now.