Policy/recommendation on compiling with version 1.4 vs. 1.5?

2005-07-04 Thread Eric Lavarde - Debian
Hi, my understanding of the differences between Java 1.4 and 1.5 is that programs compiled with Java 1.5 might not work in the JVM 1.4, but the other way around should always work. So my questions: 1. is this correct? 2. if yes, shouldn't the consequence for Debian be, even though Sun Java is

Re: Policy/recommendation on compiling with version 1.4 vs. 1.5?

2005-07-04 Thread Petter Reinholdtsen
[Eric Lavarde] So my questions: 1. is this correct? No idea. 2. if yes, shouldn't the consequence for Debian be, even though Sun Java is not officially supported, a recommendation or policy that Java packages should be compiled with Java 1.4, if possible? Java packages should be compiled

Re: Policy/recommendation on compiling with version 1.4 vs. 1.5?

2005-07-04 Thread [EMAIL PROTECTED]
Java packages should be compiled with one of the free Java implementations (gjc, jikes, etc) if possible. I believe this is more important than the choice of SUN java compiler to use. Are there any compatibility problems with the free java compilers? Does any of them support the new

Re: Policy/recommendation on compiling with version 1.4 vs. 1.5?

2005-07-04 Thread Petter Reinholdtsen
[Michael Riedel] Does any of them support the new language features of java 1.5? No idea. Please post your test summary here, so the rest of us can learn it too. :) -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]

Re: Policy/recommendation on compiling with version 1.4 vs. 1.5?

2005-07-04 Thread Wolfgang Baer
Eric Lavarde - Debian wrote: Hi, my understanding of the differences between Java 1.4 and 1.5 is that programs compiled with Java 1.5 might not work in the JVM 1.4, but the other way around should always work. So my questions: 1. is this correct? Depends on the source :-) If the source

Re: Policy/recommendation on compiling with version 1.4 vs. 1.5?

2005-07-04 Thread Wolfgang Baer
Petter Reinholdtsen wrote: [Michael Riedel] Does any of them support the new language features of java 1.5? No idea. Please post your test summary here, so the rest of us can learn it too. :) Currently there is no free compiler in the archive for 1.5 source. The only free compiler

Re: Policy/recommendation on compiling with version 1.4 vs. 1.5?

2005-07-04 Thread Eric
Hi, Are there any compatibility problems with the free java compilers? Jop, it's a Swing-based library, I tried with free-java-sdk, JSpinner seemed to be the (first) missing class. Cheers, Eric PS: the package is not yet in unstable, it'll be libjcalendar-java, can be grabbed from: deb

Re: Policy/recommendation on compiling with version 1.4 vs. 1.5?

2005-07-04 Thread Krzysztof Sobolewski
Wolfgang Baer napisaƂ(a): Eric Lavarde - Debian wrote: Hi, my understanding of the differences between Java 1.4 and 1.5 is that programs compiled with Java 1.5 might not work in the JVM 1.4, but the other way around should always work. So my questions: 1. is this correct? Depends on the

Re: Policy/recommendation on compiling with version 1.4 vs. 1.5?

2005-07-04 Thread Eric Lavarde
Hi, Wolfgang Baer wrote: Eric Lavarde - Debian wrote: I think it is not specified but we currently (if upstream does) still support 1.3 - so you should compile with target=1.3 ! Sounds like the recommendation is: compile as low as you can, respectively as low as upstream code allows you...