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?
Java in the Database is mentioned in the ASA 9 Help...
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 http://www.sybase.com/detail?id=1015780.
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
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.