how do I pass "-D" argument in Eclipse to my weblogic server

anasdox picture anasdox · Jan 10, 2013 · Viewed 8.1k times · Source

I am developing on Eclipse on ubuntu and deploy on weblogic. I am fething the system property values using System.getProperty("key") ... how do I pass "-Dxxx=yyy" argument in Eclipse to my weblogic server.

In Run -> Run configurations I dont have “Arguments” tab for weblogic server

Answer

anasdox picture anasdox · Jan 11, 2013

I found the solution:

Menu: Run > Run configurations > environment tab
add: JAVA_OPTIONS variable with arguments "-Dxxx=yyy -Daaa=bbb"