Skip to main content



      Home
Home » Newcomers » Newcomers » Need help inputing from a file
Need help inputing from a file [message #134142] Wed, 01 February 2006 23:04 Go to next message
Eclipse UserFriend
Originally posted by: cleber.cisunix.unh.edu

I'm writing a program that needs to get input from a file. The name of
the file has to be specified from the command line. How do you specify
command line arguments in Eclipse, and is there any location in particular
I should use for the file? I tried Run > Arguments and specifying the
file name as a "Program Argument" but it kept coming back as "File not
found". I think I just have the file in the wrong place, so where should
it be?
Re: Need help inputing from a file [message #134211 is a reply to message #134142] Wed, 01 February 2006 23:53 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: cleber.cisunix.unh.edu

Never mind.... I figured it out.
Re: Need help inputing from a file [message #134472 is a reply to message #134142] Fri, 03 February 2006 10:28 Go to previous message
Eclipse UserFriend
Originally posted by: chris.zzzz.com

Typically the current directory when you are running a java app inside
eclipse is workspacename/projectname, so unless you specify the full path it
will expect to find the file there.
Previous Topic:swt app created, now what?
Next Topic:Can client server architecture be implemented in eclipse
Goto Forum:
  


Current Time: Thu Apr 24 23:23:37 EDT 2025

Powered by FUDForum. Page generated in 0.07615 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top