Answer the question
In order to leave comments, you need to log in
Netbeans java.io.FileNotFoundException
NetBeans when trying to compile simple HelloWorld code gives this error.
Netbeans 6.9.1
Windows Vista.
File in place C:\Users\Ilinykh Denis\.netbeans\6.9\ant\nblib\org-netbeans-modules-ant-browsetask.jar
Error.
java.io.FileNotFoundException: C:\Users\;L8=KE 5=8A\.netbeans\6.9\ant\nblib\org-netbeans-modules-ant-browsetask.jar (Syntax error in file name, folder name or label volume)
As I understand it, he is not friendly with Russian folder names. Is it possible to make them friends somehow?
Answer the question
In order to leave comments, you need to log in
Try adding this to the netbeans_default_options line in the $NETBEANS_HOME$/etc/netbeans.conf file: "-J-Dfile.encoding=UTF-8" (without quotes).
Report the bug to them: netbeans.org/community/issues.html , let them fix it. Or they will tell you what's the matter, maybe it's still a cleverly hidden option.
The same bullshit. What is the most interesting. When I run it in Eclipse, everything loads fine with the default UTF-8 encoding. And when I run a compiled project without an IDE, it picks up US-ASCII and is not friendly with Russian folders. If you run from the console java - jar with sudo, then everything works fine again, without sudo it does not work without dFileEncoding=UTF8.
The same bullshit. What is the most interesting. When I run it in Eclipse, everything loads fine with the default UTF-8 encoding. And when I run a compiled project without an IDE, it picks up US-ASCII and is not friendly with Russian folders. If you run from the console java - jar with sudo, then everything works fine again, without sudo it does not work without dFileEncoding=UTF8.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question