Hi Paul,
On Sat, Dec 26, 2009 at 1:58 AM, Paul F Fraser [email protected]
wrote:
Is the private runtime executed with the full path to bin/java e.g
/home/john/java/jre6/jrel.6.0_18/bin/java -jar jruby-complete-1.4.0.jar -e
“puts ‘Hello Private’”
or is there another method, preferred or otherwise?
You could just add the Java’s bin directory to your $PATH (%PATH% on
Windows) and then do java … .
But typically you don’t need to execute java directly. Typically,
folks just use jruby command (be it jruby.exe custom launcher on
Windows or shell launcher script). The launchers typically look at
JAVA_HOME env. variable, and that’s how you set the location of the
Java VM.
On Windows, the launcher script also looks into the registry, so
setting JAVA_HOME is optional.
In the readme it states that with windows, bin/java.exe is optional. In
this case how is the private jre run?
This is optional only “when redistributing the JRE on Microsoft
Windows as a private application runtime (not accessible by other
applications) with a custom launcher”.
And we do have custom JRuby launcher on Windows which links against
jvm.dll and executes the JVM in-process, so java.exe is indeed
optional.
Having virtually no knowledge of the mac OSX, can a private jre be used and
as it does not appear in the Sun downloads, where does it come from?
I was under impression that private jre is something that can be done
manually, just chopping off the bits from the official JVM/JRE. But
this area where I’m not 100% sure.
Thanks,
–Vladimir
P.S. I might misunderstood you questions though… 
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email