I have managed to install Java and try a few programs from the net. Everything seems fine, except that the outputs are not displayed. For all the different programs that I've tried, if there is an error, the output says so. If I correct it, then there is no output.
Instead, a file is created in the same folder, having the same name as that of my program, but I don't know which software to run it with as it doesn't open.