public inbox for gentoo-java@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Petteri Räty" <betelgeuse@gentoo.org>
To: Marat Radchenko <slonopotamusorama@gmail.com>
Cc: Gentoo Java <gentoo-java@lists.gentoo.org>
Subject: Re: [gentoo-java] Cross compiling for older platform versions
Date: Thu, 28 Feb 2008 14:06:57 +0200	[thread overview]
Message-ID: <47C6A3E1.2070307@gentoo.org> (raw)
In-Reply-To: <b944a51b0802272359y259c8e62p8a7457da0cb13a97@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 968 bytes --]

Marat Radchenko kirjoitti:
> Hi, Gentoo Java Team.
> 
> I'd like to share my thoughts on backwards-compatible compilation. As 
> you already said, specifying -source and -target is not enough because 
> different JDKs have different rt.jar. Solution is very simple - you just 
> need to specify -bootclasspath and point to rt.jar of target jre. The 
> only problem (he-he) is that you need to get it 
> somewhere. I see two options:
> 
> 1) Install target jre
> 2) Have separate package with rt.jar only.
> 
> Hope this info will be useful.
> 
> With best regards,
> Marat Radchenko
> 

Please don't top post. I already tried to explain that we don't 
necessarily need to make our jars work perfectly with older JDKs we only 
need the older bytecode so that we are able to compile things. If you 
really want backwards compatible jars just use *=sun-jdk-1.4 in 
jdk.conf. Should probably document this on the Java Guide.

Regards,
Petteri


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 252 bytes --]

  parent reply	other threads:[~2008-02-28 12:07 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-02-27 22:58 [gentoo-java] Cross compiling for older platform versions David Herron
2008-02-27 23:09 ` David Herron
2008-02-28  2:03 ` Petteri Räty
     [not found]   ` <b944a51b0802272359y259c8e62p8a7457da0cb13a97@mail.gmail.com>
2008-02-28 12:06     ` Petteri Räty [this message]
2008-02-29  7:51   ` Vlastimil Babka

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=47C6A3E1.2070307@gentoo.org \
    --to=betelgeuse@gentoo.org \
    --cc=gentoo-java@lists.gentoo.org \
    --cc=slonopotamusorama@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox