Windows interoperability

From SemanticLab

Jump to: navigation, search
  1. problems with umlauts - ensure that all your files are saved using the UTF-8 text file encoding (Eclipse: Project -> Properties -> Resource -> Text file encoding "UTF-8")
  2. path names
    1. consider that under Linux all file names are case sensitive (image.PNG != image.png).
    2. Windows uses "\" instead of "/" as path separator - use getClass().getResource() to create platform-independent URLs
  3. Windows does not find all available plugins - the plugin auto detection will not work under Windows if your workspace path contains a whitespace (Java's getClass().getResource() converts whitespaces to %20. Windows therefore is not able to recognize the path any more).