Hi, Listers, My name is Jeff Talavera, and I'm trying to set Java external environment on a SQLAnyWhere 12 database, running ina Windows XP 64bits env. and on a Windows 7 prof. too. when i do the START EXTERNAL ENVIRONMENT JAVA, a got the following error:

Could not execute statement. External environment cannot be started, external process terminated on start up SQLCODE=-1567, ODBC 3 State="HY000" Line 4, column 28

START EXTERNAL ENVIRONMENT JAVA

I do check the Java VM roperty with the command: SELECT db_property('JAVAVM'); and is just fine, is pointing to my : D:Program Files (x86)Javajdk1.7.0binjava.exe I looked in the SyBase manual, but can't get any help from there. can anybody help me? Thank you in advance. Best Regards.

asked 15 Sep '11, 10:17

jeffreehy's gravatar image

jeffreehy
16225
accept rate: 0%

edited 15 Sep '11, 11:45


You have a XP 64Bit, and you reference to a 32-Bit java.

So now the question is: Are you using a 32 or 64 Bit dbeng12/dbsrv12 ?

permanent link

answered 16 Sep '11, 06:00

ASchild's gravatar image

ASchild
777222740
accept rate: 14%

Thank You, ASchild. that was the rigtht solution.

Best Regards.

(20 Sep '11, 07:27) jeffreehy
Replies hidden

So you tried to use a 32-bit Java environment with a 64-bit SQL Anyhwere server?

FWIW, that should work under the following circumstances:

If the Java VM is a different bitness than the database server, then ensure that the client libraries with the same bitness as the VM are installed on the database server machine.

So if you install the 32-bit JDBC client binaries (in addition to the 64-bit ones), that should suffice.

(20 Sep '11, 07:42) Volker Barth
Your answer
toggle preview

Follow this question

By Email:

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

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "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:

×103
×65

question asked: 15 Sep '11, 10:17

question was seen: 2,103 times

last updated: 20 Sep '11, 07:44