wood burning stoves 2.0*
The moose likes IDEs, Version Control and other tools and the fly likes Help needed in using Eclipse Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Bookmark "Help needed in using Eclipse" Watch "Help needed in using Eclipse" New topic

Help needed in using Eclipse

abin joy
Ranch Hand

Joined: Jul 29, 2008
Posts: 35
1)How to enable and disable assertions using eclipse?
2)How to run command line arguments using Eclipse Europa
Campbell Ritchie

Joined: Oct 13, 2005
Posts: 38004
1: don't know, but see below.
  • R-click the name of the class with the main method (on the left pane)
  • Click "run as"
  • Click whatever doesn't say "java application"; I think it's "show run dialog".
  • Click the "arguments" tab.
  • Put your command-line arguments into the upper box labelled "command-line arguments" or similar.
  • You might try -ea and -da in the next box labelled "VM arguments" for enabling and disabling assertions.
  • Click "run" at the lower right.
  • Voila!

  • [ September 09, 2008: Message edited by: Campbell Ritchie ]
    Yellaiah Gopireddy

    Joined: Mar 24, 2007
    Posts: 12
    1. set your compiler settings
    right click in package explorer--> build path --> configure build path
    --> java compiler

    2.right click on your java file --> runas --> run...
    enter your arguments details in 'arguments' tab

    I agree. Here's the link: http://aspose.com/file-tools
    subject: Help needed in using Eclipse
    Similar Threads
    Output image file and displaying it on screen
    Eclipse 3.2 Increase Heap?
    Hibernate plugin in Eclipse
    Debug J2EE appl in Eclipse
    How to embed JavaFX