[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Contrib packages should absolutely be compiled with Java 1.4



On Tue, Aug 23, 2005 at 07:56:52PM +0200, Eric Lavarde - Debian wrote:
> Hi,
> 
> trying to use a new library libjcalendar-java, compiled with Java 1.5, to
> recompile FreeMind with Java 1.4, I got an error saying that Java couldn't
> open the Jar file:
> 
> 
>     [javac] Compiling 6 source files to
> /home/ericl/Comp/FreeMind/freemind-0.7.9.rc5/bin/classes
>     [javac]
> /home/ericl/Comp/FreeMind/freemind-0.7.9.rc5/freemind/plugins/time/TimeManagement.java:52:
> cannot access com.toedter.calendar.JCalendar
>     [javac] bad class file:
> /usr/share/java/jcalendar.jar(com/toedter/calendar/JCalendar.class)
>     [javac] class file has wrong version 49.0, should be 48.0
>     [javac] Please remove or make sure it appears in the correct
> subdirectory of the classpath.
>     [javac] import com.toedter.calendar.JCalendar;
>     [javac]                             ^
>     [javac] 1 error
> 
> For me it means that the need to compile with Java 1.4 should be added to
> the policy, or at least to the Java FAQ.
> 
> What do you think?

Some packages need to get compile with Java 1.3. We had some problems in the past regarding this.
In general we should always use the lowest possible version. Then we have the most portable results.


Michael
-- 
Escape the Java Trap with GNU Classpath!
http://www.gnu.org/philosophy/java-trap.html

Join the community at http://planet.classpath.org/



Reply to: