1 Replies - 438 Views - Last Post: 08 November 2012 - 06:14 AM Rate Topic: -----

#1 dboltz03  Icon User is offline

  • New D.I.C Head

Reputation: 4
  • View blog
  • Posts: 12
  • Joined: 04-December 11

Java options from Eclipse

Posted 08 November 2012 - 05:47 AM

Hi there,

I'm trying to figure out how to run my java program from Eclipse so that the command line equivalent would be:
java -ea myprogram

I know how to pass an argument to the program in Eclipse, but how do I specify the '-ea'?

Thanks,
Dylan
Is This A Good Question/Topic? 0
  • +

Replies To: Java options from Eclipse

#2 tony12095  Icon User is offline

  • D.I.C Head
  • member icon

Reputation: 14
  • View blog
  • Posts: 109
  • Joined: 23-October 12

Re: Java options from Eclipse

Posted 08 November 2012 - 06:14 AM

Have you looked under the build path? go to Eclipse-> preferences and build path is in there, you should be able to add variables and set them to certain projects when you run them in eclipse.

This post has been edited by tony12095: 08 November 2012 - 06:15 AM

Was This Post Helpful? 0
  • +
  • -

Page 1 of 1