You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Nov 17, 2023. It is now read-only.
Copy file name to clipboardExpand all lines: docs/tutorials/java/mxnet_java_on_intellij.md
+14-1Lines changed: 14 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
# Run MXNet Java Examples Using the IntelliJ IDE (macOS)
2
2
3
-
This tutorial guides you through setting up a simple Java project in IntelliJ IDE on macOS and demonstrates usage of the MXNet Java APIs.
3
+
This tutorial guides you through setting up a simple Java project in IntelliJ IDE on macOS and demonstrates usage of the MXNet Java APIs.
4
4
5
5
## Prerequisites:
6
6
To use this tutorial you need the following pre-requisites:
@@ -108,6 +108,15 @@ TODO
108
108
After clicking Finish, you will be presented with the project's first view.
109
109
The project's `pom.xml` will be open for editing.
110
110
111
+
**IntelliJ IDEA Alternative** If you want to use only Maven to create the project, you can create a new folder and run the following in the newly created folder :
This command will create a new Java project folder with name `mxnetJava` inside `java-proj` folder.
118
+
More on creating Maven projects can be found on this Maven tutorial : [Maven in 5 Minutes](https://maven.apache.org/guides/getting-started/maven-in-five-minutes.html).
119
+
111
120
**Step 3.** Add the following Maven dependency to your `pom.xml` file under the `dependencies` tag:
112
121
113
122
```html
@@ -120,6 +129,10 @@ The project's `pom.xml` will be open for editing.
120
129
121
130
To view the latest MXNet Maven packages, you can check [MXNet Maven package repository](https://search.maven.org/#search%7Cga%7C1%7Cg%3A%22org.apache.mxnet%22)
122
131
132
+
Note :
133
+
- Change the osx-x86_64 to linux-x86_64 if your platform is linux.
134
+
- Change cpu into gpu if you have a gpu backed machine and want to use gpu.
0 commit comments