JRuby 1.6 Tips

Setting JRuby to run in 1.9 by default

To set JRuby to run in 1.9 by default you need to set an environmental variable to:
key:  JRUBY_OPTS 
value: --1.9

To do this, go to the Run... Menu option in the CrossOver menu and type "regedit" 
from there find the HKEY_CURRENT_USER option on the side bar, hit the plus sign and select "Environment" from the sub-options. 

Then go to the right pane, right click on a white space and select "New > String Value" to create a new key.
Set the Key to JRUBY_OPTS (don't forget the s) and the value to --1.9 (two dashes). 

See the full procedure with screenshots here.

by David. on 2011-09-26 16:51:58
Important Information Tips are provided by the CrossOver Community and Advocates. They are not intended to be used for official CodeWeavers Support. For that, please visit our official support pages.
CodeWeavers or its third-party tools process personal data (e.g. browsing data or IP addresses) and use cookies or other identifiers, which are necessary for its functioning and required to achieve the purposes illustrated in our Privacy Policy. You accept the use of cookies or other identifiers by clicking the Acknowledge button.
Please Wait...
eyJjb3VudHJ5IjoiVVMiLCJsYW5nIjoiZW4iLCJjYXJ0IjowLCJ0enMiOi02LCJjZG4iOiJodHRwczpcL1wvbWVkaWEuY29kZXdlYXZlcnMuY29tXC9wdWJcL2Nyb3Nzb3Zlclwvd2Vic2l0ZSIsImNkbnRzIjoxNzM0NzIyMzMzLCJjc3JmX3Rva2VuIjoiNDQzdjdyOUc2RlVlTVY4biIsImdkcHIiOjB9