• 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

1 vote
1 answer 45 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
1 vote
1 answer 16 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 11 views
Problem: You are requested to help a user who reports that he has no more local storage space. You go to his system and log in as root user. Which command will display the available disk space on all partitions?
asked Apr 6, 2020 ArifulIslam 5.6k points
0 votes
1 answer 15 views
I have already thrown java.io.IOException, but still, it shows these errors.
asked Dec 28, 2020 TeamScript 9.3k points
0 votes
1 answer 13 views
Can anyone help me with how to solve this issue? Any help is greatly appreciated.
asked Dec 27, 2020 TeamScript 9.3k points
0 votes
1 answer 5 views
What can cause this exception?
asked Dec 19, 2020 TeamScript 9.3k points
0 votes
1 answer 213 views
Problem : I am making rest call to IBM Cloud BPM. Some times calls are working fine.But sometimes it is giving following error. minecraft java.io.ioexception an existing connection was forcibly closed
asked Oct 23, 2019 peterlaw 6.9k points
0 votes
1 answer 56 views
Problem : I am getting bellow error while generating certificates on my local machine. java.io.ioexception: keystore was tampered with, or password was incorrect
asked Oct 23, 2019 peterlaw 6.9k points
0 votes
0 answers 50 views
TypeError: Router.use() requires a middleware function but got a Object at Function.use (E:\firebase-CRUD_api\functions\node_modules\express\lib\router\index.js:458:13) at Function.<anonymous> (E:\firebase-CRUD_api\functions\node_modules\express\lib\application.js:220:21) ... at Function.Module._load (internal/modules/cjs/loader.js:899:14) at Module.require (internal/modules/cjs/loader.js:1042:19)
asked May 17, 2020 anonymous
0 votes
1 answer 9 views
Problem: I get the expected error at line 210. please fix it. using System.Collections; using System.Collections.Generic; using UnityEngine; /// <summary> /// Responsible for moving the player automatically and /// reciving input. /// </summary> [ ... if it exists on a // component attached to this object hit.transform.SendMessage("PlayerTouch", SendMessageOptions.DontRequireReceiver); } } }
asked Sep 14, 2020 boris elin 620 points