Skip to content

Commit d9c3445

Browse files
committed
adopt
1 parent bb14b26 commit d9c3445

File tree

2 files changed

+23
-10
lines changed

2 files changed

+23
-10
lines changed

Diff for: _java/JRubyArt_propane.md

-8
Original file line numberDiff line numberDiff line change
@@ -33,14 +33,6 @@ This is just another possibility but untested with ruby-processing projects.
3333

3434
[Link](https://www.azul.com/get-openjdk-support/)
3535

36-
### Installing jruby-launcher
3736

38-
It is recommended that you install the jruby-launcher (for optimised performance and suppression of illegal reflective access by jruby warning).
39-
40-
You should set the `JAVA_HOME` environmental variable before installing gem, and use JRuby version you want to use with PiCrate (preferably latest available).
41-
42-
```bash
43-
sudo jgem install jruby-launcher
44-
```
4537

4638
The illegal reflective access warnings warnings re-jogl remain.

Diff for: _jruby/propane.md

+23-2
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,15 @@ title: Installing JRuby for propane
44
permalink: /jruby/propane/
55
---
66

7-
An installed version of JRuby is an absolute pre-requisite for installing propane, but you should install java first.
7+
An installed version of JRuby is an absolute pre-requisite for installing propane, but you should [install java][java] first.
88

9-
## Installing/Updating jruby-launcher gem debian linux
9+
### Installing jruby-launcher
10+
11+
It is recommended that you install the jruby-launcher (for optimised performance and suppression of illegal reflective access by jruby warning).
12+
13+
You should set the `JAVA_HOME` environmental variable before installing gem, and use JRuby version you want to use with propane (preferably latest available).
14+
15+
## Debian linux
1016

1117
First set the `JAVA_HOME` environmental variable, you can do this by editing the `~/.profile` file:-
1218

@@ -18,3 +24,18 @@ then
1824
source ~/.profile # to use the edited ~/.profile in current shell
1925
sudo jgem install jruby-launcher # NB: you do need sudo access here
2026
```
27+
28+
## Other linux
29+
30+
First set the `JAVA_HOME` environmental variable, you can do this by editing the `~/.bashrc` file:-
31+
32+
```bash
33+
echo "export JAVA_HOME=/opt/jdk13 >> ~/.bashrc" # wherever
34+
```
35+
then
36+
```bash
37+
source ~/.bashrc # to use the edited ~/.bashrc in current shell
38+
sudo jgem install jruby-launcher # NB: you do need sudo access here
39+
```
40+
41+
[java]:{{ site.github.url }}/java/JRubyArt_propane

0 commit comments

Comments
 (0)