Поиск по ключевым словам

VetAIS settings of client or single workstation

VetAIS client or workstation can be running on Linux based operating system with installed X server.

For Java please use Sun Java JRE instead of OpenJRE release, reffer to current packaging system of Linux distribution you use.

 

Basic starting script is located in main VetAIS directory called «vetaisapp.jar». With this file you can start VetAIS simply by command: «jre -jar vetaisapp.jar»

 

Important information about SWT library.

VetAIS use graphical SWT library what is stored in /lib/ folder or main VetAIS folder. Here are more files with similar name based on current operating system type and architecture. For Linux you can find here files «swt-linux.jar» and «swt-linux64.jar».

Depends to architecture your Linux operating system rename one of this file to final name «swt.jar», for example on Linux 64bit rename file «swt-linux64.jar» to «swt.jar».

 

Script to repair swt library problem (this is valid for VetAIS version 2108XX and newer).

If you have problem to start VetAIS after installation or update and receiving console error related to swt library, for example this error.

«Exception in thread «main» java.lang.UnsatisfiedLinkError: Cannot load 32-bit SWT libraries on 64-bit JVM
at org.eclipse.swt.internal.Library.loadLibrary(Unknown Source)»

Please try to resolve it with these steps:

3.1) open terminal on Linux/Mac
3.2) change directory with «cd» command into main folder of VetAIS
3.3) type «cd lib»
3.4) based on system you use try to run this commands:

for Linux 32 bit type these two commands:

chmod +x swt-repair-linux32.sh
./swt-repair-linux32.sh

for Linux 64 bit type these two commands:

chmod +x swt-repair-linux64.sh
./swt-repair-linux64.sh

for Mac/OSX type these two commands:

chmod +x swt-repair-mac.sh
./swt-repair-mac.sh

Добавить комментарий