Results 1 to 3 of 3
  1. #1
    seth_java is offline Member
    Join Date
    Sep 2011
    Location
    NY
    Posts
    2
    Rep Power
    0

    Default New to java - Issues with running the .java file from flash drive

    Hi Guys,

    I am a student very new to Java Programming. I have this java code copied from my school on my flashdrive. I opened the .java file from the flash drive using Eclipse and when I tried to "run" the program, it's prompting me to choose run as "ant build" and not showing the actual file names. I am not sure if have the pathname wrong. My question is how do I change the path settings on Eclipse if the .java file is located on my flashdrive to run the program? thanks.

  2. #2
    JosAH's Avatar
    JosAH is offline Moderator
    Join Date
    Sep 2008
    Location
    Voorschoten, the Netherlands
    Posts
    13,535
    Blog Entries
    7
    Rep Power
    20

    Default Re: New to java - Issues with running the .java file from flash drive

    Quote Originally Posted by seth_java View Post
    Hi Guys,

    I am a student very new to Java Programming. I have this java code copied from my school on my flashdrive. I opened the .java file from the flash drive using Eclipse and when I tried to "run" the program, it's prompting me to choose run as "ant build" and not showing the actual file names. I am not sure if have the pathname wrong. My question is how do I change the path settings on Eclipse if the .java file is located on my flashdrive to run the program? thanks.
    Right click an existing project (some package of the project will do) and select Import ...>General>File System. You can select the directory on your flash drive and Eclipse will import all resources (files) in your existing project.

    kind regards,

    Jos
    cenosillicaphobia: the fear for an empty beer glass

  3. #3
    seth_java is offline Member
    Join Date
    Sep 2011
    Location
    NY
    Posts
    2
    Rep Power
    0

    Default Re: New to java - Issues with running the .java file from flash drive

    thank you, JosAH. I appreciate your quick response.

Similar Threads

  1. Flash Drive Failure
    By Sno in forum Forum Lobby
    Replies: 0
    Last Post: 08-18-2010, 03:04 PM
  2. Best way to format a drive/thumb drive in java...
    By vandyke in forum Advanced Java
    Replies: 1
    Last Post: 12-09-2009, 01:32 AM
  3. jvm on flash drive
    By kabinet in forum New To Java
    Replies: 4
    Last Post: 11-02-2009, 07:38 AM
  4. Signed Java Applet to read a file on hard drive?
    By ollyworks in forum Java Applets
    Replies: 2
    Last Post: 09-11-2009, 10:08 PM
  5. NetBeans 6.5 installation on flash drive
    By andre1011 in forum NetBeans
    Replies: 3
    Last Post: 03-23-2009, 04:19 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •