How to fix exception java.lang.UnsatisfiedLinkError: /usr/local/SoapUI/jre/lib/i386/xawt/libmawt.so on Ubuntu 64bit

linux-java

When I tried install SoapUI 5 on my Ubuntu desktop I received exception

java.lang.UnsatisfiedLinkError: /usr/local/SoapUI/jre/lib/i386/xawt/libmawt.so: libXtst.so.6: cannot open shared object file: No such file or directory

always when I tried run installer or program (if I used console for installation).

Here is workaround

(more…)

Read More

Java – How to fix SSL exception

Abstract

When you open any connection protected by SSL/TLS (e.g. https), JAVA verify if connection is trusted. If server use self signed certificate or certificate from not know authority JAVA close connection and throws some kind of SSL exception like “javax.net.ssl.SSLHandshakeException”

You can solve this situation by two ways, you can install authority certificate or trust all certificates (disable SSL validation).

(more…)

Read More

How to Eclipse + JavaFX + fxml + Scene Builder (WYSIWYG designer)

Since JDK 7u6 is JavaFX 2 integrated to JavaSE on all major platforms (Windows, Linux and Mac). I think that it is time to start switch from SWING to JavaFX.
I use Eclipse 4.2 on Ubuntu 12.10 64bit with WindowBuilder Pro installed for SWING WYSIWYG design, but there is no plug-in with JavaFX GUI designer. Don’t worry, there is solution with using e(fx)clipse and JavaFX Scene Builder.

We will develop JavaFX example with using GUI designer and Eclipse in this post.
(more…)

Read More