[kepler-dev] Kepler and Java 1.5

Christopher Brooks cxh at eecs.berkeley.edu
Wed Feb 9 15:43:56 PST 2005


I believe this is because the Java virtual machine changed between
1.4.2 and 1.5.  

Under Java 1.5, using the -target option should generate 1.4
compatible byte codes.
I suggest:
   javac -target 1.4 

You could edit $PTII/mk/ptII.mk.in and add this to JFLAGS
JFLAGS = 	$(JDEBUG) $(JOPTIMIZE) -target 1.4

I have not tried the above, but it should work.

_Christopher


--------

    Hi All,
        Just a note on a problem I ran into that may be of interest. I have 
    been using the new 1.5 version of Java for the past few weeks and Kepler 
    seems to compile and execute just fine under the 1.5 SDK. HOWEVER, if I 
    compile the Kepler jars under 1.5 and then try running under 1.4.2_06, I 
    get errors on starting up Kepler from the MOML parser! So if we want 
    Kepler to run under Java 1.4.2_06, then we need to compile it under 1.4.2_0
   6
    
    Dan
    
    -- 
    *******************************************************************
    Dan Higgins                                  higgins at nceas.ucsb.edu
    http://www.nceas.ucsb.edu/    Ph: 805-893-5127
    National Center for Ecological Analysis and Synthesis (NCEAS) 
    Marine Science Building - Room 3405
    Santa Barbara, CA 93195
    *******************************************************************
    
    _______________________________________________
    kepler-dev mailing list
    kepler-dev at ecoinformatics.org
    http://www.ecoinformatics.org/mailman/listinfo/kepler-dev
--------



More information about the Kepler-dev mailing list