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

Regression: robot doesn't start on Intel/Solaris

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P2 P2
    • None
    • 1.4.0
    • client-libs
    • x86
    • solaris_7



      Name: dsR10078 Date: 06/01/2001

      ###@###.###

      After the fix for the bug 4458008 robot doesn't start on Intel/Solaris.

      Here is the test case that reproduces the problem:
      ------------------------------------------------------------------------
      import java.awt.Robot;
      import java.awt.AWTException;

      public class Test {
          public static void main(String[] args) {
              System.out.println("os.arch=" + System.getProperty("os.arch"));
              try {
                  Robot robot = new Robot();
                  robot.mouseMove(100, 100);
              } catch (AWTException e) {
                  e.printStackTrace();
              }
          }
      }
      ------------------------------------------------------------------------
      Here is the output i get:
      <das@aldebaran(pts/1).379> /export3/das/merlin/build/solaris-i386/bin/java Test
      os.arch=x86
      Warning: Cannot convert string "-monotype-arial-regular-r-normal--*-140-*-*-p-*-iso8859-1" to type FontStruct
      Couldn't execl robot child process: No such file or directory
      <das@aldebaran(pts/1).380> uname -a
      SunOS aldebaran 5.7 Generic_106542-15 i86pc i386 i86pc

      We are looking for robot executable in lib/x86, while it actually recides in lib/i386.

      ======================================================================

            ehawkessunw Eric Hawkes (Inactive)
            dassunw Das Das (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: