Welcome to Soft32 Linux Forums!
FAQFAQ    SearchSearch      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

Contrib packages should absolutely be compiled with Java 1.4

 
   Soft32 Home -> Linux2 Arch -> Java RSS
Next:  Eclipse 3.1-7 debs uploaded  
Author Message
Eric Lavarde - Debian

External


Since: Feb 01, 2007
Posts: 10



(Msg. 1) Posted: Tue Aug 23, 2005 3:00 pm
Post subject: Contrib packages should absolutely be compiled with Java 1.4
Archived from groups: linux>debian>maint>java (more info?)

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?

Eric

--
Eric de France, d'Allemagne et de Navarre


--
To UNSUBSCRIBE, email to debian-java-REQUEST DeleteThis @lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster DeleteThis @lists.debian.org
Back to top
Login to vote
Michael Koch

External


Since: Jan 15, 2007
Posts: 109



(Msg. 2) Posted: Mon Aug 29, 2005 1:50 pm
Post subject: Re: Contrib packages should absolutely be compiled with Java 1.4 [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

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/


--
To UNSUBSCRIBE, email to debian-java-REQUEST DeleteThis @lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster DeleteThis @lists.debian.org
Back to top
Login to vote
Display posts from previous:   
Related Topics:
Bug#400806: Please include contrib/kh2reg.py somewhere lik.. - Package: putty-tools Version: 0.58-5 Severity: wishlist When writing tools to interact with Windows systems, the..

Bug#405232: linux-modules-contrib-2.6: Include packages fo.. - Package: linux-modules-contrib-2.6 Severity: wishlist -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Would it be..

Bug#367887: java-package generates packages, which do not .. - tags 367887 - moreinfo thanks at least that's the case with the sun 1.5 jdk package. the other scripts should be..

Absolutely must see business opportunity! - Absolutely must see business opportunity! No doubt! This is a life time opportunity and one of the greatest..

Bug#333826: friends ones absolutely - 2588367 0663536 715411 2 7220155 0442381 0 2 2 6 3 5 6 0 ...

Bug#205475: Absolutely derelict - In some cases, this may also require communication and coordination with other liaison managers or representatives wher...
       Soft32 Home -> Linux2 Arch -> Java All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

Categories:
 Windows
 Linux
 Mac
 PDA


[ Contact us | Terms of Service/Privacy Policy ]