Thanks Terry. You answered the key question...that I can build Struts with jdk 1.3 and run with jdk 1.4. Much appreciated.
Rick Horowitz --- "Drozdowski, Terry" <[EMAIL PROTECTED]> wrote: > I hit a similar problem attempting to build the > PostgreSQL JDBC driver with > JDK1.4. Unfortunately, unless you want to stub out > all the required methods > (not a short task), you'll need to also keep 1.3 > around to build. Runtime > with 1.4 and Struts works just fine. Just make sure > you (re)install 1.4 > after you install 1.3 - keep you JAVA_HOME pointed > at 1.3 when you need to > build and things should work out fine. > > -------------------------- > Terry Drozdowski > Staff, Technology Services > SIM Technology - Phoenix > Charles Schwab & Co. > (602)355-8843 > > "If a picture is worth a thousand words then a model > is often worth 1024 > lines of code when applied in the right > circumstances..." - Karl Wieger > > > Warning: All e-mail sent to this address will be > received by the Charles > Schwab Corporate e-mail system and is subject to > archival and review by > someone other than the recipient. > > > -----Original Message----- > From: Rick Horowitz [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, December 18, 2001 5:58 PM > To: [EMAIL PROTECTED] > Subject: Can't build struts with jdk 1.4 > > > Hi, > > I'm trying to build struts 1.0.1rc1 and am getting a > build error caused by changes to java.sql.Connection > in jdk 1.4. Can the CVS version of struts work with > jdk 1.4? Or is there another way around this > problem? > I really want to use jdk 1.4. > > Thanks, > > Rick Horowitz > > init: > --------- jakarta-struts 1.0 --------- > java.class.path = > /home/rick/programs/netbeans/netbeans/lib/patches/openide-compat.jar:/home/r > ick/programs/netbeans/netbeans/lib/core.jar:/home/rick/programs/netbeans/net > beans/lib/openide.jar:/home/rick/programs/netbeans/netbeans/lib/ext/crimson. > jar:/home/rick/programs/netbeans/netbeans/lib/ext/jh.jar:/home/rick/programs > /netbeans/netbeans/lib/ext/regexp.jar:/home/rick/programs/netbeans/netbeans/ > lib/ext/rmi-ext.jar:/home/rick/programs/netbeans/netbeans/lib/ext/terminalem > ulator.jar:/home/rick/programs/netbeans/netbeans/lib/ext/xerces.jar:/usr/jav > a/j2sdk1.4.0/lib/dt.jar:/usr/java/j2sdk1.4.0/lib/htmlconverter.jar:/usr/java > /j2sdk1.4.0/lib/tools.jar > java.home = /usr/java/j2sdk1.4.0/jre > user.home = /home/rick > prepare.dist: > prepare.library: > compile.library: > Compiling 14 source files to > /home/rick/programs/jakarta/jakarta-struts-1.0.1-src/target/library/classes > src/share/org/apache/struts/util/GenericConnection.java > [89] org.apache.struts.util.GenericConnection should > be declared abstract; it does not define > setHoldability(int) in > org.apache.struts.util.GenericConnection > public class GenericConnection implements Connection > { > ^ > Note: > /home/rick/programs/jakarta/jakarta-struts-1.0.1-src/src/share/org/apache/st > ruts/util/PropertyUtils.javauses > or overrides a deprecated API. > Note: Recompile with -deprecation for details. > 1 error > build.xml [174] Compile failed, messages should have > been provided. > BUILD FAILED > Total time: 8 seconds > > > __________________________________________________ > Do You Yahoo!? > Check out Yahoo! Shopping and Yahoo! Auctions for > all of > your unique holiday gifts! Buy at > http://shopping.yahoo.com > or bid at http://auctions.yahoo.com > > -- > To unsubscribe, e-mail: > <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: > <mailto:[EMAIL PROTECTED]> > > -- > To unsubscribe, e-mail: > <mailto:[EMAIL PROTECTED]> > For additional commands, e-mail: > <mailto:[EMAIL PROTECTED]> > __________________________________________________ Do You Yahoo!? Check out Yahoo! Shopping and Yahoo! Auctions for all of your unique holiday gifts! Buy at http://shopping.yahoo.com or bid at http://auctions.yahoo.com -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>