Opening a .java file from the text editor


Does anyone know why I can save .java files in the textpad text editor, but I can’t open them?
They exist on the server, and I can open them elsewhere, so they are not malformed, but when I try to open a .java file from os.js I get the error
Could not find any Applications with support for ‘application/octet-stream’ files
I tried to add “application/octet-stream” to the mime types in textpad, and I then get the error:
The file home:/// could not be opened: Error: Failed to read file: Error: Error: Request failed with status code 500

Any help would be very much appreciated!



This is because the MIME type associated with opening does not exist.

Look at src/conf/300-mime.json.