Unable to upload 1 kb file java file in Fileview

I am unbale to upload java file

Hi Prithivi,
Can you please be clear in your question , So that I will try my best to help you .

What happens when you try to upload the file . do you have any errors?
If so Please share the error id and Screenshot .