Sha256: dd7faad35ba878e8bc9362f4d8c3156b07e3596a9cbf66ed0398dbac1a4d55f3

Contents?: true

Size: 856 Bytes

Versions: 5

Compression:

Stored size: 856 Bytes

Contents

Building the custom nn Library
==============================
This is an example of a java library that you can build yourself with the included Rakefile.
You need a jdk, a system version of jruby and the ruby-compiler gem to build the nn library 
(see ext dir).
Compiling and building the jar is dead easy just issue the following command in a console.

`jruby -S rake compile`

you may also need to set JAVA_HOME to point to your jdk eg

`export JAVA_HOME=/opt/jdk1.7.0_65` for linux users 

You can even run the sketch using `rake`, with the `:run` task `rake run` and tidy up when your are done `rake clean`

This example was taken from [The Nature of Code](https://github.com/shiffman/The-Nature-of-Code) by Dan Shiffman, except the example has been rubified (and even the java code was doctored to be more up to date, and to prefer double to float).

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
ruby-processing-2.6.3 samples/external_library/java_processing/custom/README.md
ruby-processing-2.6.2 samples/external_library/java_processing/custom/README.md
ruby-processing-2.6.1 samples/external_library/java_processing/custom/README.md
ruby-processing-2.6.0 samples/external_library/java_processing/custom/README.md
ruby-processing-2.5.1 samples/external_library/java_processing/custom/README.md