By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
440,230 Members | 2,436 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 440,230 IT Pros & Developers. It's quick & easy.

windows CLASSPATH in a Java UDF

P: n/a
I am writing Java user defined functions running in DB2 8 on Windows XP.

For some reason the Windows system environment CLASSPATH is not being
passed to my Java UDF (i.e. when I println the java.class.path property,
I get a different CLASSPATH). Can anyone please help? How do I set
the CLASSPATH for a Java UDF being executed?
Nov 12 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
Digital Puer wrote:
I am writing Java user defined functions running in DB2 8 on Windows XP.

For some reason the Windows system environment CLASSPATH is not being
passed to my Java UDF (i.e. when I println the java.class.path property,
I get a different CLASSPATH). Can anyone please help? How do I set
the CLASSPATH for a Java UDF being executed?


DB2 looks at the environment variable and adds a few things in front of the
existing class path.

Could you possibly give more details on what you see in the UDF, how the
environment variable is set, when you set it and when you start DB2?

--
Knut Stolze
Information Integration
IBM Germany / University of Jena
Nov 12 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.