on ‎2018 Apr 03 2:33 PM
Hi
I've just finished installing SQLAnywhere using the following directions:
https://wiki.scn.sap.com/wiki/display/SQLANY/Installing+SQL+Anywhere+17+on+Ubuntu+14.04 except that I'm using SQLAnywhere 16 and Ubuntu 16.04.2 using the following file: SQLANYW160032_0-21011526.gz which extracts to an ebf1600 folder on the linux server, where the install files are kept.
I installed Java jdk1.8.0_162 from java.com.
I'm trying to open the client and open the sample database to test that the server installation went well before I upload the production database and deploy my website. However, when I try to open the SQLAnywhere client, I get the following error below:

I've seen other forums where they mention /opt/sqlanywhere16/shared (or something to the effect) folder. I do not have this.
Is there anything else I should check or setup? Is there something I've missed? Otherwise, how do I access the Server Administration Tools 64-bit for Linux?
The error file is attached.
Request clarification before answering.
Looks like you have hit the issue listed in this SAP note 2326635 - java.lang.NoClassDefFoundError when starting scjview
And you need to install the libXext and libXtst libraries
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thank you for the answer. I don't have an S-UserID as I'm setting up a production server for a client, but I'll ask them if they have one. So I can't, as yet, see the article. I will try your method and get back to you.
As a matter of interest, is the answer you suggested the same as doing this? (I haven't done this, I just found it while searching for an answer):
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Got it to open.
To anyone who experiences the same error in future and doesn't have access to the portal or is as new to Linux as I am, here is what I did. Couldn't dive too deep into what these libraries do but it seems they're involved in rendering the GUI.
Installed libxext-dev
sudo apt-get install libxext-dev
Instaleld lixtst-dev
sudo apt-get install libxtst-dev
from what I could pick up, apparently libxext-dev is a dependency of this, so you shouldn't have to run the above command, but I did, I'm still learning linux so I didn't leave that to chance.
Installed libxrender
sudo apt-get install libxrender1
I also performed these steps, though I don't know if they helped or not, in the end:
Add 32bit architecture
For some, those steps may not work, here's an alternative to try:
Alternative 32bit architecture steps
How I tracked down the errors, I get a message that linux saves an error file in /root/.sqlanywhere16. Open the file and somewhere in the line, you'll get an actual helpful message from java. Then google a bit and cross fingers.

If you keep getting errors, probably keep doing this. Hopefully you don't.
Thanks.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 9 | |
| 6 | |
| 5 | |
| 4 | |
| 3 | |
| 3 | |
| 2 | |
| 2 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.