Please be aware that the SAP SQL Anywhere Forum will be shut down on August 29th, 2024 when all it's content will be migrated to the SAP Community.

So, I'm trying to get the JavaInvoice example working from the Program Files\Sybase\SQL Anywhere 9\Samples\ASA\JavaInvoice folder.

The step I'm working on is installing the Java class into ASA. I should just be able to run this in iSQL, but I get an error:

install java new from file 
   'C:\Program Files\Sybase\SQL Anywhere 9\Samples\ASA\JavaInvoice\Invoice.class'

The error I get is "Could not load dynamic library dbjava9.dll". From googling around, it appears that the dbjava9.dll file is not distributed as part of the ASA Developer Edition due to licensing restrictions.

So then my question is, where can I get this DLL? Is there a different "edition" of ASA that I need to purchase or something?

Thank you!

asked 30 Nov '12, 11:28

glitch003's gravatar image

accept rate: 0%

edited 30 Nov '12, 15:21

Graeme%20Perrow's gravatar image

Graeme Perrow

Java in the Database is mentioned in the ASA 9 Help...

Separately-licensable component

Java in the database is a separately licensable component and must be ordered before you can install it. To order this component, see the card in your SQL Anywhere Studio package or see

Unfortunately, that link does not lead to any mention of Java in the Database, which no longer ships as a separate component.

Today, SQL Anywhere allows Java methods to be executed, but it NO LONGER allows Java classes to be used as column data types in database tables... that feature WAS part of Java in the Database, but was removed from later versions, as was the requirement to obtain a separate license.

If you switch to SQL Anywhere Version 12 you WILL be able to call Java methods with no stupid license; see

I do NOT KNOW if you actually need the licensed component just to call Java methods in Version 9. If you do, try calling Sybase to see if it is still available.

permanent link

answered 30 Nov '12, 14:27

Breck%20Carter's gravatar image

Breck Carter
accept rate: 20%

edited 30 Nov '12, 14:33

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text]( "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:


question asked: 30 Nov '12, 11:28

question was seen: 1,816 times

last updated: 30 Nov '12, 15:21