Re: [picocontainer-dev] nanocontainer-persistence and compilation on multiple JDK's

Michael Rimov <[email protected]>
Newsgroups gmane.comp.java.picocontainer.devel
Organization Centerline Computers, Inc.
Message-ID <[email protected]>
Jörg Schaible wrote:
> Hi Michael,
>
> Michael Rimov wrote on Thursday, December 21, 2006 10:39 PM:
>
>   
>> I know this has been dealt with on other lists, I just can't find the
>> information. 
>>
>> JDK 1.6 includes many extra functions to java.sql.Connection.  Because
>> of this, NanoContainer-Persistence's Failover connection
>> doesn't compile.
>>
>> Since the new methods also require JDK 1.6 only data types, the only
>> real way I see that this can work is provide a JDK 1.6 source
>> version?? 
>>
>> Are there better ways at getting this going?
>>     
>
> Am I right, that you say, that JDK 6 can no longer compiles the code working for JDK 1.4?
>   
Correct, JDK 1.6 is my default compiler, and because of the API 
differences, compiling with, say, JDK 1.4 flags appears to be 
insufficient to get it to compile under 1.6.

I guess I'll set up a batch file that sets a new JAVA_HOME before 
calling nano-persistence's compilation.

Thanks for the reply!
                                        -Mike
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.