public inbox for gentoo-java@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-java] Problem with compiling www-servers/resin with gcj
@ 2006-09-02 13:37 Maxym V. Dilay
  2006-09-02 14:00 ` Hanno Meyer-Thurow
  0 siblings, 1 reply; 6+ messages in thread
From: Maxym V. Dilay @ 2006-09-02 13:37 UTC (permalink / raw
  To: gentoo-java

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Here is my bug report: http://bugs.gentoo.org/show_bug.cgi?id=145873
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)

iD8DBQFE+Yk2/gIfxNyPc8URApO5AKC3bz9slRtPemONEIPRwFIzhN/P5QCgpXeS
06NgOQgx37DUxufodQbWbwk=
=e9og
-----END PGP SIGNATURE-----
-- 
gentoo-java@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [gentoo-java] Problem with compiling www-servers/resin with gcj
  2006-09-02 13:37 [gentoo-java] Problem with compiling www-servers/resin with gcj Maxym V. Dilay
@ 2006-09-02 14:00 ` Hanno Meyer-Thurow
  2006-09-02 14:50   ` Maxym V. Dilay
  0 siblings, 1 reply; 6+ messages in thread
From: Hanno Meyer-Thurow @ 2006-09-02 14:00 UTC (permalink / raw
  To: Maxym V. Dilay; +Cc: gentoo-java

On Sat, 02 Sep 2006 16:37:58 +0300
"Maxym V. Dilay" <admin@dproject.org.ua> wrote:

> Here is my bug report: http://bugs.gentoo.org/show_bug.cgi?id=145873

gcj-jdk is a 1.4 jdk.
resin requires a 1.5 jdk.


Regards,
Hanno
-- 
gentoo-java@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [gentoo-java] Problem with compiling www-servers/resin with gcj
  2006-09-02 14:00 ` Hanno Meyer-Thurow
@ 2006-09-02 14:50   ` Maxym V. Dilay
  2006-09-02 15:18     ` Jon Severinsson
                       ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Maxym V. Dilay @ 2006-09-02 14:50 UTC (permalink / raw
  To: Hanno Meyer-Thurow; +Cc: gentoo-java

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hanno Meyer-Thurow wrote:
> On Sat, 02 Sep 2006 16:37:58 +0300
> "Maxym V. Dilay" <admin@dproject.org.ua> wrote:
> 
>> Here is my bug report: http://bugs.gentoo.org/show_bug.cgi?id=145873
> 
> gcj-jdk is a 1.4 jdk.
> resin requires a 1.5 jdk.
> 
> 
> Regards,
> Hanno
So when is planned to support 1.5? And i find that ecj-3.2 has option
- -source 1.5 -target 1.5. Maybe this can be used for compiling, or no?
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)

iD8DBQFE+Zox/gIfxNyPc8URAuXoAJ93c7meRLFyqndgzPaDD/AlT2F68gCg1Jod
AIJD+2JxBDtmDnfbrC7tPaE=
=+fZg
-----END PGP SIGNATURE-----
-- 
gentoo-java@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [gentoo-java] Problem with compiling www-servers/resin with gcj
  2006-09-02 14:50   ` Maxym V. Dilay
@ 2006-09-02 15:18     ` Jon Severinsson
  2006-09-02 15:30     ` Hanno Meyer-Thurow
  2006-09-02 16:27     ` Hanno Meyer-Thurow
  2 siblings, 0 replies; 6+ messages in thread
From: Jon Severinsson @ 2006-09-02 15:18 UTC (permalink / raw
  To: gentoo-java

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Maxym V. Dilay skrev:
> So when is planned to support 1.5?
It won't be in GCC-4.2, so at earliest GCC-4.3. So that would be almost
a year (with pre-releases in about 6 months). Kaffe or Sablevm will more
likely support java-1.5 sooner though.

> And i find that ecj-3.2 has option -source 1.5 -target 1.5. Maybe
> this can be used for compiling, or no?
In theory yes, but you still need a 1.5 jre. And currently the java
build system doesn't support ecj-3.2 (only 3.1)...

- - Jon
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFE+aDiOOpxqcksWu4RArQFAKCn0TouAd968KAomxLO4QJLV/vrTQCgnNpG
0ZAAnImKEseZf9OSKzebhsE=
=frYL
-----END PGP SIGNATURE-----
-- 
gentoo-java@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [gentoo-java] Problem with compiling www-servers/resin with gcj
  2006-09-02 14:50   ` Maxym V. Dilay
  2006-09-02 15:18     ` Jon Severinsson
@ 2006-09-02 15:30     ` Hanno Meyer-Thurow
  2006-09-02 16:27     ` Hanno Meyer-Thurow
  2 siblings, 0 replies; 6+ messages in thread
From: Hanno Meyer-Thurow @ 2006-09-02 15:30 UTC (permalink / raw
  To: Maxym V. Dilay; +Cc: gentoo-java

On Sat, 02 Sep 2006 17:50:25 +0300
"Maxym V. Dilay" <admin@dproject.org.ua> wrote:

> So when is planned to support 1.5? And i find that ecj-3.2 has option
> - -source 1.5 -target 1.5. Maybe this can be used for compiling, or no?

It is work-in-progress. You still need a 1.5 bootclasspath.
-- 
gentoo-java@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [gentoo-java] Problem with compiling www-servers/resin with gcj
  2006-09-02 14:50   ` Maxym V. Dilay
  2006-09-02 15:18     ` Jon Severinsson
  2006-09-02 15:30     ` Hanno Meyer-Thurow
@ 2006-09-02 16:27     ` Hanno Meyer-Thurow
  2 siblings, 0 replies; 6+ messages in thread
From: Hanno Meyer-Thurow @ 2006-09-02 16:27 UTC (permalink / raw
  To: Maxym V. Dilay; +Cc: gentoo-java

On Sat, 02 Sep 2006 17:50:25 +0300
"Maxym V. Dilay" <admin@dproject.org.ua> wrote:

> So when is planned to support 1.5? And i find that ecj-3.2 has option
> - -source 1.5 -target 1.5. Maybe this can be used for compiling, or no?

Package dev-java/gnu-classpath-generics has limited (?) 1.5 support.

You may copy /usr/share/java-config-2/compiler/ecj-3.2 to
/usr/share/java-config-2/compiler/ecj15-3.2. Edit the new file:

-ANT_BUILD_COMPILER="org.eclipse.jdt.core.JDTCompilerAdapter"
+ANT_BUILD_COMPILER="org.eclipse.jdt.core.JDTCompilerAdapter -Dsun.boot.class.path=/usr/share/classpath/glibj.zip"

Then set COMPILERS="ecj15-3.2" in /etc/java-config-2/build/compilers.conf.
I guess you can add that to the java wrapper to get JRE 1.5 support.


Regards,
Hanno
-- 
gentoo-java@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2006-09-02 16:22 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-09-02 13:37 [gentoo-java] Problem with compiling www-servers/resin with gcj Maxym V. Dilay
2006-09-02 14:00 ` Hanno Meyer-Thurow
2006-09-02 14:50   ` Maxym V. Dilay
2006-09-02 15:18     ` Jon Severinsson
2006-09-02 15:30     ` Hanno Meyer-Thurow
2006-09-02 16:27     ` Hanno Meyer-Thurow

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox