This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes JDBC and the fly likes precompiling problems Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Databases » JDBC
Bookmark "precompiling problems" Watch "precompiling problems" New topic
Author

precompiling problems

Andrew Lit
Ranch Hand

Joined: Jul 01, 2002
Posts: 135
Hi,
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 (HelloWorld.java 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
Sheriff

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
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: precompiling problems
 
Similar Threads
error finding package when compiling
PATH and CLASSPATH
Problem in running Fibonacci Web Service Example
package oracle.jdbc.driver does not exist
problems while running ANT