• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

SQLJ and UDB 7.1

 
Ranch Hand
Posts: 529
C++ Java Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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!
 
mister krabs
Posts: 13974
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Looks like a classpath problem.
 
Barry Andrews
Ranch Hand
Posts: 529
C++ Java Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Ranch Hand
Posts: 196
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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: 196
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hi barry it is sqlj runtime library not availble probelum i think.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic