What is the cause of the following SQLj error: ... Error: unable to read input file ...

Written by Embarcadero USA on Posted in TOOLS

Question:

What is the cause of the following error message:

"mySqlj.sqlj": C:JBuilder7jbprojectTestSQLj*.java: Error: unable to read input file C:JBuilder7jbprojectTestSQLj*.java


Answer:

This error can occurr when SQLj has not been correctly configured in JBuilder. Often, this is related to the library defination for SQLj. This can occur if multiple versions of the same SQJj JARs are added to the library defination-- for instance, if the library defination included all of the JARs included in the /SQLj/lib directory: runtime11.jar, runtime12.jar, runtime12ee.jar, runtime.jar, runtime-nonoracle.jar, translator.jar. In this case, you will want to specify only one "runtime" and "translator" jar to the SQLj library defination.

Here is a link to the technical document that describes how to configure SQLj in JBuilder 7, and use it in a project:

http://community.borland.com/article/0,1410,29113,00.html

 



Article originally contributed by Christopher Moeller

Tags: Database Oracle Tools Platforms JBuilder to Win32 SQL Servers Linux Configuration 7 JDBC Solaris read file SQLj Error: Unable input



Check out more tips and tricks in this development video: