File didn't find!

Hello,
I have a file into path's application called myFile
I try to check its pah so I excecute this code (piace)
File fs = new File("myFile");
txtFilePath.setText(fs.getAbsolutePath());
Then It returns ok.
But it just return ok as I execute it into NetBeans.
After I create (compile) and try to execute it out NetBeans it doesn't find the file.
WHY?

UpTheIrons wrote:
Hello,
I have a file into path's application called myFile
I try to check its pah so I excecute this code (piace)
File fs = new File("myFile");
txtFilePath.setText(fs.getAbsolutePath());
Then It returns ok.
But it just return ok as I execute it into NetBeans.
After I create (compile) and try to execute it out NetBeans it doesn't find the file.
WHY?Most likely because your current directory is not the same in NB as out of it.

Similar Messages

  • HT4847 Where is the public folder ??? I need to share some files, but i didn't find this folder

    Where is the public folder ??? I need to share some files, but i didn't find this folder

    iCloud does not provide this facility: you will need to find a third-party alternative. This page examines some options:
    http://rfwilmut.net/migrate3

  • HT5149 Hi, I still have problems reinstalling Final Cut Pro even though I followed these steps. Didn´t find "com.apple.motionapp.plist" to remove though, but the others I found. Reason why I have to reinstall is because I have repaired my Macbook Pro hard

    Hi, I still have problems reinstalling Final Cut Pro even though I followed these steps.
    Reason why I have to reinstall is because I have repaired my Macbook Pro hard drive at a Mac Authorized Repair.
    Short history of repair and my Final Cut Pro installation:
    1. Macbook Pro stopped working, sendt it for repair. Had the Final Cut Pro installed,
    2. Desided to try a MiniMac and recovered my backup with Time Machine, got the Final Cut Pro working.
    3. Got my Macbook Pro back from repair, did backup on this one as well. But this time only the files not the Applications.
    4. Removed the files as mentioned in HT5149. Didn´t find "com.apple.motionapp.plist" to remove though, but the others I found.
    5. When I try to install Final Cut Pro from App Store, it downloads the application as planned. But after download it won´t show in the Application folder nor in the downloads folder, nor will it start an installation prosess. If I pause the installation in App Store, I can see the Final Cut Pro icon in my Dock. (But, as mentioned, after installation it won´t show neither here or in the Applications folder).
    Any suggestions on what I should try now?
    Thanks for any reply, I´m in deep water here...

    Sounds like there is a file you're not getting.  Never do a removal manually.  It's so time consuming and a pain.  There's a very easy and fast way to do this, safely, properly.
    Get the free "Final Cut Remover" app from Digital Rebellion (dot com), use this to remove FCP X.
    Reboot the Mac.
    Download from scratch.
    If you're not seeing FCP X in your app folder, run Disk Utility to Repair all drives.
    If that doesn't help, try running Disk Warrior from Altsoft to repair the directories on all drives.

  • How do I remove an old file from the Finder Favorites list?

    Good Afternoon.
    I have a shiney new MBPro with 10.7.1.
    On my old machine running Snow Leopard, I had two .xls files I used often that I had dragged to the left side into the favorites. The truth is, I hadn't used them in months, but hadn't bothered to remove them. Then about ten days ago, the Bad Thing happened, and I had to replace my laptop rather suddenly. The nice folks at the Apple store transferred all the data and I was off an running in just a few hours.
    Now, I thought to myself, I should remove those two files since I don't use them any more. But how?
    If I click on them nothing happens. If I right-click on them, nothing happens. I can't drag them out because they don't drag and they aren't listed on the list of favorites that can be toggled on and off in preferences.
    I checked. The files did still exist but deleting them didn't remove their names from the favorites list.
    Any suggestions as to how to remove these two .xls files from the Finder's Favorites list?
    Thanks. A picture is below.

    The msot amazing person ,just posted an answer to my other question which worked here too.
    Three cheers for Kappy!
    Just hold down the CMD key and drag them off. How simple is that?? They didn't klnow this at the Genius bar when I asked this morning. I am amazed.
    I wish I knew how to send Kappy cookies.
    Thank you Kappy.

  • Why my Mac freeze when PDF files in the FINDER

    I have that problem since yesterday: when I try to either select or even just view the content of a folder with PDF files in it, my Mac freeze progressively after few seconds. Then, the only solution is to force quit by holding the power button. Really annoying! What should I do? My computer is only 4-5 months old.
    I've uninstalled Acrobat, verified all my drives with Disk Utility, repaired my permissions and emptied my library cache. Nothing... Could it be the recent Firefox update ( yesterday )? Until 24 hours ago, everything was fine.
    Thanks for the help!

    Since this is happening in the Finder... try this:
    Locate this file: com.apple.finder.plist /Users/YourName/Library/Preferences. Drag that file from the Preferences folder to the Trash, empty the Trash and reboot.
    If that didn't do the job, do a Spotlight search and look for any .pdf files you have downloaded and saved and DELETE them. Somewhere in your system you have a corrupted .pdf file.
    And, check the hard disk. Even if you've done this already, try again:
    Open Disk Utility, in the Utilities folder in the Applications folder.
    Insert your Mac OS X Install disc in your computer’s optical drive or an optical drive connected to your computer, and then restart your computer. When you hear the startup tone, hold down the C key until you see the progress indicator, which looks like a spinning gear.
    Follow the onscreen instructions until the menu bar appears with the Utilities menu in it, choose Utilities > Disk Utility, click First Aid, and then click Repair Disk. When it's finished, from the Menu Bar, select Utilities/Startup Disk. In the Startup Disk window select MacintoshHD 10.x.x and click Restart.
    Also, the best way to have Apple be aware of these issues is to send them crash reports. Here's how to do that:
    Reporting problems to Apple
    When an application quits unexpectedly, you see a dialog that gives you the option to submit a report about the problem, called a “bug report,” to Apple.
    When you submit a bug report to Apple, it includes information about the problem and your computer’s configuration. Many problems are directly attributable to the hardware and software configuration.
    No personal information is gathered about you or your computer. No information that can be used to identify your computer is sent, such as volume names, network addresses, or hardware addresses. For more information, click the link at the bottom of the page to see Apple’s customer privacy policy.
    To submit a bug report to Apple:
    Connect to the Internet.
    In the dialog that appeared when the application quit, click the Submit button.
    Type a description of what you were doing when the application quit. List the applications that were open when the problem occurred, and any steps or hints to reproduce the problem.
    Review the report in the Crash Report window.
    Click “Send to Apple” to submit the report.
    You won’t receive an immediate response, but Apple greatly appreciates your taking the time to submit a bug report. As the software is revised, these reports are reviewed to help improve the software.
    Your computer also records details about the problem in a log file. You can use log files to troubleshoot problems with an application, or you can send a log to the application’s developer if it is requested.
    You can view the logs in Console, located in the Utilities folder in the Applications folder.
    Carolyn
    Message was edited by: Carolyn Samit

  • Thanks for the response, Peggy. I didn't find a 10 ^ update on the update, but I did update Java to Update 7. I then followed your directions to delete the Appleworks preferences. However, I still have the same problem. Any other suggestions. My wife real

    Thanks for the response, Peggy. I didn't find an update for the update of OA X10.6, but I did update Java to update 7. I also followed your instructions and deleted the preferences files. However, I still get the same dialog box: "Appleworks 6 Quit Unexpectedly". Any other ideas.? Many thanks,
    Sprinkles

    Hi Sprinkles: You may need to repost your response in the original thread to get Peggy's attention. I have included the link to your previous thread below.
    https://discussions.apple.com/message/18043809#18043809
    Stedman

  • We didn't find anything to show here in archived emails

    We use Outlook as an email client, since we don't have a Exchange Server. When I make an archive 2 months ago, it works perfect, I could see all my older messages in my inbox and folder created.  For  some reason (I believe after the last office
    update or patch), every time i make an archive, when I open the file this message appear  "We didn't find anything to show here in archived emails" and it's very annoying. Nothing appears even it says that there are unread emails on the folder.
    How can I fix it?

    Hi,
    Please check if you have any filter applied to this folder, try to click "Clear All" on filter dialog and see if it works:
    http://office.microsoft.com/en-au/outlook-help/view-settings-is-under-view-current-view-HT102769168.aspx
    Also, try to
    use scanpst.exe tool to repair your archiver data file. Please refer to this article on how to use scanpst.exe:
    http://office.microsoft.com/en-us/outlook-help/repair-outlook-data-files-pst-and-ost-HA102749454.aspx
    Hope this helps.
    Thanks,
    Ethan Hua CHN
    TechNet Community Support

  • Windows Find File can't find Camera Raw.8bi though it's there

    Hi everybody,
    Must be my age, but here it is:
    Windows Find File (the search utility from the Start button in XP) can't find Camera Raw.8bi although it's sitting perfectly inside:
    C:\Program Files\Common Files\Adobe\Plugins\CS3\File Formats.
    Even *.8bi didn't find it (or any other .8bi file for that matter). The obvious search strings *did* find the couple of archived ACR files I backed up, including the latest, but not the one sitting in it's normal spot.
    I then tried my second PS machine (the laptop) and there the same happened (no ACR file found although its there).
    On both computers ACR 4.3.1 is working correctly. I was just checking their location, because sometimes after a camera file ingest session, Bridge shows some Raw files as generic icons, which also have no metadata, and have "no" after "supports XMP".
    The latter problem aside, maybe someone knows what I'm overseeing in the file find thing.
    No folders or files in the above path are flagged Hidden or System, or anything.
    Thanks,
    Rob

    Ok, That's ready (pffft!)
    Now the file find problem. I put a check on the "hidden files" box, an now it actually finds it.
    But it's not "hidden", nor "system". Just "archive".
    So then I looked to see if any of the folders in the path "C:\Program Files\Common Files\Adobe\Plugins\CS3\" was hidden, but no.
    Fine. Heck, I got other things to do. It's not important. Faggettaboutit. Thanks for thinking with me!
    Rob

  • Important file, can not find anywhere

    Hello
    I was using this file 2 nights ago and I went to use it tonight and it has disapeared.  I have tried to find in finder (magnifying glass) and opened up trash and files that I have intentionally deleted recently are not there.  Any suggestions would be greatly appreciated

    Are you sure it was saved?
    What kind of file was it?
    If Spotlight didn't find it, try FindAnyFile:
    http://apps.tempel.org/FindAnyFile/
    or EasyFind:
    http://www.devontechnologies.com/products/freeware.html

  • Invisible 4 Gig file I cant find

    This might be the wrong forum, but most people here know their business. I used the program "Screen Mimic" witch is a screen capture program(http://www.decimus.net/ScreenMimic.php). I saved the .mov file to an external firewire drive. As it was rendering out I noticed that the space on my internal drive was filling up. I thought it was just using it for scratch, but after successfully exporting the 4 Gig .mov file to my external, the space on my internal was still filled up, 4 Gigs worth. I did a search for all recent files on my internal and didn't find it. I repaired my disc permissions. One other weird thing is that I did a search for files above 3 Gigs and it found nothing, 0 items, and I have a lot of files that are over 3 Gigs. Any suggestions would be greatly appreciated.
    Thanks,
    Ryan

    Ryaan wrote:
    This might be the wrong forum, […] Any suggestions would be greatly appreciated.
    Ask in the appropriate forum, would be my best one.

  • I had synced all my infos (passwords etc.) in my old laptop but today, when I linked my new laptop with my firefox sync account, I didn't find my saved infos.

    Before I came to my new place, I had saved all my info like passwords, bookmarks etc. in my old laptop and synced them with my Firefox sync account. But, after I came to my new place, I bought a new laptop. But when I signed in my Firefox sync account in my new laptop, I didn't find all those bookmarks or saved passwords. What do I do?

    Yes, I would say that your passwords are gone. When the Sync Key is "updated" as indicated in that part of the sync-log that I cropped, the server is wiped of the users data because that data is useless. That Sync key is the encryption key for the users data when that data is off the user's devices which are connected to Firefox Sync. No one except for the person with the correct Sync Key (the "owner" of that Sync account) can use that data as the data is scrambled.
    I am curious about the full text of the last two sync-log files, 11kb and 38kb is a lot more data than usual for a sync-log. On my 3 separate Sync accounts I usually see sync-log files of 3kb to 8 kb when there is an error-. Problem is that this forum software doesn't provide for file uploads, and doing a copy&paste of that data into the Reply Box doesn't preserve the line formatting - making it very difficult to read and follow the sequence of events.
    Sorry we didn't have a successful conclusion.

  • 4 Gig file I cant find

    I used the program "Screen Mimic" witch is a screen capture program(http://www.decimus.net/ScreenMimic.php). I saved the .mov file to an external firewire drive. As it was rendering out I noticed that the space on my internal drive was filling up. I thought it was just using it for scratch, but after successfully exporting the 4 Gig .mov file to my external, the space on my internal was still filled up, 4 Gigs worth. I did a search for all recent files on my internal and didn't find it. I repaired my disc permissions. One other weird thing is that I did a search for files above 3 Gigs and it found nothing, 0 items, and I have a lot of files that are over 3 Gigs. Any suggestions would be greatly appreciated.
    Thanks,
    Ryan

    Have you looked with WhatSize?
    Or http://www.omnigroup.omnidisksweeper
    I suspect you aren't searching in hidden and temp directories.
    How much free space did you have? There are now 320GB and 500GB drives even for laptops and even standard 3.5" SATA drives of 1TB are $169.

  • How do I find a photo file in the Finder + future migration question

    Being a recent Mac convert, I am just getting used to the 'complete control' approach to photo management that iPhoto has. I'm used to knowing where my photos physically reside on my computer - this is useful for doing things like uploading photos to a website for example. How do I actually find a particular photo in the Finder (or even give photo files recognisable names, as opposed to whatever automated naming system iPhoto uses)?
    A followup question to this is, what happens if I ever want to migrate my photos out of iPhoto one day to another application or even back to a PC (God forbid - just my paranoia about being forced to use a particular system forever kicking in here!) - is there a way to do this, and keep photo modifications etc? Or once I start using iPhoto, have I made my decision for life??
    My apologies if this has been asked before, I couldn't find anything in the forum when searching.

    poddster
    I hope you've a notebook and pen, but you've asked a lot of questions:
    I'm used to knowing where my photos physically reside on my computer
    You photos are stored in the iPhoto Library at your Pictures Folder. This is a Unix style Package Folder that very easy to see inside: right click on it and choose show package contents. A finder window opens with the library exposed.
    Here's how the library is laid out:
    In this folder there are various files, which are the Library itself and some ancillary files. Then you have three folders
    Originals are the photos as they were downloaded from your camera or scanner.
    (ii) Modified contains edited pics, shots that you have cropped, rotated or changed in any way.
    iPhoto always preserves the original file, all operations are carried out on a copy.
    (iii) Data holds the thumbnails the the app needs to show you the photos in the iPhoto Window.
    And here's a warning: It is strongly advised that you do not move, change or in anyway alter things in the iPhoto Library Folder as this can cause the application to fail and even lead to data loss.
    this is useful for doing things like uploading photos to a website for example
    No it's not. Don't surf the iPhoto Library. The idea with iPhoto is that you do everything via the iPhoto Window or media browsers:
    So, to access pics use one (or more) of the following:
    There are three ways (at least) to get files from the iPhoto Window.
    1. *Drag and Drop*: Drag a photo from the iPhoto Window to the desktop, there iPhoto will make a full-sized copy of the pic.
    2. *File -> Export*: Select the files in the iPhoto Window and go File -> Export. The dialogue will give you various options, including altering the format, naming the files and changing the size. Again, producing a copy.
    3. *Show File*: Right- (or Control-) Click on a pic and in the resulting dialogue choose 'Show File'. A Finder window will pop open with the file already selected.
    To upload to MySpace or any site that does not have an iPhoto Export Plug-in the recommended way is to Select the Pic in the iPhoto Window and go File -> Export and export the pic to the desktop, then upload from there. After the upload you can trash the pic on the desktop. It's only a copy and your original is safe in iPhoto.
    This is also true for emailing with Web-based services. If you're using Gmail you can use THIS
    If you use Apple's Mail, Entourage, AOL or Eudora you can email from within iPhoto.
    If you use a Cocoa-based Browser such as Safari, you can drag the pics from the iPhoto Window to the Attach window in the browser. Or, if you want to access the files with iPhoto not running, then create a Media Browser using Automator (takes about 10 seconds) or use THIS
    iPhot doesn't name the files, those names are given by your camera. You can add titles in iPhoto and if you use the File -> Export command there's a facility there to name the resulting file (it'll be a copy - remember what I said about all operation being done on a copy...) with the title.
    Do not rename files in iPhoto, That comes under the heading of making changes in the iPhoto Library Folder and alters the path to the files. If you do, iPhoto will lose track of the file. But the truth is there's simply no need to. However, you can rename the files before importing them if you like.
    Migrating is really easy. You've seen the layout of the Library above. The originals are all there, in the originals folder, the Modified versions in their folder. If you want to have only the most recent versions of pics, then export them from iPhoto to a folder on the desktop.
    By all means post back if you need more.
    Regards
    TD

  • Is there a way to automatically add the filename in the page header when batch printing text files directly from finder?

    hello, i have 80 text files (docx). the finder preview works great and i can open them in pages.
    I need to batch print them from finder:
    I select all the documents > drag on printer's icon> printer puts them in queue ( after an on the fly pdf conversion)  ad starts printing.
    BUT
    i need the filename printed on each page  ( in hearder or footer) , not only the regular text content.
    Do you know if there is a workaround?
    thank you
    Tullio

    If that section has an ID or NAME attribute then you can add that to the URL (#anchor) that you want to reload.
    See View > Page Source
    https://support.mozilla.com/en-US/questions/774792#answer-128100

  • How can I display file size in Finder

    Hi folks,
    I am trying to figure out where 40GB of data is hiding. I would like to see file sizes in the Finder window associated with my folders in Mountain Lion 10.8.2..  I'm having, what seems to me, a strange problem. When I 'Get Info' on my Hard Drive, the disc space left is only 40GB out of 120GB (ie used being 80GB). My confusion is that when I painstakingly go through the files, I can only account for 48 GB with 'Get Info' on each folder. This is a rather combersome process and I am hoping there is a work around for viewing the file sizes within Finder and not having to open 'Get Info' on each and every folder like I have been.
    I have a MacAir 13 inch 2011
    Thanks!

    Thanks for your time and suggestions, dominic23.
    I looked through both links and sadly, none of these suggestions have worked. I have tried many on my own since posting trying to figure out why the volume is being doubled on my hard drive. I've deleted log files, and done a sweep with Onyx to no avail. Strangely, the option of seeing the volumes under 'About this Mac' and 'System' does not have a listing for storage. Weird. I am the only user/administrator on this computer and I don't have shared files.
    I'm just stumped.

Maybe you are looking for