A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Node.js in Action
this week in the
IDEs, Version Control and other tools
Help needed in using Eclipse
Joined: Jul 29, 2008
Sep 09, 2008 05:41:00
1)How to enable and disable assertions using eclipse?
2)How to run command line arguments using Eclipse Europa
Joined: Oct 13, 2005
Sep 09, 2008 08:41:00
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.
[ September 09, 2008: Message edited by: Campbell Ritchie ]
Joined: Mar 24, 2007
Sep 09, 2008 09:58:00
1. set your compiler settings
right click in package explorer--> build path --> configure build path
2.right click on your java file --> runas --> run...
enter your arguments details in 'arguments' tab
I agree. Here's the link:
subject: Help needed in using Eclipse
Hibernate plugin in Eclipse
Eclipse 3.2 Increase Heap?
Output image file and displaying it on screen
Debug J2EE appl in Eclipse
How to embed JavaFX
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014