lanking520 closed pull request #13404: Java added to install page
URL: https://github.com/apache/incubator-mxnet/pull/13404
This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:
As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):
diff --git a/docs/install/index.md b/docs/install/index.md
index 37ab7cc7610..9d4aec6b18e 100644
--- a/docs/install/index.md
+++ b/docs/install/index.md
@@ -9,6 +9,7 @@
c_plus_plus.md
centos_setup.md
download.md
+ java_setup.md
osx_setup.md
raspbian_setup.md
scala_setup.md
@@ -52,6 +53,7 @@ Indicate your preferred configuration. Then, follow the
customized commands to i
<div class="btn-group opt-group" role="group">
<button type="button" class="btn btn-default opt active
languages">Python</button>
<button type="button" class="btn btn-default opt languages">Scala</button>
+ <button type="button" class="btn btn-default opt languages">Java</button>
<button type="button" class="btn btn-default opt languages">Clojure</button>
<button type="button" class="btn btn-default opt languages">R</button>
<button type="button" class="btn btn-default opt languages">Julia</button>
@@ -401,7 +403,7 @@ $ make rpkg
<div class="scala">
<div class="gpu">
<br/>
-You can use the Maven packages defined in the following `dependency` to
include MXNet in your Scala project. Please refer to the <a
href="scala_setup.html">MXNet-Scala setup guide</a> for a detailed set of
instructions to help you with the setup process.
+You can use the Maven packages defined in the following dependency to include
MXNet in your Scala project. Please refer to the <a
href="scala_setup.html">MXNet-Scala setup guide</a> for a detailed set of
instructions to help you with the setup process.
<a
href="https://mvnrepository.com/artifact/org.apache.mxnet/mxnet-full_2.11-linux-x86_64-gpu"><img
src="https://img.shields.io/badge/org.apache.mxnet-linux gpu-green.svg"
alt="maven badge"/></a>
@@ -416,7 +418,7 @@ You can use the Maven packages defined in the following
`dependency` to include
<div class="cpu">
<br/>
-You can use the Maven packages defined in the following `dependency` to
include MXNet in your Scala project. Please refer to the <a
href="scala_setup.html">MXNet-Scala setup guide</a> for a detailed set of
instructions to help you with the setup process.
+You can use the Maven packages defined in the following dependency to include
MXNet in your Scala project. Please refer to the <a
href="scala_setup.html">MXNet-Scala setup guide</a> for a detailed set of
instructions to help you with the setup process.
<a
href="https://mvnrepository.com/artifact/org.apache.mxnet/mxnet-full_2.11-linux-x86_64-cpu"><img
src="https://img.shields.io/badge/org.apache.mxnet-linux cpu-green.svg"
alt="maven badge"/></a>
@@ -434,7 +436,8 @@ You can use the Maven packages defined in the following
`dependency` to include
<div class="clojure">
<div class="gpu">
<br/>
-You can use the Maven packages defined in the following `dependency` to
include MXNet in your Clojure project. To maximize leverage, the Clojure
package has been built on the existing Scala package. Please refer to the <a
href="scala_setup.html">MXNet-Scala setup guide</a> for a detailed set of
instructions to help you with the setup process that is required to use the
Clojure dependency.
+
+You can use the Maven packages defined in the following dependency to include
MXNet in your Clojure project. To maximize leverage, the Clojure package has
been built on the existing Scala package. Please refer to the <a
href="scala_setup.html">MXNet-Scala setup guide</a> for a detailed set of
instructions to help you with the setup process that is required to use the
Clojure dependency.
<a
href="https://mvnrepository.com/artifact/org.apache.mxnet.contrib.clojure/clojure-mxnet-linux-gpu"><img
src="https://img.shields.io/badge/org.apache.mxnet-linux gpu-green.svg"
alt="maven badge"/></a>
@@ -444,12 +447,12 @@ You can use the Maven packages defined in the following
`dependency` to include
<artifactId>clojure-mxnet-linux-gpu</artifactId>
</dependency>
```
+
<br>
</div> <!-- End of gpu -->
-
<div class="cpu">
<br/>
-You can use the Maven packages defined in the following `dependency` to
include MXNet in your Clojure project. To maximize leverage, the Clojure
package has been built on the existing Scala package. Please refer to the <a
href="scala_setup.html">MXNet-Scala setup guide</a> for a detailed set of
instructions to help you with the setup process that is required to use the
Clojure dependency.
+You can use the Maven packages defined in the following dependency to include
MXNet in your Clojure project. To maximize leverage, the Clojure package has
been built on the existing Scala package. Please refer to the <a
href="scala_setup.html">MXNet-Scala setup guide</a> for a detailed set of
instructions to help you with the setup process that is required to use the
Clojure dependency.
<a
href="https://mvnrepository.com/artifact/org.apache.mxnet.contrib.clojure/clojure-mxnet-linux-cpu"><img
src="https://img.shields.io/badge/org.apache.mxnet-linux cpu-green.svg"
alt="maven badge"/></a>
@@ -459,11 +462,52 @@ You can use the Maven packages defined in the following
`dependency` to include
<artifactId>clojure-mxnet-linux-cpu</artifactId>
</dependency>
```
+
<br>
</div> <!-- End of cpu -->
</div> <!-- End of clojure -->
+<div class="java">
+<div class="gpu">
+<br/>
+You can use the Maven packages defined in the following dependency to include
MXNet in your Java project. The Java API is provided as a subset of the Scala
API and is intended for inference only. Please refer to the <a
href="java_setup.html">MXNet-Java setup guide</a> for a detailed set of
instructions to help you with the setup process.
+
+<a
href="https://repository.apache.org/#nexus-search;gav~org.apache.mxnet~~1.3.1-SNAPSHOT~~"><img
src="https://img.shields.io/badge/org.apache.mxnet-linux gpu-green.svg"
alt="maven badge"/></a>
+
+```html
+<dependency>
+ <groupId>org.apache.mxnet</groupId>
+ <artifactId>mxnet-full_2.11-linux-x86_64-gpu</artifactId>
+ <scope>system</scope>
+ <version>1.3.1</version>
+
<systemPath>/system/path/to/jar/mxnet-full_2.11-linux-x86_64-gpu-1.3.1-SNAPSHOT.jar</systemPath>
+</dependency>
+```
+
+<br>
+</div> <!-- End of gpu -->
+
+<div class="cpu">
+<br/>
+You can use the Maven packages defined in the following dependency to include
MXNet in your Java project. The Java API is provided as a subset of the Scala
API and is intended for inference only. Please refer to the <a
href="java_setup.html">MXNet-Java setup guide</a> for a detailed set of
instructions to help you with the setup process.
+
+<a
href="https://repository.apache.org/#nexus-search;gav~org.apache.mxnet~~1.3.1-SNAPSHOT~~"><img
src="https://img.shields.io/badge/org.apache.mxnet-linux cpu-green.svg"
alt="maven badge"/></a>
+
+```html
+<dependency>
+ <groupId>org.apache.mxnet</groupId>
+ <artifactId>mxnet-full_2.11-linux-x86_64-cpu</artifactId>
+ <scope>system</scope>
+ <version>1.3.1</version>
+
<systemPath>/system/path/to/jar/mxnet-full_2.11-linux-x86_64-cpu-1.3.1-SNAPSHOT.jar</systemPath>
+</dependency>
+```
+<br>
+</div> <!-- End of cpu -->
+</div> <!-- End of java -->
+
+
<div class="julia">
<div class="cpu gpu">
</br>
@@ -686,7 +730,7 @@ Will be available soon.
<div class="scala">
<div class="cpu">
</br>
-You can use the Maven packages defined in the following `dependency` to
include MXNet in your Scala project. Please refer to the <a
href="scala_setup.html">MXNet-Scala setup guide</a> for a detailed set of
instructions to help you with the setup process.
+You can use the Maven packages defined in the following dependency to include
MXNet in your Scala project. Please refer to the <a
href="scala_setup.html">MXNet-Scala setup guide</a> for a detailed set of
instructions to help you with the setup process.
<a
href="https://mvnrepository.com/artifact/org.apache.mxnet/mxnet-full_2.11-osx-x86_64-cpu"><img
src="https://img.shields.io/badge/org.apache.mxnet-mac cpu-green.svg"
alt="maven badge"/></a>
@@ -706,6 +750,53 @@ Not available at this time. <br>
</div> <!-- End of scala -->
+<div class="clojure">
+<div class="cpu">
+</br>
+You can use the Maven packages defined in the following dependency to include
MXNet in your Clojure project. To maximize leverage, the Clojure package has
been built on the existing Scala package. Please refer to the <a
href="scala_setup.html">MXNet-Scala setup guide</a> for a detailed set of
instructions to help you with the setup process that is required to use the
Clojure dependency.
+
+<a
href="https://mvnrepository.com/artifact/org.apache.mxnet.contrib.clojure/clojure-mxnet-osx-cpu"><img
src="https://img.shields.io/badge/org.apache.mxnet-mac cpu-green.svg"
alt="maven badge"/></a>
+
+```html
+<dependency>
+ <groupId>org.apache.mxnet.contrib.clojure</groupId>
+ <artifactId>clojure-mxnet-osx-cpu</artifactId>
+</dependency>
+```
+
+<br>
+</div> <!-- End of cpu -->
+<div class="gpu">
+Not available at this time. <br>
+</div> <!-- End of gpu -->
+</div> <!-- End of clojure -->
+
+
+<div class="java">
+<div class="cpu">
+</br>
+You can use the Maven packages defined in the following dependency to include
MXNet in your Java project. The Java API is provided as a subset of the Scala
API and is intended for inference only. Please refer to the <a
href="java_setup.html">MXNet-Java setup guide</a> for a detailed set of
instructions to help you with the setup process.
+
+<a
href="https://repository.apache.org/#nexus-search;gav~org.apache.mxnet~~1.3.1-SNAPSHOT~~"><img
src="https://img.shields.io/badge/org.apache.mxnet-mac cpu-green.svg"
alt="maven badge"/></a>
+
+```html
+<dependency>
+ <groupId>org.apache.mxnet</groupId>
+ <artifactId>mxnet-full_2.11-osx-x86_64-cpu</artifactId>
+ <scope>system</scope>
+ <version>1.3.1</version>
+
<systemPath>/system/path/to/jar/mxnet-full_2.11-osx-x86_64-cpu-1.3.1-SNAPSHOT.jar</systemPath>
+</dependency>
+```
+<br>
+</div> <!-- End of cpu -->
+<div class="gpu">
+
+Not available at this time. <br>
+
+</div>
+</div> <!-- End of java -->
+
<div class="clojure">
<div class="cpu">
@@ -1034,6 +1125,14 @@ MXNet-Clojure for Windows is not yet available.
</div> <!-- End of cpu gpu -->
</div> <!-- End of clojure -->
+<div class="java">
+<div class="cpu gpu">
+<br/>
+MXNet-Java for Windows is not yet available.
+<br/>
+</div> <!-- End of cpu gpu -->
+</div> <!-- End of java -->
+
<div class="julia">
<div class="cpu gpu">
</br>
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services