make JAVA_VM to be set from environment
---------------------------------------
Key: JRUBY-5849
URL: http://jira.codehaus.org/browse/JRUBY-5849
Project: JRuby
Issue Type: Improvement
Environment: $ java -version
java version "1.6.0_22"
OpenJDK Runtime Environment (IcedTea6 1.10.1) (6b22-1.10.1-0ubuntu1)
OpenJDK 64-Bit Server VM (build 20.0-b11, mixed mode)
Reporter: kristian meier
Assignee: Thomas E Enebo
Priority: Minor
ubuntu 11.04 comes with IcedTea6 which allows to choose between -client -cacao
and -jamvm runtime environment and I found jamvm gives a second better startup
which is a lot for these small commandline tools.
a little patch in the jruby executable would allow me to configure it for my
user account:
--- jruby~ 2010-04-03 17:32:00.000000000 +0530
+++ jruby 2011-05-27 00:13:51.088072014 +0530
@@ -155,5 +155,8 @@
fi
-JAVA_VM=-client
+if [ -z "$JAVA_VM" ] ; then
+ JAVA_VM=-client
+fi
+
JAVA_ENCODING=""
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email