Skip to content

Commit deaac8c

Browse files
committed
Update manjaro install
1 parent 7cb3c59 commit deaac8c

File tree

3 files changed

+15
-6
lines changed

3 files changed

+15
-6
lines changed

docs/_posts/2020-05-11-getting_started_manjaro.md

Lines changed: 13 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,19 +5,28 @@ date: 2020-05-11 07:34:13
55
categories: PiCrate update
66
permalink: /getting_manjaro/
77
---
8-
If Manjaro does not come with a pre-installed java, then the first step is to install a `jdk` the distro version (jdk14) should work.
8+
If Manjaro does not come with a pre-installed java, then the first step is to install a `jdk` the distro version (jdk16) should work.
99

1010
```bash
11-
sudo pacman -S jdk-openjdk # current distro version jdk14
11+
sudo pacman -S jre-openjdk # current distro version jdk14
1212
```
1313
You can also use pacman to install jruby
1414
```bash
15-
sudo pacman -S jruby # current version jruby-9.2.14.0
15+
sudo pacman -S jruby # current version jruby-9.3.0.0
1616
```
1717
It is probably a good idea to create a local gem store (rather needing to use sudo to install gems)
18+
```bash
19+
sudo pacman -S vim # all you need if your happy with vim
20+
```
21+
Vim is not installed by default
22+
```bash
23+
sudo pacman -S geany # if you prefer a GUI
24+
```
25+
Geany is not installed by default
26+
1827

1928
```bash
20-
mkdir -p ~/.gem/ruby/2.5.0 # current MRI version supported by jruby
29+
mkdir -p ~/.gem/ruby/2.6.0 # current MRI version supported by jruby
2130
```
2231
Now set your `GEM_HOME`, `GEM_PATH` and amend your `PATH` as follows:-
2332

pom.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
'project.build.sourceEncoding' => 'UTF-8',
3535
'polyglot.dump.pom' => 'pom.xml')
3636

37-
jar 'org.jruby:jruby-base:9.3.0.0'
37+
jar 'org.jruby:jruby-base:${jruby.version}'
3838
jar 'org.jogamp.jogl:jogl-all:${jogl.version}'
3939
jar 'org.jogamp.gluegen:gluegen-rt-main:${jogl.version}'
4040
jar 'org.processing:video:3.0.2'

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ DO NOT MODIFY - GENERATED CODE
7979
<dependency>
8080
<groupId>org.jruby</groupId>
8181
<artifactId>jruby-base</artifactId>
82-
<version>9.3.0.0</version>
82+
<version>${jruby.version}</version>
8383
</dependency>
8484
<dependency>
8585
<groupId>org.jogamp.jogl</groupId>

0 commit comments

Comments
 (0)