dcsimg
VM parameters in double quotes?
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Anonymous
Posted On:   Wednesday, May 29, 2002 07:12 AM

In Run/Debug Configurations, the VM parameters, if we have a VM parameter where there may be spaces in it. for instance -Djava.rmi.server.codebase=http:/a.bee.com/d.jar http://a.bee.com/e.jar , in order to run it under a command line we must surround it with double quotes i.e. -Djava.rmi.server.codebase="http:/a.bee.com/d.jar http://a.bee.com/e.jar" However in IDEA, the double quotes have to be escaped i.e. " but still the command is not interpreted properly. This occurs when we have no escape character and if we escape the spaces. This is quite an important issue for us - we're using Jini. How do I get this run to work, or is it better to use an Ant t   More>>

In Run/Debug Configurations, the VM parameters, if we have a VM parameter where there may be spaces in it. for instance


			
-Djava.rmi.server.codebase=http:/a.bee.com/d.jar http://a.bee.com/e.jar
, in order to run it under a command line we must surround it with double quotes i.e.

			
-Djava.rmi.server.codebase="http:/a.bee.com/d.jar http://a.bee.com/e.jar"


However in IDEA, the double quotes have to be escaped i.e. " but still the command is not interpreted properly. This occurs when we have no escape character and if we escape the spaces.



This is quite an important issue for us - we're using Jini.


How do I get this run to work, or is it better to use an Ant target for running



Calum    <<Less

Re: VM parameters in double quotes?

Posted By:   Serge_Baranov  
Posted On:   Tuesday, June 11, 2002 07:04 AM

Try this:


"-Djava.rmi.server.codebase=http:/a.bee.com/d.jar http://a.bee.com/e.jar"
About | Sitemap | Contact