Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-4407163

Bad warning message on win32 platforms

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 1.4.0
    • 1.4.0
    • client-libs
    • None
    • beta
    • x86
    • windows_nt

      Whenever I run java_g on the latest Merlin builds, I get the following
      erroneous warning message:

      ****************** WARNING *************
      The TrueType fonts specified in the font.properties file
      were not found on this system. Package SUNWi1of contains
      TrueType fonts that are used by Java2D. You can find this
      package on your Solaris 2.6 or 2.7 CD. You might want
      to install this package so that Java2D will have access
      to its default set of fonts. For now, using LucidaSans as
      the default font for Java2D.


      There are two problems I see with this:
      - The message is completely wrong in assuming that
      I'm using Solaris. This message is being printed out from
      shared code and should not make any assumptions about the OS.
      - There must be some error condition that is causing this
      situation; are we not searching for fonts in the right
      places on windows? I got this message on multiple win32
      platforms (e.g., NT4sp6 and WinMe); I haven't done anything to
      either system that should have affected where fonts are to be found.

            sherman Xueming Shen
            chaasesunw Chet Haase (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: