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

By: Christopher Moeller

Abstract: Resolving SQLj library misconfigurations


What is the cause of the following error message:

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


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:



Server Response from: ETNASC04