Skip to content

Commit fec6b4d

Browse files
committed
Update
1 parent 988def9 commit fec6b4d

File tree

6 files changed

+23
-22
lines changed

6 files changed

+23
-22
lines changed

_building/building.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,11 @@ title: Building ruby-processing projects
55

66
# Tools of the Trade
77

8-
You will need to install jdk12, maven (apache-maven-3.5+), jruby-9.2.11.0+, and have access to processing jogl jars. Note we prefer a local install of [minitest][minitest] for testing.
8+
You will need to install jdk11+, maven (apache-maven-3.8.3+), jruby-9.3.0.0+, and have access to processing jogl jars. Note we prefer a local install of [minitest][minitest] for testing.
99

1010
# How to build ruby-processing projects
1111

12-
Install the processing so you can access the processing hacked jogl jars, unfortunately you will need to do this until the processing guys (mainly Ben Fry) see the light and convert vanilla processing to use a maven build. Do this for any other jars you require that are not available from maven central.
12+
You will need to get the latest version of JOGL (currently JOGL-2.4 as a release candidate)
1313

1414
```bash
1515
git clone repo

_building/hype.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ This file tells maven to do a polyglot-ruby build
2727
<extension>
2828
<groupId>io.takari.polyglot</groupId>
2929
<artifactId>polyglot-ruby</artifactId>
30-
<version>0.4.3</version>
30+
<version>0.4.6</version>
3131
</extension>
3232
</extensions>
3333
```

_java/JRubyArt_propane.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ ld.so: dl-lookup.c: 111: check_match: Assertion `version->filename == NULL || !
1616
1717
```
1818
19-
## AdoptOpenJDK (Recommended version 12+)
19+
## OpenJDK (Recommended version 11+)
2020
2121
The development version of vanilla processing is using this version and I think it is a good choice, however to confuse matters it comes in several flavours. Vanilla processing is using the variant with a `hotspot` jvm, which is a good starting point. The ruby-processing group will be pleased to hear about anyone experimenting with the `OpenJ9` jvm.
2222
@@ -34,6 +34,6 @@ The development version of vanilla processing is using this version and I think
3434
3535
### OpenJ9 jdk12+
3636
37-
Is an excellent alternative (jdk14 version has been tested on linux)
37+
Is an excellent alternative (jdk16 version has been tested on linux)
3838
3939
Use the latest versions of PiCrate, propane and JRubyArt to avoid reflective access warnings (you may need to define JAVA_HOME to get rid off the JRuby warnings).

_java/raspberry.md

+8-7
Original file line numberDiff line numberDiff line change
@@ -5,17 +5,18 @@ title: Choice of JDK on Raspbian Distro
55

66
# Recommended Setup For PiCrate
77

8-
## Raspbian Stretch Release
8+
## RaspbianOS Release (32 bit)
99

10-
The installed Oracle JDK8 probably works best, you can use the stock OpenJDK8 from Debian distribution.
10+
The installed OpenJDK probably just works best.
1111

1212
```bash
13-
sudo apt-get install openjdk-8-jdk
13+
sudo apt install openjdk-11-jdk # installs latest jdk11
1414
```
1515

16-
## Raspbian Buster Release
16+
## ManjaroARM (64 bit)
1717

18-
The latest version of PiCrate works well with stock java install (jdk11) on Raspbian Buster.
18+
The latest version of PiCrate works well with stock java install jdk16.
1919

20-
21-
You will need to define JAVA_HOME for jdk11+ to avoid reflective access warnings with JRuby.
20+
```bash
21+
sudo pacman -S jre-openjdk
22+
```

_jruby/JRubyArt.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ permalink: /jruby/JRubyArt/
66

77
# Recommended JRuby Install For JRubyArt
88

9-
The preferred JRubyArt setup requires that you do a system install of JRuby. You should install java before attempting to install JRuby. Install at least version 9.2.11.1.
9+
The preferred JRubyArt setup requires that you do a system install of JRuby. You should install java before attempting to install JRuby. Install at least version 9.3.0.0.
1010

1111
# Alternative Setup For JRubyArt
1212

_jruby/raspberry.md

+9-9
Original file line numberDiff line numberDiff line change
@@ -8,18 +8,18 @@ permalink: /jruby/raspberry
88

99
## Download
1010

11-
Download the latest JRuby release [here][download]. You could use `wget` (substituting latest version for for `9.2.11.1`):-
11+
Download the latest JRuby release [here][download]. You could use `wget` (substituting latest version for for `9.3.0.0`):-
1212

13-
`wget https://repo1.maven.org/maven2/org/jruby/jruby-dist/9.2.11.1/jruby-dist-9.2.11.1-bin.tar.gz`
13+
`wget https://repo1.maven.org/maven2/org/jruby/jruby-dist/9.3.0.0/jruby-dist-9.3.0.0-bin.tar.gz`
1414

1515
## Install
1616

1717
```bash
1818
cd /opt
19-
sudo tar xzvf ~/jruby-dist-9.2.11.1-bin.tar.gz # or ~/Downloads/...
20-
sudo update-alternatives --install /usr/bin/jruby jruby /opt/jruby-9.2.11.1/bin/jruby 100
21-
sudo update-alternatives --install /usr/bin/jgem jgem /opt/jruby-9.2.11.1/bin/jgem 100
22-
sudo update-alternatives --install /usr/bin/jirb jirb /opt/jruby-9.2.11.1/bin/jirb 100
19+
sudo tar xzvf ~/jruby-dist-9.3.0.0-bin.tar.gz # or ~/Downloads/...
20+
sudo update-alternatives --install /usr/bin/jruby jruby /opt/jruby-9.3.0.0/bin/jruby 100
21+
sudo update-alternatives --install /usr/bin/jgem jgem /opt/jruby-9.3.0.0/bin/jgem 100
22+
sudo update-alternatives --install /usr/bin/jirb jirb /opt/jruby-9.3.0.0/bin/jirb 100
2323
```
2424

2525
## Update
@@ -37,14 +37,14 @@ It is preferable to store gems in your local environment, if you have not instal
3737
1. Create local folders
3838

3939
```bash
40-
mkdir -p ~/.gem/ruby/2.5.0
40+
mkdir -p ~/.gem/ruby/2.6.0
4141
```
4242

4343
2. Set gem home/path in ~/.profile
4444

4545
```bash
46-
echo "export GEM_HOME=\"\$HOME/.gem/ruby/2.5.0\"" >> ~/.profile
47-
echo "export GEM_PATH=\"\$HOME/.gem/ruby/2.5.0\"" >> ~/.profile
46+
echo "export GEM_HOME=\"\$HOME/.gem/ruby/2.6.0\"" >> ~/.profile
47+
echo "export GEM_PATH=\"\$HOME/.gem/ruby/2.6.0\"" >> ~/.profile
4848
```
4949

5050
This will set were gems get installed (unless you use rvm, which would be stupid to use on raspberrypi).

0 commit comments

Comments
 (0)