It is actually a very simple problem but i can't seem to solve it.
I am trying to create a simple txt or html file in my java program. It works fine but on my local windows machine (file gets created), but the file does not get created when i compile an drun it on linux machine. I have given all the project folders full rights 777, but still no file creation.
javac FileTest.java and java FileTest both work fine and i don't get any exception.
There is no console message and also there are no Test_1.html and /Test.txt files created.
Does the folder structure "/opt/FileTest/bin" exist?
I'm not that hot on linux but I believe a leading forward slash means from the root of the file system which isn't necessarily the root of the drive as it is on Windows systems.