From 435e6fd48e77cdb7230eb68521bc882f97f12d74 Mon Sep 17 00:00:00 2001 From: Ojas Srivastava Date: Fri, 27 Sep 2024 21:25:02 -0400 Subject: [PATCH 1/6] Add files via upload --- intellij tutorial.md | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 intellij tutorial.md diff --git a/intellij tutorial.md b/intellij tutorial.md new file mode 100644 index 0000000..bea2b3f --- /dev/null +++ b/intellij tutorial.md @@ -0,0 +1,23 @@ + ## Setting up starter code on Intellij: + + 1. Go to File > New > Project from version control + 2. You will notice that no program 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. \ No newline at end of file From 54f305235e7265ece19bcb6af079d20924b97feb Mon Sep 17 00:00:00 2001 From: Ojas Srivastava Date: Fri, 27 Sep 2024 21:25:40 -0400 Subject: [PATCH 2/6] Update intellij tutorial.md --- intellij tutorial.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/intellij tutorial.md b/intellij tutorial.md index bea2b3f..334ae0d 100644 --- a/intellij tutorial.md +++ b/intellij tutorial.md @@ -10,7 +10,7 @@ ```java /home/ojas/IdeaProjects/COMP303Starter/src/module-info.java:7:20 -java: module not found: javafx.base``` + java: module not found: javafx.base``` Here's how to fix it: @@ -20,4 +20,4 @@ java: module not found: javafx.base``` 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. \ No newline at end of file + 13. That's it! It should work now. From 9e3d0711994f9f0c3f8f98ec23e44871b075eaa2 Mon Sep 17 00:00:00 2001 From: Ojas Srivastava Date: Fri, 27 Sep 2024 21:26:02 -0400 Subject: [PATCH 3/6] Update intellij tutorial.md --- intellij tutorial.md | 39 ++++++++++++++++++++------------------- 1 file changed, 20 insertions(+), 19 deletions(-) diff --git a/intellij tutorial.md b/intellij tutorial.md index 334ae0d..57b5ad4 100644 --- a/intellij tutorial.md +++ b/intellij tutorial.md @@ -1,23 +1,24 @@ - ## Setting up starter code on Intellij: +## Setting up starter code on Intellij: - 1. Go to File > New > Project from version control - 2. You will notice that no program 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: +1. Go to File > New > Project from version control +2. You will notice that no program 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` - ```java - /home/ojas/IdeaProjects/COMP303Starter/src/module-info.java:7:20 - java: module not found: javafx.base``` +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: - Here's how to fix it: +```java +/home/ojas/IdeaProjects/COMP303Starter/src/module-info.java:7:20 +java: module not found: javafx.base +``` - 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. +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. From c58417b28ea47c946296f21dbef5b5995e058792 Mon Sep 17 00:00:00 2001 From: Ojas Srivastava Date: Fri, 27 Sep 2024 21:27:31 -0400 Subject: [PATCH 4/6] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 4bc5a2a..ec20126 100644 --- a/README.md +++ b/README.md @@ -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) From 37a06539a16c3fe797f0bb6b889688f2d3bd09d7 Mon Sep 17 00:00:00 2001 From: Ojas Srivastava Date: Fri, 27 Sep 2024 21:27:52 -0400 Subject: [PATCH 5/6] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index ec20126..e2607d3 100644 --- a/README.md +++ b/README.md @@ -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 ([for intellij, click here](https://github.com/0jas0jas/COMP303Starter/blob/master/intellij%20tutorial.md): +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) From a33c8d2b51d74e96f897e85980a7ddec23c887e7 Mon Sep 17 00:00:00 2001 From: Ojas Srivastava Date: Tue, 8 Oct 2024 16:53:40 -0400 Subject: [PATCH 6/6] Update intellij tutorial.md --- intellij tutorial.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/intellij tutorial.md b/intellij tutorial.md index 57b5ad4..71472e2 100644 --- a/intellij tutorial.md +++ b/intellij tutorial.md @@ -1,7 +1,7 @@ ## Setting up starter code on Intellij: 1. Go to File > New > Project from version control -2. You will notice that no program are actually in your `Project` library. +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`