Search code examples
eclipseweblogic11g

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


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


Solution

  • I found the solution:

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