8000 Upgrading docs to unify the JVM to install on EV3 · ev3dev-lang-java/docs@315c79a · GitHub
[go: up one dir, main page]

Skip to content

Commit 315c79a

Browse files
committed
Upgrading docs to unify the JVM to install on EV3
1 parent 2e36bbd commit 315c79a

File tree

3 files changed

+7
-197
lines changed

3 files changed

+7
-197
lines changed

OLD_README.md

Lines changed: 0 additions & 134 deletions
This file was deleted.

README.adoc

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
# ev3dev-lang-java / docs
21

32
This is the repository about the documentation about the project.
43

src/main/asciidoc/getting_started/brick.adoc

Lines changed: 7 additions & 62 deletions
Original file line numberDiff line numberDiff line change
@@ -104,74 +104,17 @@ Depending of the Hardware and the Debian version, you will have different option
104104

105105
### EV3 Brick
106106

107-
EV3 Brick has a SOC from 2010 and it is a bit Old.
108-
Further information about link:https://wiki.debian.org/ArmEabiPort[ARM EABI architecture].
107+
For EV3, it is possible to install the following JVM:
109108

110-
Available JVM:
111-
112-
- Oracle JRE 8 for Debian Jessie
113-
- Open JDK 10 for Debian Stretch
109+
- Open JDK 10 for Debian
114110
115111
Using this project, the developer has 3 alternatives to install a JVM:
116112

117113
- Manual
118114
- Using the project Installer
119115
- Using Gradle tasks from Template Project which interacts with Installer
120116
121-
WARNING: Not all alternatives are enabled for all cases. Review the documentation carefully and if you
122-
continue with doubts, link:https://github.com/ev3dev-lang-java/ev3dev-lang-java/issues[open a support issue] to clarify and improve the documentation.
123-
124-
#### Debian Jessie
125-
126-
##### Manual
127-
128-
On Debian Jessie + EV3 Brick the JVM available to use is Oracle JRE 8.
129-
To install this JVM in the Brick you need to download from link:http://www.oracle.com/technetwork/java/embedded/downloads/javase/javaseemeddedev3-1982511.html[here]
130-
and later, copy the file `ejdk-8-fcs-b132-linux-arm-sflt-03_mar_2014.tar.gz` to your brick using the command `scp`.
131-
132-
*Example:*
133-
134-
```
135-
scp "./ejdk-8-fcs-b132-linux-arm-sflt-03_mar_2014.tar.gz" "robot@192.168.1.85:/home/robot"
136-
```
137-
138-
Once, you have the file on the Brick, execute the following statements in a Terminal to unzip and
139-
enable the `java` command in the system:
140-
141-
```
142-
sudo tar -zxvf "/home/robot/ejdk-8-fcs-b132-linux-arm-sflt-03_mar_2014.tar.gz" -C /opt
143-
sudo update-alternatives --install /usr/bin/java java /opt/ejdk1.8.0/linux_arm_sflt/jre/bin/java 8
144-
```
145-
146-
*Now, you have Java on your EV3 Brick!*
147-
148-
##### Installer
149-
150-
Using the project link:https://github.com/ev3dev-lang-java/installer[Installer] is possible to automate
151-
some operations like Java installation once Oracle JRE 8 zip is on the brick on path: `/home/robot/`
152-
153-
```
154-
cd /home/robot
155-
mkdir installer
156-
cd installer
157-
wget -N https://raw.githubusercontent.com/ev3dev-lang-java/installer/master/installer.sh
158-
chmod +x installer.sh
159-
sudo ./installer.sh help
160-
sudo ./installer.sh
161-
```
162-
163-
##### Gradle Template project
164-
165-
WARNING: This option is not available for Debian Jessie at the moment.
166-
167-
#### Debian Stretch
168-
169-
In Debian Stretch, we are able to build `OpenJDK 10` for `EV3` so the Java installation experience is improved because
170-
it is possible to automate the whole Java instalation process.
171-
172-
Now, it is possible to download OpenJDK from this link:https://github.com/ev3dev-lang-java/openjdk-ev3/[repository].
173-
174-
##### Manual way
117+
#### Manual
175118

176119
Using the terminal, execute the following statements on a remote connection session from your EV3 Brick to
177120
install OpenJDK on your brick.
@@ -183,7 +126,9 @@ mv /opt/jri-ev3/ /opt/jri-10-build-050
183126
update-alternatives --install /usr/bin/java java /opt/jri-10-build-050/bin/java 10
184127
```
185128

186-
##### Installer
129+
*Now, you have Java on your EV3 Brick!*
130+
131+
#### Installer
187132

188133
Using the terminal, execute the following statements on a remote connection session from your EV3 Brick to
189134
to execute the installer.
@@ -199,7 +144,7 @@ sudo ./installer.sh help
199144
sudo ./installer.sh java
200145
```
201146

202-
##### Gradle Template project
147+
#### Gradle Template project
203148

204149
The template project provides some Gradle tasks to interact with Installer project to install Java.
205150
The available tasks:

0 commit comments

Comments
 (0)
0