Search...
FAQs
Subscribe
Pie
FAQs
Recent topics
Flagged topics
Hot topics
Best topics
Search...
Search within IDEs and Version Control
Search Coderanch
Advance search
Google search
Register / Login
Post Reply
Bookmark Topic
Watch Topic
New Topic
programming forums
Java
Mobile
Certification
Databases
Caching
Books
Engineering
Micro Controllers
OS
Languages
Paradigms
IDEs
Build Tools
Frameworks
Application Servers
Open Source
This Site
Careers
Other
Pie Elite
all forums
this forum made possible by our volunteer staff, including ...
Marshals:
Campbell Ritchie
Jeanne Boyarsky
Ron McLeod
Paul Clapham
Liutauras Vilda
Sheriffs:
paul wheaton
Rob Spoor
Devaka Cooray
Saloon Keepers:
Stephan van Hulst
Tim Holloway
Carey Brown
Frits Walraven
Tim Moores
Bartenders:
Mikalai Zaikin
Forum:
Other IDEs, Version Control
Help needed in using Eclipse
abin joy
Ranch Hand
Posts: 35
posted 15 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
1)How to enable and disable assertions using eclipse?
2)How to run command line arguments using Eclipse Europa
Campbell Ritchie
Marshal
Posts: 79177
377
posted 15 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
1: don't know, but see below.
2:
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
Greenhorn
Posts: 12
posted 15 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
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
-YGR
reply
reply
Bookmark Topic
Watch Topic
New Topic
Boost this thread!
Similar Threads
Debug J2EE appl in Eclipse
Output image file and displaying it on screen
Hibernate plugin in Eclipse
How to embed JavaFX
Eclipse 3.2 Increase Heap?
More...