I don't believe you're actually using Java 1.6 as you think you are. The error messages seem to indicate you're using JDK 1.4.
Tom On Thu, Jan 29, 2009 at 11:28 AM, Jan Muhammad <[email protected]> wrote: > Hi, > > I intended to install GT 4.0.4; as my earlier GT4.2.1 version had issues > running PERMIS. Now I'm trying for several times either from GT4.0.4 Binary > or Source, I get the following error when I'm trying to run make from the > source. Anyone has the clue what has gone wrong and where? I googled this > Thread but all in vain..... I don't know either this is a Java issue or Ant > problem. > > I'm using Java 1.6 and Ant 1.7.1 (surprisingly I was using the same before > when I upgraded from GT 4.0.4 to 4.2.1) > > > Thanks in advance for help. > > Regards > > -Jan Muhammad > _______________________________________________________________________________________________________________________ > > -------------------Truncated........................................... > > ant deploy -Denable.container.desc=true > -Ddeploy.dir=/usr/local/globus-4.0.4/ > Buildfile: build.xml > > init: > [copy] Copying 46 files to > /usr/local/gt4/gt4.0.4-all-source-installer/source-trees/wsrf/java/core/source/build/schema > > stubs: > > compileStubs: > > jarStubs: > > compile: > [javac] Compiling 319 source files to > /usr/local/gt4/gt4.0.4-all-source-installer/source-trees/wsrf/java/core/source/build/classes > [javac] > /usr/local/gt4/gt4.0.4-all-source-installer/source-trees/wsrf/java/core/source/src/org/globus/axis/description/ServiceDescUtil.java:52: > as of release 5, 'enum' is a keyword, and may not be used as an identifier > [javac] (use -source 1.4 or lower to use 'enum' as an identifier) > [javac] import org.apache.axis.enum.Scope; > [javac] ^ > [javac] > /usr/local/gt4/gt4.0.4-all-source-installer/source-trees/wsrf/java/core/source/src/org/globus/axis/providers/RPCProvider.java:24: > as of release 5, 'enum' is a keyword, and may not be used as an identifier > [javac] (use -source 1.4 or lower to use 'enum' as an identifier) > [javac] import org.apache.axis.enum.Scope; > [javac] ^ > [javac] > /usr/local/gt4/gt4.0.4-all-source-installer/source-trees/wsrf/java/core/source/src/org/globus/wsrf/impl/ServiceResourceHome.java:17: > as of release 5, 'enum' is a keyword, and may not be used as an identifier > [javac] (use -source 1.4 or lower to use 'enum' as an identifier) > [javac] import org.apache.axis.enum.Scope; > [javac] ^ > [javac] 3 errors > > BUILD FAILED > /usr/local/gt4/gt4.0.4-all-source-installer/source-trees/wsrf/java/core/source/build.xml:212: > Compile failed; see the compiler error output for details. > > Total time: 6 seconds > > ERROR: Build has failed > make: *** [globus_java_ws_core] Error 1 >
