“错误:找不到文件"在Ubuntu 18.04 LTS中 [英] "Error: File Not Found" in Ubuntu 18.04 LTS

查看:119
本文介绍了“错误:找不到文件"在Ubuntu 18.04 LTS中的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

因此我的Ubuntu终端声称我尝试运行的Java文件不存在.但是,它确实可以,而且看起来我在正确的目录中.这就是我要编译的东西

So my Ubuntu terminal is claiming that the java file I'm trying to run does not exist. However, it clearly does, and it looks like I'm in the right directory. Here's what I'm trying to compile

这是发生了什么

有人可以帮我吗?

推荐答案

另一条评论建议我使用"ls"来查看终端是否可以看到该文件.我收到一个权限被拒绝的错误,并使用

Another comment suggested that I use "ls" to see if the terminal can see the file. I got a permission denied error, and used

查找.类型d -exec chmod 755 {} \;

find . -type d -exec chmod 755 {} \;

解决此问题.

这篇关于“错误:找不到文件"在Ubuntu 18.04 LTS中的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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