Win a copy of Learn Spring Security (video course) this week in the Spring forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

SQLJ and UDB 7.1

 
Barry Andrews
Ranch Hand
Posts: 523
C++ Java Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I have an application that connects to a UDB 7.1 database locally. I was using Java 1.2.2, and my program compiled fine. I recently upgraded to Java 1.3 and now it will not compile. I get this error message:
Error in sqlj: invalid argument: sqlj.tools.Sqlj javasqlj.tools.Sqlj
Does anyone have any ideas? Thanks!
 
Thomas Paul
mister krabs
Ranch Hand
Posts: 13974
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Looks like a classpath problem.
 
Barry Andrews
Ranch Hand
Posts: 523
C++ Java Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I do not believe it is a classpath problem. I can find sqlj.exe from the command line just fine, except I get the exact same error message. Also, 'which sqlj.exe' gives me the correct file. I uninstalled jdk1.3 and reinstalled jdk1.2, and my app still will not compile. (Originally, I had 1.2 and it did work. Code has not changed.) I also uninstalled db2 and reinstalled, thinking that somehow the sqlj.exe file got corrupted somehow. That also did not work. I am totally confused by this problem. If anyone can help, you will be greatly appreciated. Thanks!

Barry
 
Awais Bajwa
Ranch Hand
Posts: 192
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi Barry
I thing SQLJ translator is successfully translating but runtime
libraries are not available . Check it plz.
 
Awais Bajwa
Ranch Hand
Posts: 192
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi barry it is sqlj runtime library not availble probelum i think.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic