• 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
  • Tim Cooke
  • Ron McLeod
  • paul wheaton
  • Jeanne Boyarsky
Sheriffs:
  • Paul Clapham
  • Devaka Cooray
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
  • Himai Minh
Bartenders:

error: cannot read

 
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
when I compiled my UseEmployeeWithDate program, I got this error
error: cannot read
UseEmployeeWithDate.java
I don't see anything different with this program than any other ones....could someone help me with what is going on and why it cant read it.....
 
Sheriff
Posts: 3341
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
When this error occurs, it's usually because either the java file is named wrong such as UseEmployeeWithDate.java.txt (which can occur if your using notepad), you saved it with wrong case UseEmployeewithDate.java or you have saved it in a different directory.
Hope this helps
 
deb uebersetzig
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks Carl - I didn't do anything with notepad...nothing unusual when I created the class....so I copied my code into another newly named member....changed the name within and it worked fine......something was definitely wrong.....but it worked and I am HAPPY!!!
reply
    Bookmark Topic Watch Topic
  • New Topic