From f724b34321f7f5ffd5fbc0cbb8b3558657df6f12 Mon Sep 17 00:00:00 2001 From: Vandana Kannan Date: Mon, 25 Mar 2019 16:21:35 -0700 Subject: [PATCH 1/2] Correct script wget. Without this change, wget was retrieving html. --- docs/tutorials/java/mxnet_java_on_intellij.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/tutorials/java/mxnet_java_on_intellij.md b/docs/tutorials/java/mxnet_java_on_intellij.md index d95aabdb598a..b53d7b31be36 100644 --- a/docs/tutorials/java/mxnet_java_on_intellij.md +++ b/docs/tutorials/java/mxnet_java_on_intellij.md @@ -44,9 +44,9 @@ brew install opencv Run the following commands to install the prerequisites on Ubuntu. ```bash -wget /~https://github.com/apache/incubator-mxnet/blob/master/ci/docker/install/ubuntu_core.sh +wget https://raw.githubusercontent.com/apache/incubator-mxnet/master/ci/docker/install/ubuntu_core.sh sudo ./ubuntu_core.sh -wget /~https://github.com/apache/incubator-mxnet/blob/master/ci/docker/install/ubuntu_scala.sh +wget https://raw.githubusercontent.com/apache/incubator-mxnet/master/ci/docker/install/ubuntu_scala.sh sudo ./ubuntu_scala.sh ``` From 5d5c9ac74f6e04515c9235d212e30ccf3366633b Mon Sep 17 00:00:00 2001 From: Vandana Kannan Date: Tue, 26 Mar 2019 10:11:51 -0700 Subject: [PATCH 2/2] Dont use CI scripts --- docs/tutorials/java/mxnet_java_on_intellij.md | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/docs/tutorials/java/mxnet_java_on_intellij.md b/docs/tutorials/java/mxnet_java_on_intellij.md index b53d7b31be36..e2f5a6c6cad2 100644 --- a/docs/tutorials/java/mxnet_java_on_intellij.md +++ b/docs/tutorials/java/mxnet_java_on_intellij.md @@ -43,16 +43,10 @@ brew install opencv Run the following commands to install the prerequisites on Ubuntu. -```bash -wget https://raw.githubusercontent.com/apache/incubator-mxnet/master/ci/docker/install/ubuntu_core.sh -sudo ./ubuntu_core.sh -wget https://raw.githubusercontent.com/apache/incubator-mxnet/master/ci/docker/install/ubuntu_scala.sh -sudo ./ubuntu_scala.sh +``` +sudo apt-get install openjdk-8-java maven ``` -Note : You might need to run `chmod u+x ubuntu_core.sh` and `chmod u+x ubuntu_scala` before running the scripts. - -The `ubuntu_scala.sh` installs the common dependencies required for both MXNet Scala and MXNet Java packages. ## Set Up Your Project