× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



On 5/22/2017 1:16 PM, gio.cot wrote:
Sorry but after some working test, now if I run the my JDBCTEST I receive
this error:
Exception in thread "main"# START
NON-TRANSLATABLEjava.lang.NoClassDefFoundE
rror: net.sourceforge.jtds.jdbc.Driver

Java on IBM i is a little bit different to what you might see on a PC.
On i, the Java environment is set once, when the job first starts Java.
After that, any changes we make to the Java environment like CLASSPATH
are not picked up by the JRE.

I strongly recommend that you run all your Java by submitting the RPG to
batch. That way, each time you run the program, you will get a new copy
of the JRE, CLASSPATH, etc.

This may not be the problem, but when I see strange things happen to
working code, this is the first thing I do.


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.