All of lore.kernel.org
 help / color / mirror / Atom feed
* State of Java on OE
@ 2017-04-21 22:25 Steven Osborn
  2017-04-22  6:45 ` Koen Kooi
                   ` (4 more replies)
  0 siblings, 5 replies; 10+ messages in thread
From: Steven Osborn @ 2017-04-21 22:25 UTC (permalink / raw)
  To: openembedded-devel

Is anyone using Java on OE devices right now?

meta-java - no release branches.  Seems to only be focused on master.
I've had trouble even finding a revision that will compile on Morty.

meta-oracle-java has a Morty branch, but the URI for the binaries is
bad so it fails to install.

Overall it seems like Java is not a very favored or platform at the moment.

--
Steven Osborn
http://lolsborn.com


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

* Re: State of Java on OE
  2017-04-21 22:25 State of Java on OE Steven Osborn
@ 2017-04-22  6:45 ` Koen Kooi
  2017-04-24  6:32   ` Koen Kooi
  2017-04-23  6:54 ` Richard Leitner
                   ` (3 subsequent siblings)
  4 siblings, 1 reply; 10+ messages in thread
From: Koen Kooi @ 2017-04-22  6:45 UTC (permalink / raw)
  To: openembedded-devel

Op 22-04-17 om 00:25 schreef Steven Osborn:
> Is anyone using Java on OE devices right now?

Me!

> meta-java - no release branches.  Seems to only be focused on master. 
> I've had trouble even finding a revision that will compile on Morty.

koen@beast:/build/v2016.12$ cat .repo/manifests/default.xml  | grep java
  <project name="meta-java" path="layers/meta-java" remote="yocto"
revision="a265b31ec7d022be254abdf959360a7624208585" upstream="master"/>

That generates an openjdk-8 good enough to run jenkins on x86-64, no idea
about other archs.

regards,

Koen

> 
> meta-oracle-java has a Morty branch, but the URI for the binaries is bad
> so it fails to install.
> 
> Overall it seems like Java is not a very favored or platform at the
> moment.
> 
> -- Steven Osborn http://lolsborn.com
> 




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

* Re: State of Java on OE
  2017-04-21 22:25 State of Java on OE Steven Osborn
  2017-04-22  6:45 ` Koen Kooi
@ 2017-04-23  6:54 ` Richard Leitner
  2017-04-24  6:26 ` Jaap de Jong
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 10+ messages in thread
From: Richard Leitner @ 2017-04-23  6:54 UTC (permalink / raw)
  To: openembedded-devel

On 04/22/2017 12:25 AM, Steven Osborn wrote:
> Is anyone using Java on OE devices right now?

Yep. Me.

>
> meta-java - no release branches.  Seems to only be focused on master.
> I've had trouble even finding a revision that will compile on Morty.

I'm using the current master branch with YP jethro for running OpenJRE 7 
in mixed mode on ARM systems. And I'm currently migrating my platforms 
to master (->pyro).

So it works fine for me. Only problem is that we cannot upgrade OpenJDK 
to the current patch level for ARM because JIT was broken: 
http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=2942

>
> meta-oracle-java has a Morty branch, but the URI for the binaries is
> bad so it fails to install.

Haven't tried meta-oracle-java in the last couple of years (due to 
license issues).

>
> Overall it seems like Java is not a very favored or platform at the moment.

That's maybe true. But help in the meta-java layer for fixing problems 
is (if you have some spare time) always appreciated ;-)

regards,
RichardL


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

* Re: State of Java on OE
  2017-04-21 22:25 State of Java on OE Steven Osborn
  2017-04-22  6:45 ` Koen Kooi
  2017-04-23  6:54 ` Richard Leitner
@ 2017-04-24  6:26 ` Jaap de Jong
  2017-04-24  7:02 ` Stefano Babic
  2017-05-03 21:33 ` Paul Eggleton
  4 siblings, 0 replies; 10+ messages in thread
From: Jaap de Jong @ 2017-04-24  6:26 UTC (permalink / raw)
  To: openembedded-devel

On 22-04-17 00:25, Steven Osborn wrote:
> Is anyone using Java on OE devices right now?
Yes!
> meta-oracle-java has a Morty branch, but the URI for the binaries is
> bad so it fails to install.
We are using oracle for several years now. And yes, we pay for it.
This URI is not bad, you need an account for some of the binaries.



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

* Re: State of Java on OE
  2017-04-22  6:45 ` Koen Kooi
@ 2017-04-24  6:32   ` Koen Kooi
  0 siblings, 0 replies; 10+ messages in thread
From: Koen Kooi @ 2017-04-24  6:32 UTC (permalink / raw)
  To: openembedded-devel

Op 22-04-17 om 08:45 schreef Koen Kooi:
> Op 22-04-17 om 00:25 schreef Steven Osborn:
>> Is anyone using Java on OE devices right now?
> 
> Me!
> 
>> meta-java - no release branches.  Seems to only be focused on master. 
>> I've had trouble even finding a revision that will compile on Morty.
> 
> koen@beast:/build/v2016.12$ cat .repo/manifests/default.xml  | grep java 
> <project name="meta-java" path="layers/meta-java" remote="yocto" 
> revision="a265b31ec7d022be254abdf959360a7624208585" upstream="master"/>
> 
> That generates an openjdk-8 good enough to run jenkins on x86-64, no
> idea about other archs.

I forgot to mention a annoying and stupid bug: if host and target match it
will use host g++ to compile, which breaks in my case because that's gcc 4.9
which doesn't understand the dse flags the recipe is passing in.


regards,

Koen




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

* Re: State of Java on OE
  2017-04-21 22:25 State of Java on OE Steven Osborn
                   ` (2 preceding siblings ...)
  2017-04-24  6:26 ` Jaap de Jong
@ 2017-04-24  7:02 ` Stefano Babic
  2017-04-26  9:09   ` Koen Kooi
  2017-04-26  9:15   ` Richard Leitner
  2017-05-03 21:33 ` Paul Eggleton
  4 siblings, 2 replies; 10+ messages in thread
From: Stefano Babic @ 2017-04-24  7:02 UTC (permalink / raw)
  To: Steven Osborn, openembedded-devel

On 22/04/2017 00:25, Steven Osborn wrote:
> Is anyone using Java on OE devices right now?
> 
> meta-java - no release branches.  Seems to only be focused on master.
> I've had trouble even finding a revision that will compile on Morty.
> 
> meta-oracle-java has a Morty branch, but the URI for the binaries is
> bad so it fails to install.
> 
> Overall it seems like Java is not a very favored or platform at the moment.
> 

I have got the same problems - the missing of release branches in
meta-java is quite confusing. -master does not work with last releases,
and everybody have to find working commit id for each release. And after
that, cherry-picking something from -master to fix global issue (it was
for me dependency's issue with classpath).

Maybe we have to try to propose the maintainers to set release branches
as usual.

Regards,
Stefano

-- 
=====================================================================
DENX Software Engineering GmbH,      Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-53 Fax: +49-8142-66989-80 Email: sbabic@denx.de
=====================================================================


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

* Re: State of Java on OE
  2017-04-24  7:02 ` Stefano Babic
@ 2017-04-26  9:09   ` Koen Kooi
  2017-04-26  9:15   ` Richard Leitner
  1 sibling, 0 replies; 10+ messages in thread
From: Koen Kooi @ 2017-04-26  9:09 UTC (permalink / raw)
  To: openembedded-devel

Op 24-04-17 om 09:02 schreef Stefano Babic:
> On 22/04/2017 00:25, Steven Osborn wrote:
>> Is anyone using Java on OE devices right now?
>> 
>> meta-java - no release branches.  Seems to only be focused on master. 
>> I've had trouble even finding a revision that will compile on Morty.
>> 
>> meta-oracle-java has a Morty branch, but the URI for the binaries is 
>> bad so it fails to install.
>> 
>> Overall it seems like Java is not a very favored or platform at the
>> moment.
>> 
> 
> I have got the same problems - the missing of release branches in 
> meta-java is quite confusing. -master does not work with last releases, 
> and everybody have to find working commit id for each release. And after 
> that, cherry-picking something from -master to fix global issue (it was 
> for me dependency's issue with classpath).
> 
> Maybe we have to try to propose the maintainers to set release branches 
> as usual.

You can add an empty class to make 'master' work with 'morty':

https://github.com/Angstrom-distribution/meta-angstrom/commit/2eca0f1c932f098eb7fd877c5b00225408b2e42d

And I had to do this to make it build:

https://github.com/Angstrom-distribution/meta-angstrom/blob/709abee819ee349dab873f6abb02c404b2c65331/recipes-tweaks/ecj/ecj-initial-native.bbappend

With this I can build 'openjre-8' on debian and fedora hosts for armv7 and
x86_64. It even runs jenkins, but it used 4x the amount of memory openjdk-7
did :(

regards,

Koen



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

* Re: State of Java on OE
  2017-04-24  7:02 ` Stefano Babic
  2017-04-26  9:09   ` Koen Kooi
@ 2017-04-26  9:15   ` Richard Leitner
  1 sibling, 0 replies; 10+ messages in thread
From: Richard Leitner @ 2017-04-26  9:15 UTC (permalink / raw)
  To: openembedded-devel

On 04/24/2017 09:02 AM, Stefano Babic wrote:
> On 22/04/2017 00:25, Steven Osborn wrote:
>> Is anyone using Java on OE devices right now?
>>
>> meta-java - no release branches.  Seems to only be focused on master.
>> I've had trouble even finding a revision that will compile on Morty.
>>
>> meta-oracle-java has a Morty branch, but the URI for the binaries is
>> bad so it fails to install.
>>
>> Overall it seems like Java is not a very favored or platform at the moment.
>>
> 
> I have got the same problems - the missing of release branches in
> meta-java is quite confusing. -master does not work with last releases,
> and everybody have to find working commit id for each release. And after
> that, cherry-picking something from -master to fix global issue (it was
> for me dependency's issue with classpath).

fyi: I'm currently working on fixing openjdk-7 to work again with
current master. I think I'll be able to post the patches today, or at
least this week.

regards,
RichardL




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

* Re: State of Java on OE
  2017-04-21 22:25 State of Java on OE Steven Osborn
                   ` (3 preceding siblings ...)
  2017-04-24  7:02 ` Stefano Babic
@ 2017-05-03 21:33 ` Paul Eggleton
  2017-05-04 14:04   ` John, Maxin
  4 siblings, 1 reply; 10+ messages in thread
From: Paul Eggleton @ 2017-05-03 21:33 UTC (permalink / raw)
  To: openembedded-devel; +Cc: Steven Osborn

On Saturday, 22 April 2017 10:25:55 AM NZST Steven Osborn wrote:
> Is anyone using Java on OE devices right now?
> 
> meta-java - no release branches.  Seems to only be focused on master.
> I've had trouble even finding a revision that will compile on Morty.

So it looks like there is a morty branch now, but it includes a commit that 
only works with master due to inheriting relative_symlinks (as also noted by 
Koen). 

Maxin (or someone else with push access), could you please fix the morty 
branch?

Thanks,
Paul

-- 

Paul Eggleton
Intel Open Source Technology Centre


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

* Re: State of Java on OE
  2017-05-03 21:33 ` Paul Eggleton
@ 2017-05-04 14:04   ` John, Maxin
  0 siblings, 0 replies; 10+ messages in thread
From: John, Maxin @ 2017-05-04 14:04 UTC (permalink / raw)
  To: Paul Eggleton, openembedded-devel@lists.openembedded.org; +Cc: Steven Osborn

Hi Paul,

Updated the morty branch today. Sorry for this mess-up.
	
Thanks and Regards,
Maxin

-----Original Message-----
From: Paul Eggleton [mailto:paul.eggleton@linux.intel.com] 
Sent: Thursday, May 4, 2017 12:34 AM
To: openembedded-devel@lists.openembedded.org
Cc: Steven Osborn <osborn.steven@gmail.com>; John, Maxin <maxin.john@intel.com>
Subject: Re: [oe] State of Java on OE

On Saturday, 22 April 2017 10:25:55 AM NZST Steven Osborn wrote:
> Is anyone using Java on OE devices right now?
> 
> meta-java - no release branches.  Seems to only be focused on master.
> I've had trouble even finding a revision that will compile on Morty.

So it looks like there is a morty branch now, but it includes a commit that only works with master due to inheriting relative_symlinks (as also noted by Koen). 

Maxin (or someone else with push access), could you please fix the morty branch?

Thanks,
Paul

-- 

Paul Eggleton
Intel Open Source Technology Centre


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

end of thread, other threads:[~2017-05-04 14:04 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-04-21 22:25 State of Java on OE Steven Osborn
2017-04-22  6:45 ` Koen Kooi
2017-04-24  6:32   ` Koen Kooi
2017-04-23  6:54 ` Richard Leitner
2017-04-24  6:26 ` Jaap de Jong
2017-04-24  7:02 ` Stefano Babic
2017-04-26  9:09   ` Koen Kooi
2017-04-26  9:15   ` Richard Leitner
2017-05-03 21:33 ` Paul Eggleton
2017-05-04 14:04   ` John, Maxin

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.