Help! - javac can't read my files

I have got the javac compiler to run, but it reports "Can't Read" my sample program file. I saved the file as a text document in Notepad (in Windows 95) but it changes my filename "BigDebt.java" to "BigDebt.java.txt". How do I save the files as .java files? Is this why the compiler can't read them or is the problem something else. Help!!!

Manually delete the .txt extension and try again. By default, Notepad appends .txt to all file save names you specify- I'm not sure how to change this. Perhaps try another editor such as Write (be sure to save as text)?
Also be sure to use the full file name with javac (including the .java extension).

Similar Messages

  • How can I read a file with ASCII Special Character into a SQL table using SSIS 2008?

    I've tried everything to read this file and am getting no where.   Help how can I read this file and load a SQL table?
    RS - AscII - 30  (Record Separator)
    GS - AscII - 29 (Group Separator)
    Thank you for your assistance - Covi
    Mark Covian

    We can use script component as source/transformation to read the text file and assign the contains to a string. Split the string by chr(30)  i.e RS and finally stored into an array or write to the output buffer of the script component.
    For example on how to use script component refer this link
    http://social.technet.microsoft.com/Forums/en-US/6ff2007d-d246-4107-b77c-624781baab38/how-to-use-substring-in-derived-column-in-ssis?forum=sqlintegrationservices
    Regards, RSingh

  • My light room 5 can't read my files on my iMac and MacBook Pro any help pls

    my light room 5 can't read my file on my MacBook Pro and my iMac I already update my camera raw on ps cs6  any help with this issue pls

    If the error message is “files cannot be read” then this is usually a problem with the destination at the right of the destination import panel.
    If the issue is something different than not being able to import then please give a more detailed description.

  • New pc with windows 8.1, downloaded and installed cs5,no problem open bridge and cs5, but can't read raw file , try to update, can't complete or failed updating, please help

    new pc with windows 8.1, downloaded and installed cs5,no problem open bridge and cs5, but can't read raw file , try to update, can't complete or failed updating, please help

    Sounds like you somehow got the mac version.
    Download the windows 6.7 camera raw update from this link:
    Adobe - Photoshop : For Windows : Camera Raw 6.7 Update

  • Javac can't read filename.java

    Hi
    my problem is that javac can't read filename.java
    i have saved the source code as filename.java under text document file type and i kept the capitalization the same for the[i] filename and classname but i am still having this error message: "error : can't read : filename.java" .
    does that have anything to do with windows xp that i am using or there is absolutely something else that prevents javac from reading and compiling the file?
    please help
    Kind regards
    Nour

    The only 2 reasons that I can figure out why you are getting this error is either because your java file has not been properly named ie. filename.java or else then it is not in the same location ie directory from where you are trying to run your compiler.
    Thus you need to run the compiler from the directory that contains your java source file so it really does'nt matter where you have saved your java file on the machine as long as your path is set to your j2sdk /bin Just cd your way to that directory where you have the java file and run the compiler javac

  • How can I read text files from LAN if I only know the hostname?

    I'm new in Java Developing, and dont know the written classes yet. I need help, how to do the following steps?
    <p>1. How can I read text files from LAN if I only know the hostname, or IP address?
    <p>2. How to read lines from text files without read all lines from the beginning of file, just seek to a position.
    (ex. how can I read the 120th line?)
    <p>Please help!
    <p>sorry for the bad english

    I'm new in Java Developing, and dont know the written classes yet. I need help, how to do the following steps?
    1. How can I read text files from LAN if I only know the hostname, or IP address?You need to know the URL of the file. You need to know the hostname, port, protocl and relative path.
    The hostname is server, not file.
    2. How to read lines from text files without read all lines from the beginning of file, just seek to a position.Use the seek() to get to a random byte.
    (ex. how can I read the 120th line?)The only way to find the 120th line is to read the first 120 lines. You can use other file formats to find the 120th line without reading the whole file but to need to be able to detremine where the 120th line is

  • I removed chrome 10 and newly installed FF4 final, and I can't read PDF files within the browser. There was no problem in Chrome.

    I removed chrome 10 and newly installed FF4 final, and I can't read PDF files within the browser. There was no problem in Chrome. I can't even see the acrobat reader plugin in the plugins page. Acrobat 10 is already installed in my PC. Every time I try to read a PDF file on the web, FF tries to download it instead.

    As recommended above by Bernd Alheit, I posted this on the Adobe Reader forum. There, I received the advice to repair the installation under the help menu, which I did and it fixed the problem.
    Similar to your solution but found it's a fix found under "HELP" menu and not Add/Remove.
    Thank you.

  • Can't read image file

    Dears,
    I was having forms version 10.1.2.0.2 and I was using webutil to upload an image and to download it. My problem is sometimes the image files are uploaded and sometimes not => I got "Can't read image file D:\...\image.jpg"
    I upgraded to forms 10.1.2.3 and the problem persists.
    I'm seeing that the picture resides in the workspace environment and not uploaded to the database.
    I'm not limiting the size of the pic in the frmweb.cfg file, instead this limitation occurs on form level.
    Hint. If you save this picture in "photoshop" tool, than you can upload the same picture without any problem.
    Any suggested help will be appreciated.
    Best Regards,
    Joe Farah
    Edited by: Joe Farah on Feb 26, 2009 11:01 AM

    Yes dear, this is the way that we can follow in order to get rid of this problem. Actually we have to mention to all users of my system to save the image file in this tool. But, it's somehow cumbersome for them as they might not have any of the mentioned imaging tool on their systems, isn't it ?
    But isn't there any way to fix this problem ? Or shall I go by using PJC/Java Beans ? We have to find an effective way.. :)
    Thanks,
    Joe

  • My iTunes can not read a file, because its created by a newer

    My iTunes can not read a file, because it's created by a newer!!!
    The file is:     iTunes Library.itl
    I hope you can help me!!
    Bye tokiodrift

    You need to restore the pre-upgrade backup of the library file in the manner shown in  Empty/corrupt library after upgrade/crash.
    tt2

  • I am trying to import cr2files from the camera into lightroom 5 and keep getting an error message saying Lightroom can not read the files and therefore will not import them.  Has anyone had a similar problem-.thanks

    I am trying to import cr2files from the camera into lightroom 5 and keep getting an error message saying Lightroom can not read the files and therefore will not import them.  Has anyone had a similar problem….thanks

    If you are having the same problem, i.e. a disk permission problem, open your favorite search engine and search on, "change disk permissions", and I think you'll find plenty of information on how to fix the problem. This is a Lightroom forum. Your problem is with your operating system. There is no sense in rewriting instructions that are already available if you do a simple search.

  • How can I read pdf files from LabVIEW with different versions of Acrobat reader?

    How can I read pdf files from LabVIEW with different versions of Acrobat reader?
    I have made a LabVIEW program where I have possibility to read a PDF document.  When I made this LabVIEW program it was Acrobat Reader 5.0.5 that was installed on the PC. Lather when the Acrobat Reader was upgraded to version 6.0, there was an error when VI tries to launch the LabVIEW program. And Later again when we upgraded to Acrobat Reader 7.0.5 I must again do some changes and rebuild the EXE files again
    It isn't so very big job to do the changes in one single LabVIEW program, but we have built a lot of LabVIEW programs so this take time to due changes every time vi update Acrobat Reader. (We have build EXE files.)
    The job is to right click the ActiveX container and Click "Insert ActiveX Object", then I can brows the computer for the new version of acrobat Reader. After this I must rebuild all the "methods" in the Activex call to make the VI executable again.
    Is there a way to build LabVIEW program so I don't have to do this job every time we update Acrobat Reader?
    This LabVIEW program is written in LabVIEW 6.1, but I se the problem is the same in LabVIEW 8.2.
    Jan Inge Gustavsen
    Attachments:
    Show PDF-file - Adobe Reader 7-0-5 - LV61.vi ‏43 KB
    Read PDF file.jpg ‏201 KB
    Show PDF-file - Adobe Reader 5-0-5 - LV61.vi ‏42 KB

    hi there
    try the vi
    ..vi.lib\platform\browser.llb\Open Acrobat Document.vi
    it uses DDE or the command line to run an external application (e.g. Adobe Acrobat)
    Best regards
    chris
    CL(A)Dly bending G-Force with LabVIEW
    famous last words: "oh my god, it is full of stars!"

  • Hi there, I need to be able to read raw files from an Olympus Stylus 1 via CS5 and Lightroom 4.  I have downloaded Raw file plug-in v 6.7.1 but still can't read the files.

    Hi there, I need to be able to read raw files from an Olympus Stylus 1 via CS5 and Lightroom 4.  I have downloaded Raw file plug-in v 6.7.1 but still can't read the files?

    Read this table http://helpx.adobe.com/creative-suite/kb/camera-raw-plug-supported-cameras.html
    The Olympus Stylus 1 was first supported in Camera Raw 8.3 which is only compatible with CS6 and CC.
    It is not compatible with CS5 or older and never will be.
    If you do not want to upgrade to CS6 or CC then you can dwonload the free Adobe DNG converter, convert all Stylus 1 Raw files to DNGs then edit the DNGs in CS5.
    Camera raw, DNG | Adobe Photoshop CC

  • I can't read a file with the ext PDF the sender informed me that the file was reset to PDF.

    I can't read a file with the .ext PDF the sender informed me that the file was reset to PDF. But when I tried to open it the caption box informed me"the file is not in PDF format. I suspect the sender simply changed the file .ext which is why I can't open it! What can I do about it! I am working on an iPad.
    Thanks
    Mr Jim Lapthorn

    If the document is not, in fact, a PDF, then you will need to get your sender to provide a PDF.
    Can you open this document in any other application?

  • I have a problem with the mac can not read video files with the extension IMOD. How can I solve this problem?

    I have a problem with the mac can not read video files with the extension IMOD. How can I solve this problem?

    By doing a Google search. 

  • Missing or can't read a file

    When I start iTunes there is standing right in the corner in a balloon
    \ipod_control\itunes\temp file 2
    is missing or can not be read please use the progam: CHKDSK
    And then i use that progam but he is stil missing or can't read the file?

    No - not Reset - Restore...? (using iPod Updater: http://docs.info.apple.com/article.html?artnum=60983)
    That usually works for the folks we've been chatting to...
    Cheers,
    Gopha.

Maybe you are looking for

  • Autofill fields in PDF Reader

    I have a need to open a pdf file created with Adobe and automatically fill a couple of the fields that are in the PDF. Then allow the user to fill/modify any of the fields in the open PDF and then print the form. I can easily open the form and allow

  • Which Panther Updates on a B&W?

    Hi, I have been running OS 10.2 with no problems in my B&W. I just purchased a retail version of OS 10.3. Knowing that there are upgrades through Apple for this version, I am wondering if there is a version number I should stop with to keep my machin

  • P35 Neo - Sys Fan control

    I have a P35 Neo and recently i bought a cooler and a fan for my Ati4850.I connected the fan to the Sys Fan 1 but to my dissapointment i cant control the rpm of the fan through the Dual core center . I took a look at Bios but i couldnt find anything

  • None of the resources are being displayed in ESS

    Hi Experts, i have created test user in ESS, when i click on EMPLOYEE SEARCH----> WHO IS WHO, I get a blank page, and data field is visible, i have maintained the infotype 0105 with subtype 0001 can someone help me to troubleshoot this issue, thank y

  • HT204088 twice now i have been twice charged for the same game can anybody help please

    on two occasions i have been charged twice for the same game download can anybody help please