'java.io.FileNotFoundException'读取myfile.java文件时出错可以有任何帮助吗? [英] 'java.io.FileNotFoundException ' Error reading myfile.java file can any one help?

查看:83
本文介绍了'java.io.FileNotFoundException'读取myfile.java文件时出错可以有任何帮助吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我遇到错误

I'm facing error

java.io.FileNotFoundException: myfile.java (The system cannot find the file specified)
	at java.io.FileInputStream.open(Native Method)



我已经在项目属性中设置了路径 - > run-> working directry

路径工作directry是


I already have set path in project properties->run->working directry
Path working directry is

C:\Users\Hameed7475\Documents\NetBeansProjects\JavaApplication6\src\myfile.java



这是错误的图像新图像 - TinyPic - 免费图像托管,照片共享& amp;视频托管 [ ^ ]

我有文件扩展名myfile.java


This is image of error New Images - TinyPic - Free Image Hosting, Photo Sharing & Video Hosting[^]
I have file extension myfile.java

推荐答案

那么,工作目录的路径应该是

Well, the path of the working directory should be
C:\Users\Hameed7475\Documents\NetBeansProjects\JavaApplication6\src



代替。


instead.


这篇关于'java.io.FileNotFoundException'读取myfile.java文件时出错可以有任何帮助吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆