Index: plugins/war-snapshot/lib/run.rb
===================================================================
--- plugins/war-snapshot/lib/run.rb	(revision 451)
+++ plugins/war-snapshot/lib/run.rb	(working copy)
@@ -18,6 +18,7 @@
       @jetty_port = 8080
       @jetty_tmp = File.join('tmp', 'jetty')
       @jetty_config = File.join(jetty_tmp, 'jetty.xml')
+      @java_opts = ENV['JAVA_OPTS'] || ""
     end
     
     def run_standalone
@@ -33,11 +34,7 @@
       java_opts << ' -Xmx128m' unless java_opts =~ /-Xmx/
       system("java #{java_opts} -cp \"#{classpath_string}\" #{jetty_main} #{jetty_config}")
     end
-    
-    def java_opts
-      ENV['JAVA_OPTS'] || @java_opts
-    end
-    
+        
     def add_jetty_libraries
       # Get the Jetty libraries
       @classpath = []
