Difference between revisions of "ClearingP4Preferences"

From Protege Wiki
Jump to: navigation, search
(Created page with ' Protege 4 uses java preferences to store user preferences and activity. This can be very nice because when a new version of Protege 4 is installed, it will remember such things...')
 
Line 1: Line 1:
 
 
Protege 4 uses java preferences to store user preferences and activity.  This can be very nice because when a new version of Protege 4 is installed, it will remember such things as recent ontologies visited, the location of owl viz, rendering preferences and other such stuff.  But sometimes, when Protege is misbehaving, this becomes saved state about Protege that persists when everything else is cleared.  For some operating systems, one can find the location of the java preferences and adjust them there.  For example, on linux machines the java preferences can be found in ~/.java/.userPrefs and on OS X machines the preferences can be found in ~/Library/Preferences/com.apple.java.util.prefs.plist.  On windows machines I believe that the java preferences are found in the registry but I could be wrong.
 
Protege 4 uses java preferences to store user preferences and activity.  This can be very nice because when a new version of Protege 4 is installed, it will remember such things as recent ontologies visited, the location of owl viz, rendering preferences and other such stuff.  But sometimes, when Protege is misbehaving, this becomes saved state about Protege that persists when everything else is cleared.  For some operating systems, one can find the location of the java preferences and adjust them there.  For example, on linux machines the java preferences can be found in ~/.java/.userPrefs and on OS X machines the preferences can be found in ~/Library/Preferences/com.apple.java.util.prefs.plist.  On windows machines I believe that the java preferences are found in the registry but I could be wrong.
  
However, there is a much nicer portable way of interacting with the java preferences directly.  There is a simple but very useful utility [http://sourceforge.net/projects/jpui/ here].  It allows one to easily clear or update preferencs and it is pretty clear where the Protege preferences live.
+
However, there is a much nicer portable way of interacting with the java preferences directly.  There is a simple but very useful utility calls [http://sourceforge.net/projects/jpui/ Java Preferences User Interface].  It allows one to easily clear or update preferencs and it is pretty clear where the Protege preferences live.

Revision as of 02:08, August 14, 2009

Protege 4 uses java preferences to store user preferences and activity. This can be very nice because when a new version of Protege 4 is installed, it will remember such things as recent ontologies visited, the location of owl viz, rendering preferences and other such stuff. But sometimes, when Protege is misbehaving, this becomes saved state about Protege that persists when everything else is cleared. For some operating systems, one can find the location of the java preferences and adjust them there. For example, on linux machines the java preferences can be found in ~/.java/.userPrefs and on OS X machines the preferences can be found in ~/Library/Preferences/com.apple.java.util.prefs.plist. On windows machines I believe that the java preferences are found in the registry but I could be wrong.

However, there is a much nicer portable way of interacting with the java preferences directly. There is a simple but very useful utility calls Java Preferences User Interface. It allows one to easily clear or update preferencs and it is pretty clear where the Protege preferences live.