Re: [Dspace-tech] Unable to compile class for JSP

2009-10-20 Thread Brouns, Francis
Hi all, Thanks for all your advice. Our java version installed via SLES yast was java-1_5_0-ibm. Installing the java1.6 did not help. javava version 1.5.0 Java(TM) 2 Runtime Environment, Standard Edition (build pxi32dev-20090707 (SR10 )) IBM J9 VM (build 2.3, J2RE 1.5.0 IBM J9 2.3 Linux

Re: [Dspace-tech] Unable to compile class for JSP

2009-10-15 Thread Mark H. Wood
I doubt that a 1.3 compiler would advise someone to use -source 1.5, which a 1.3 compiler would be incapable of obeying. It surely must be the case that a 1.5 (or newer) compiler is being used, and is defaulting to -source 1.3 or is being explicitly so instructed. I would check

Re: [Dspace-tech] Unable to compile class for JSP

2009-10-14 Thread Allen Lam
Hi Francis, Yes, the problem is on your java. Your java version is 1.3 which is not supporting generics and the modern for-loop syntax. Upgrade it to version 1.6 then there will be no problem. Allen Lam. HKU Hub Administrator, http://hub.hku.hk Brouns, Francis wrote: Hi all, We are trying

Re: [Dspace-tech] Unable to compile class for JSP

2009-10-14 Thread Allen Lam
Some more remarks... You said you are using IBM Java 1.5. There are two problems. 1. The error log said you are using 1.3. That means you have another 1.3 java for running your tomcat instance. Or you have added a parameter to enforce your 1.5 java to act like a 1.3 java. 2. Use only Sun's java.