• Register
0 votes

 In my ubuntu operating system I was trying to run my java program that gives me the following error

"java.io.IOException: No space left on device"
at java.io.FileOutputStream.writeBytes(Native Method)
at java.io.FileOutputStream.write(FileOutputStream.java:53)

how can I ignore such an error?

10 7 2
6,060 points

Please log in or register to answer this question.

1 Answer

0 votes
That given error happens due to insufficient space on the home directory (the directory which contains the project folder).

→ Make sure that you got enough space to compile the project including all necessary resource files.

→ Alternatively it may help switching the location of the project folder where probably more space is available.

If that doesn’t help or getting the same error although having available space, Reply here with more details so that experts can have a look.
11 6 4
34,950 points

Related questions

0 votes
1 answer 31 views
solve this error.
asked Jan 21 TeamScript 13.5k points
1 vote
1 answer 27 views
Problem: I am seeing "{writer,send_failed,{error,closed}}" error on server side and "java.net.SocketException: Connection reset by peer: socket write error" error on java client side intermittently. What could possibly go wrong here? Both server and client versions ... (ChannelN.java:630) at com.rabbitmq.client.impl.ChannelN.basicPublish(ChannelN.java:621) Can anyone help me out ti solve this ?
asked Apr 8, 2020 LizzyM 6.1k points
0 votes
1 answer 3 views
Problem: I have a digital ocean Ubuntu server, two days ago every page in my website gives me error 500, in ssh i got this error message "No space left on device", For more info please check this SSH screenshot so i restore backup and the server and website works fine now, but it will happen again in near future
asked 4 days ago padma1 34.3k points
1 vote
1 answer 99 views
Problem : I am very new to Linux and currently trying to learn Linux. I want to login to my elementaryOS but I am stuck in the loop I simply tried to enter my password and after that I tried to press enter and I was back to login again. I also tried to enter my ... after spending lot of time and efforts on it still unable to fix it so now I am looking for the Linux experts help to fix above error.
asked May 1, 2020 stewart 4k points
0 votes
0 answers 3 views
Problem: 'm trying to download a file in my application, but following exception is thrown "org.apache.catalina.connector.ClientAbortException: java.io.IOException: An existing connection was forcibly closed by the remote host" .How to fix this?
asked 1 day ago salim1 60.6k points
0 votes
1 answer 3 views
Problem: I'm writing a big C# application that communicates with a MS-SQL Server database. As the app grows bigger, I find myself writing more and more "boilerplate" code containing various SQL queries in various classes and forms like this: using System; using System. ... can do complex queries like the one stated above. Is there a better way of doing this? Thanks for all your suggestions folks!
asked Apr 25 Yeamin 21.4k points
0 votes
1 answer 12 views
Problem: I am trying to start up Zookeeper via the CLI with the command: bin/zookeeper-server-start.sh ../config/zookeeper.properties And it hums along for a second with what all seems to be correct until it says this: INFO binding to port ... . I've checked, and nothing else is running on port 2181. I see this question has been asked several times with no answers, any ideas?
asked Apr 24 ochena 22.1k points
0 votes
1 answer 5 views
Problem: I am trying to learn programming on my own time and I am still trying to get the hang of it. I am getting the following error: java.io.IOException: The handle is invalid
asked Apr 19 ummesalma 29.2k points
0 votes
1 answer 6 views
Problem: IOException: Too many open files.I'm trying to debug a file descriptor leak in a Java webapp running in Jetty 7.0.1 on Linux.How to get more detailed info about those file descriptors?
asked Apr 13 Humaira ahmed 50.7k points
0 votes
1 answer 8 views
Problem: I am having a very weird problem with storage accessing on some devices. The app works on my testing devices (Nexus 4 & 7, Samsung GS5). All my devices running Android 4.4.2. But I received many emails from users saying that the app can not write to the storage (neither the internal storage nor the sd card).
asked Apr 11 ummesalma 29.2k points