I can't recall what I did wrong but i have a folder named "usr/lib/java/jdk/1.8.0_45" that has a desktop for itself in it and all that, basicly an user for itself and all my pictures get saved in there and sometimes it messes with my downloads but I can't remove it in system settings/users. So could somebody please help me on removing it.
Asked
Active
Viewed 380 times
0
-
Am I right in thinking all your asking is how to remove this folder ? – Mark Kirby Nov 08 '15 at 13:53
-
I don't know what it has a user format for itself. That's just Java Dev Kit's lib folder. Do you want to delete the folder completely? – SarpSTA Nov 08 '15 at 14:03
-
Yes, I want to remove the folder completely. – robi baricevic Nov 08 '15 at 14:58
2 Answers
0
If, based on your comment, all you want is that folder removed then, one simple command in a terminal
sudo rm /usr/lib/java/jdk/1.8.0_45
If the issue is deeper than that, you say it has its own user ???, first find the exact name of the user you want removed user like this
cut -d: -f1 /etc/passwd
Then remove it like this
sudo userdel username
Changing username
for the user you want gone.

Mark Kirby
- 18,529
- 19
- 78
- 114
0
run
sudo rm -rf /usr/lib/java/jdk/1.8.0_45
-r
will delete files with the directory itself.

biozalp
- 635
- 1
- 4
- 16
-
@A.B. he said he wanted to delete folder .../1.8.0_45, no need to edit the directory – biozalp Nov 08 '15 at 15:32
-
says that there is no such file or directory, but there is for example when i open gimp – robi baricevic Nov 08 '15 at 15:33
-
@robibaricevic the editor changed the directory while editing the answer, try again, i corrected it – biozalp Nov 08 '15 at 15:34
-
-
@A.B. you have written 1.9.0_45 instead of 1.8.0_45, i corrected it again – biozalp Nov 08 '15 at 15:36
-
now it just says that it can't be deleted because the directory is not empty – robi baricevic Nov 08 '15 at 15:36
-
-
ok, thank you now for the last thing do you know how to change my terminal director( I don't know if that term is right), but before it used to be just my user name and home I think and now it's this"robi@robi-SATELLITE-L50-B:/home/robi$ " – robi baricevic Nov 08 '15 at 15:43
-
@biozalp read the change history http://askubuntu.com/posts/695491/revisions – A.B. Nov 08 '15 at 15:46
-
-
@robibaricevic http://askubuntu.com/questions/34074/how-do-i-change-my-username this link might help maybe, i dunno how that happened, open up a new question of that maybe? – biozalp Nov 08 '15 at 15:48
-
@robibaricevic and can you approve my answer if that worked in order to people see the solution of possible upcoming errors of other users? – biozalp Nov 08 '15 at 15:51