File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JDBC and Relational Databases and the fly likes precompiling problems Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Databases » JDBC and Relational Databases
Bookmark "precompiling problems" Watch "precompiling problems" New topic

precompiling problems

Andrew Lit
Ranch Hand

Joined: Jul 01, 2002
Posts: 135
now i'll try to expalain my problem (everything works fine with C):
I use IBM DB2 8.1 version and j2sdk1.4.1_02.
i added theese line to my classpath

then i created sqlj file, let's say App.sqlj and after typing :

i am getting this error :

After compiling any file ( for example) i get the same error.
so it means that c:\PROGRA~1\IBM\SQLLIB\TOOLS\runtime.jar; is for jdk 1.3?
So where can i get a newer library? Or what should i do?
Thank you in advance.
[ edited to break apart long line -ds ]
[ April 27, 2003: Message edited by: Dirk Schreckmann ]
Dirk Schreckmann

Joined: Dec 10, 2001
Posts: 7023
I think I've noticed Cindy describe the steps for manually editing the registry to resolve this problem over in the beginner or intermediate forum. I'd suggest trying a quick search for that thread.
Otherwise, you might have some luck uninstalling all JREs you've installed, restarting the system, and then installing the newest JRE only. I've had success doing that, but I've actually seen that strategy fail once, too.
As a generally good idea, you'll also want to make sure that Microsoft's JRE isn't interfering. You can usually do so by deleting or renaming any java.exe files in a Windows or Windows/System or Windows/System32 directory. (I don't think this relates to your current problem.)
Any luck finding Cindy's thread or with a reinstall?

[How To Ask Good Questions] [JavaRanch FAQ Wiki] [JavaRanch Radio]
Andrew Lit
Ranch Hand

Joined: Jul 01, 2002
Posts: 135
reinstalling helped out thank you
I agree. Here's the link:
subject: precompiling problems
It's not a secret anymore!