Skip to content

Commit f785ba4

Browse files
committed
getting ready for release
1 parent 771b721 commit f785ba4

File tree

3 files changed

+9
-21
lines changed

3 files changed

+9
-21
lines changed

README.md

Lines changed: 7 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -2,17 +2,17 @@
22

33
[![Gem Version](https://badge.fury.io/rb/jruby_art.svg)](https://badge.fury.io/rb/jruby_art) ![Travis CI](https://travis-ci.org/ruby-processing/JRubyArt.svg)
44

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.
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.
66

77
## Requirements
88

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.
1010

1111
## Requirements
1212

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.
1415

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.
1616

1717
## Configuration
1818

@@ -31,25 +31,13 @@ java_args:
3131
# Global java_args can be used to suppress reflective access warn
3232
```
3333

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:-
37-
38-
```bash
39-
--add-opens java.base/java.lang=ALL-UNNAMED
40-
--add-opens java.desktop/java.awt=ALL-UNNAMED
41-
--add-opens java.desktop/sun.awt=ALL-UNNAMED
42-
--add-opens java.desktop/sun.java2d.opengl=ALL-UNNAMED
43-
```
44-
Mainly needed for opengl sketches.
45-
4634
## Install Steps (assumes you have requirements above)
4735

4836
```bash
4937
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
5139
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`
5341
# to use jruby-complete set `JRUBY: false` in config
5442
```
5543

@@ -99,7 +87,7 @@ k9 --live sketch.rb # pry is bound to Processing.app # needs `jruby -S gem insta
9987

10088
## Example sketches
10189

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.
10391

10492
[adopt]: https://adoptopenjdk.net/
10593
[pi]: http://ruby-processing.github.io/JRubyArt/raspberrypi_started/

jruby_art.gemspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ Gem::Specification.new do |spec|
1111
spec.author = 'Martin Prout'
1212
spec.email = '[email protected]'
1313
spec.description = <<-DESCRIPTION
14-
JRubyArt-2.0+ is a ruby implementation of the processing art framework, with enhanced
14+
JRubyArt-2.4.0+ is a ruby implementation of the processing art framework, with enhanced
1515
functionality. Processing libraries and ruby gems can be used in your sketches.
1616
Features create/run/watch/live modes.
1717
DESCRIPTION

vendors/Rakefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ WARNING = <<~WARN
1111
1212
WARN
1313
# https://github.com/processing/processing-video/releases/download/r6-v2.0-beta4/video-2.0-beta4.zip
14-
JRUBYC_VERSION = '9.2.11.0'
14+
JRUBYC_VERSION = '9.2.11.1'
1515
SOUND = 'sound.zip'
1616
SOUND_VERSION = 'v2.2.2'
1717
VIDEO = 'video-2.0-beta4.zip'

0 commit comments

Comments
 (0)