Oh, thank you for this links, finally I succesfully built libXtst and libXi packages!
There is no more libXtst.so.6 error.
But I got another problem, which I need to solve. When I run java -jar with awt, I get this message:
Exception in thread "main" java.awt.AWTError: Can't connect to X11 window server
using ':0' as the value of the DISPLAY variable.
at sun.awt.X11GraphicsEnvironment.initDisplay(Native Method)
at sun.awt.X11GraphicsEnvironment.access$200(X11GraphicsEnvironment.java:65)
at sun.awt.X11GraphicsEnvironment$1.run(X11GraphicsEnvironment.java:115)
at java.security.AccessController.doPrivileged(Native Method)
at sun.awt.X11GraphicsEnvironment.<clinit>(X11GraphicsEnvironment.java:74)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:259)
at java.awt.GraphicsEnvironment.createGE(GraphicsEnvironment.java:102)
at java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(GraphicsEnvironment.java:81)
at sun.awt.X11.XToolkit.<clinit>(XToolkit.java:122)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:259)
at java.awt.Toolkit$2.run(Toolkit.java:872)
at java.awt.Toolkit$2.run(Toolkit.java:865)
at java.security.AccessController.doPrivileged(Native Method)
at java.awt.Toolkit.getDefaultToolkit(Toolkit.java:864)
at java.awt.Toolkit.getEventQueue(Toolkit.java:1749)
at java.awt.EventQueue.invokeLater(EventQueue.java:1245)
at Main.GoTest.main(GoTest.java:63)
I tried to set DISPLAY variable = ":0" and ":0.0" and just "0" (without quotes). It seems, that problem in X11 server. How to start it?
When I print Xfbdev or startx, I get:
_XSERVTransSocketOpenCOTSServer: Unable to open socket for inet6
_XSERVTransOpen: transport open failed for inet6/freescale:0
_XSERVTransMakeAllCOTSServerListeners: failed to open listener for inet6
mxsfb_pan_display: var->xoffset 0, info->var.xoffset 0
mxsfb_check_var: xres 640, yres 480, bpp 16
get_matching_pentry: 480:640:16 vs 480:640:16
get_matching_pentry: 480:640:16 vs 480:640:16
mxsfb_pan_display: var->xoffset 0, info->var.xoffset 0
(EE) XKB: Couldn't open rules file /usr/share/X11/xkb/rules/base
(EE) XKB: No components provided for device Virtual core keyboard
or this one:
_XSERVTransSocketOpenCOTSServer: Unable to open socket for inet6
_XSERVTransOpen: transport open failed for inet6/freescale:0
_XSERVTransMakeAllCOTSServerListeners: failed to open listener for inet6
mxsfb_pan_display: var->xoffset 0, info->var.xoffset 0
mxsfb_check_var: xres 640, yres 480, bpp 16
get_matching_pentry: 480:640:16 vs 480:640:16
get_matching_pentry: 480:640:16 vs 480:640:16
mxsfb_pan_display: var->xoffset 0, info->var.xoffset 0
syntax error: line 1416 of pc
The XKEYBOARD keymap compiler (xkbcomp) reports:
> Error: Error interpreting include file "pc"
> Exiting
> Abandoning geometry file "default"
Errors from xkbcomp are not fatal to the X server
(EE) Error compiling keymap (server-0)
(EE) XKB: Couldn't compile keymap
syntax error: line 1416 of pc
The XKEYBOARD keymap compiler (xkbcomp) reports:
> Error: Error interpreting include file "pc"
> Exiting
> Abandoning geometry file "default"
Errors from xkbcomp are not fatal to the X server
(EE) Error compiling keymap (server-0)
(EE) XKB: Couldn't compile keymap
What I can do now?
I hope, it will be the last problem with running java awt)
Thanks in advance
--------------------------
Well,
export DISPLAY=:0
export TSLIB_TSDEVICE=/dev/input/ts0
Xfbdev -mouse tslib,2,device=/dev/input/ts0 &
solved this error, but I saw my java application on VGA monitor, but not on touchscreen. I created for this another topic. Thanks for your help!!!