[kepler-dev] compatible with Java 1.5

Christopher Brooks cxh at eecs.berkeley.edu
Mon Apr 24 12:48:56 PDT 2006

The IconLoader problems should be fixed if you cvs update ptII.
I've run Kepler under Java 1.5 with no problem.
The enum problem is a warning, nothing else


    I forget if the issue of the compatibility of Kepler to Java 1.5 has  
    been discussed in this list or not. If we have a solution, please  
    remind me. Just let me know how to fix the following problems.
    I cannot compile Kepler on my Mac since my Mac updated itself to Java  
    1.5 last Friday.  The build process reported the following errors:
         [javac] /Users/zhijieguan/work/kepler/build/src/org/sdm/spa/ 
    MessageBasedWebService.java:87: warning: as of release 1.5, 'enum' is  
    a keyword, and may not be used as an identifier
         [javac] (try -source 1.5 to use 'enum' as a keyword)
         [javac] import org.apache.axis.enum.Style;
         [javac]                        ^
         [javac] /Users/zhijieguan/work/kepler/build/src/ptolemy/kernel/ 
    util/KeplerIconLoader.java:36: cannot find symbol
         [javac] symbol  : class IconLoader
         [javac] location: package ptolemy.moml
         [javac] import ptolemy.moml.IconLoader;
         [javac]                     ^
         [javac] /Users/zhijieguan/work/kepler/build/src/ptolemy/kernel/ 
    util/KeplerIconLoader.java:54: cannot find symbol
         [javac] symbol: class IconLoader
         [javac] public class KeplerIconLoader implements IconLoader {
         [javac]                                          ^
         [javac] Note: Some input files use or override a deprecated API.
         [javac] Note: Recompile with -Xlint:deprecation for details.
         [javac] 2 errors
         [javac] 1 warning
    It is a depreciated API problem.
    Kepler-dev mailing list
    Kepler-dev at ecoinformatics.org

More information about the Kepler-dev mailing list