You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A new version for jdk11 use, does not require an installed `vanilla processing`, however if installed you can use processing-ide to download libraries. Configuration file is incompatible with that of previous version of JRubyArt (and you should move or rename old `config.yml` to keep it). This version will run with a default configuration file but you won't be able to use processing libraries, until you match configuration to your setup.
5
+
A new version for jdk11 use, does not require an installed `vanilla processing`, however if installed you can use processing-ide to download libraries. Configuration file is incompatible with that of previous version of JRubyArt (and you should move or rename old `config.yml` to keep it). This version will run with a default configuration file but you won't be able to use processing libraries, until you match configuration to your setup. Illegal reflective access warning should be fixed for this release (by using JOGL-2.4.0-rc jars), though you may need to define `JAVA_HOME` for JRuby warnings to be suppressed.
6
6
7
7
## Requirements
8
8
9
-
A clean start for `jruby_art` with custom processing core included, built for [jruby-9.2.11.0](http://jruby.org/download) see [wiki](https://github.com/ruby-processing/JRubyArt/wiki/Building-latest-gem) for building gem from this repo.
9
+
A clean start for `jruby_art` with custom processing core included, built for [jruby-9.2.11.1](http://jruby.org/download) see [wiki](https://github.com/ruby-processing/JRubyArt/wiki/Building-latest-gem) for building gem from this repo.
10
10
11
11
## Requirements
12
12
13
-
A suitable version of ruby (MRI `ruby 2.3+` or `jruby-9.2.11.0`) to download gem.
13
+
A suitable version of ruby (MRI `ruby 2.4+` or `jruby-9.2.11.0`) to download gem. NB: avoid ruby 2.7, it is guaranteed to give you problems (you've been warned)
14
+
Tested and working AdoptOpenJDK 11-13, OpenJ9 14, if you have any issues with opengl sketches with distro installed JDK use a JDK from AdoptOpenJDK.
14
15
15
-
`open-jdk11.03+` currently FX2D is not included. Currently you can ignore `illegal reflective access` warnings, [see here how to suppress them][warnings]. There may be a linker issue with P2D or P3D sketches with stock openjdk with some linux distros, in which case you might find [Adopt open jdk binaries][adopt] will work for you.
16
16
17
17
## Configuration
18
18
@@ -31,25 +31,13 @@ java_args:
31
31
# Global java_args can be used to suppress reflective access warn
32
32
```
33
33
34
-
## Suppressing Reflective Access warnings
35
-
36
-
Since JRuby-9.2.10.0 it is possible to suppress reflective access warnings by including a `~/.jruby.java_opts` file with following contents:-
## Install Steps (assumes you have requirements above)
47
35
48
36
```bash
49
37
gem install jruby_art
50
-
k9 --install # installs jruby-complete-9.2.11.0 and downloads and installs samples to ~/k9_samples
38
+
k9 --install # installs jruby-complete-9.2.11.1 and downloads and installs samples to ~/k9_samples
51
39
cd~/k9_samples/contributed
52
-
k9 --run jwishy.rb # if you have jruby-9.2.11.0 installed or config `JRUBY: false`
40
+
k9 --run jwishy.rb # if you have jruby-9.2.11.1 installed or config `JRUBY: false`
53
41
# to use jruby-complete set `JRUBY: false` in config
54
42
```
55
43
@@ -99,7 +87,7 @@ k9 --live sketch.rb # pry is bound to Processing.app # needs `jruby -S gem insta
99
87
100
88
## Example sketches
101
89
102
-
[Worked Examples](https://github.com/ruby-processing/JRubyArt-examples) and, [The-Nature-of-Code-Examples-for-JRubyArt](https://github.com/ruby-processing/The-Nature-of-Code-for-JRubyArt) feel free to add your own, especially ruby-2.2+ syntax now we can. These can now be downloaded using `k9 --install` please move existing `k9_samples` if you wish to keep them.
90
+
[Worked Examples](https://github.com/ruby-processing/JRubyArt-examples) and, [The-Nature-of-Code-Examples-for-JRubyArt](https://github.com/ruby-processing/The-Nature-of-Code-for-JRubyArt) feel free to add your own, especially ruby-2.4+ syntax now we can. These can now be downloaded using `k9 --install` please move existing `k9_samples` if you wish to keep them.
0 commit comments