-
Bug
-
Resolution: Duplicate
-
P2
-
None
-
1.4.0
-
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.
======================================================================
- duplicates
-
JDK-4464611 Unable to create Robot process on Solaris x86.
-
- Closed
-