when running a SQLJ file, everything goes correct, the program works
properly, but in the end I get:
java.lang.NoClassDefFoundError: sqlj.util.io.OracleOutputStreamWriter
at
sqlj.runtime.ref.ConnectionContextImpl.close(ConnectionContextImpl.java:569
)
at
sqlj.runtime.ref.ConnectionContextImpl.close(ConnectionContextImpl.java:511
)
at oracle.sqlj.runtime.Oracle.close(Oracle.java:478)
I guess adding one more path to my CLASSPATH should do the trick, but I
don't really know which one.
Somebody met a similar problem maybe?
I'm using Oracle JDeveloper and a few days ago the same program went OK...
--
best regards, jacek
shay - 11 Mar 2004 17:53 GMT
> I guess adding one more path to my CLASSPATH should do the trick, but I
> don't really know which one.
I'm assuming that the code compiles and runs ok from inside JDeveloper
- right?
I Don't know which specific jar you need to add but generally in
JDeveloper if you right-click on your project -> properties you can
see the liberaries it uses.
Open the SQLJ liberary that it uses and make sure that you use the
same JAR files in your classpath.
Also look at the command line that is used inside JDeveloper when you
hit the run button - it is in the log window.
Aldo Cappa - 31 May 2005 17:23 GMT
You have to add the "D:\jdev904\sqlj\lib\translator.jar"
By