Application Preference Order Changes Autamatically Whatever I Try

Hello,

I have a disgusting and annoying problem that has been bothering me for hours. I have a .java file. It is associated with /usr/java/jdk1.8.0_121/bin/. I try to move it back where I can open it via Kwrite. Now I right-click on the file. I follow that way: Properties > **General **> File Type Options > **Application Preference Order. **

Then I remove javaws and java. After that I see a tiny windows says ‘Updating System Configuration’. Then nothing changes. Everything goes back.

It is terribly annoying.

Thanks.

A java file is compiled(so is a binary).

I don’t think you’ll have much success trying to read a binary file in a text editor all you’ll likely see is long string of odd symbols.

Instead, you execute binary files, and a java file is intended to run within your system’s JRE.

TSU

Thank you for your reply. But .JAVA extension is readable by Kwrite or any Text editor. I think this is a TRUE bug of openSUSE.

I figured out to open .JAVA files with this method: Right Click on file > Open With > **Other… **> Choose Kwrite then click Remember Application Association for all files of type “Java source code” (text/x-java)

Problem is solved. But openSUSE is too stubborn. Such a shame.