* [meta-java] where is javac on the target
@ 2015-11-05 13:41 Gary Thomas
2015-11-05 13:42 ` Richard Leitner
0 siblings, 1 reply; 5+ messages in thread
From: Gary Thomas @ 2015-11-05 13:41 UTC (permalink / raw)
To: openembedded-devel
I tried running the java-test-image from this layer and found
lots of .java files, but no javac compiler.
Looking at the recipe for openjdk-7-jre I can see javac built,
but it doesn't seem to be packaged.
Am I missing something? How can I get the java compiler on my
target?
Thanks
--
------------------------------------------------------------
Gary Thomas | Consulting for the
MLB Associates | Embedded world
------------------------------------------------------------
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [meta-java] where is javac on the target
2015-11-05 13:41 [meta-java] where is javac on the target Gary Thomas
@ 2015-11-05 13:42 ` Richard Leitner
2015-11-05 13:54 ` Gary Thomas
0 siblings, 1 reply; 5+ messages in thread
From: Richard Leitner @ 2015-11-05 13:42 UTC (permalink / raw)
To: openembedded-devel
Hi,
it should be included in the openjdk-7-jdk package.
kind regards,
Richard L
On 11/05/2015 02:41 PM, Gary Thomas wrote:
> I tried running the java-test-image from this layer and found
> lots of .java files, but no javac compiler.
>
> Looking at the recipe for openjdk-7-jre I can see javac built,
> but it doesn't seem to be packaged.
>
> Am I missing something? How can I get the java compiler on my
> target?
>
> Thanks
>
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [meta-java] where is javac on the target
2015-11-05 13:42 ` Richard Leitner
@ 2015-11-05 13:54 ` Gary Thomas
2015-11-05 14:00 ` Richard Leitner
0 siblings, 1 reply; 5+ messages in thread
From: Gary Thomas @ 2015-11-05 13:54 UTC (permalink / raw)
To: openembedded-devel
On 2015-11-05 06:42, Richard Leitner wrote:
> Hi,
> it should be included in the openjdk-7-jdk package.
Thanks, that helped. Perhaps that package should be included in
the java-test-image?
I now have the compiler on my unit, but I'm still having issues
trying to run the examples. Here's what I tried:
# cd /usr/share/classpath/examples/gnu/classpath/examples/awt
# javac Demo.java
Demo.java:1160: error: cannot find symbol
AnimationApplet a;
^
symbol: class AnimationApplet
location: class AnimationWindow
Demo.java:1176: error: cannot find symbol
a = new AnimationApplet();
^
symbol: class AnimationApplet
location: class AnimationWindow
# ls -l
-rw-r--r-- 1 root root 33395 Nov 4 13:16 AicasGraphicsBenchmark.java
-rw-r--r-- 1 root root 6713 Nov 4 13:16 AnimationApplet.java
-rw-r--r-- 1 root root 29728 Nov 4 13:16 Demo.java
-rw-r--r-- 1 root root 12595 Nov 4 13:16 HintingDemo.java
Any hints on how I move forward?
Note: I'm not experienced with java, just trying to set this up for someone else :-)
> On 11/05/2015 02:41 PM, Gary Thomas wrote:
>> I tried running the java-test-image from this layer and found
>> lots of .java files, but no javac compiler.
>>
>> Looking at the recipe for openjdk-7-jre I can see javac built,
>> but it doesn't seem to be packaged.
>>
>> Am I missing something? How can I get the java compiler on my
>> target?
>>
>> Thanks
>>
--
------------------------------------------------------------
Gary Thomas | Consulting for the
MLB Associates | Embedded world
------------------------------------------------------------
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [meta-java] where is javac on the target
2015-11-05 13:54 ` Gary Thomas
@ 2015-11-05 14:00 ` Richard Leitner
2015-11-05 14:07 ` Gary Thomas
0 siblings, 1 reply; 5+ messages in thread
From: Richard Leitner @ 2015-11-05 14:00 UTC (permalink / raw)
To: openembedded-devel
On 11/05/2015 02:54 PM, Gary Thomas wrote:
> On 2015-11-05 06:42, Richard Leitner wrote:
>> Hi,
>> it should be included in the openjdk-7-jdk package.
>
> Thanks, that helped. Perhaps that package should be included in
> the java-test-image?
Good idea ;-)
Do you want to send a patch for that? Or should I do it?
>
> I now have the compiler on my unit, but I'm still having issues
> trying to run the examples. Here's what I tried:
>
> # cd /usr/share/classpath/examples/gnu/classpath/examples/awt
> # javac Demo.java
> Demo.java:1160: error: cannot find symbol
> AnimationApplet a;
> ^
> symbol: class AnimationApplet
> location: class AnimationWindow
> Demo.java:1176: error: cannot find symbol
> a = new AnimationApplet();
> ^
> symbol: class AnimationApplet
> location: class AnimationWindow
> # ls -l
> -rw-r--r-- 1 root root 33395 Nov 4 13:16 AicasGraphicsBenchmark.java
> -rw-r--r-- 1 root root 6713 Nov 4 13:16 AnimationApplet.java
> -rw-r--r-- 1 root root 29728 Nov 4 13:16 Demo.java
> -rw-r--r-- 1 root root 12595 Nov 4 13:16 HintingDemo.java
>
> Any hints on how I move forward?
>
> Note: I'm not experienced with java, just trying to set this up for
> someone else :-)
Sorry, I haven't done anything with the examples (yet). Maybe somebody
else can help?
kind regards,
Richard L
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [meta-java] where is javac on the target
2015-11-05 14:00 ` Richard Leitner
@ 2015-11-05 14:07 ` Gary Thomas
0 siblings, 0 replies; 5+ messages in thread
From: Gary Thomas @ 2015-11-05 14:07 UTC (permalink / raw)
To: openembedded-devel
On 2015-11-05 07:00, Richard Leitner wrote:
> On 11/05/2015 02:54 PM, Gary Thomas wrote:
>> On 2015-11-05 06:42, Richard Leitner wrote:
>>> Hi,
>>> it should be included in the openjdk-7-jdk package.
>>
>> Thanks, that helped. Perhaps that package should be included in
>> the java-test-image?
>
> Good idea ;-)
> Do you want to send a patch for that? Or should I do it?
I'll send a patch soon, once I get all of this working.
>
>>
>> I now have the compiler on my unit, but I'm still having issues
>> trying to run the examples. Here's what I tried:
>>
>> # cd /usr/share/classpath/examples/gnu/classpath/examples/awt
>> # javac Demo.java
>> Demo.java:1160: error: cannot find symbol
>> AnimationApplet a;
>> ^
>> symbol: class AnimationApplet
>> location: class AnimationWindow
>> Demo.java:1176: error: cannot find symbol
>> a = new AnimationApplet();
>> ^
>> symbol: class AnimationApplet
>> location: class AnimationWindow
>> # ls -l
>> -rw-r--r-- 1 root root 33395 Nov 4 13:16 AicasGraphicsBenchmark.java
>> -rw-r--r-- 1 root root 6713 Nov 4 13:16 AnimationApplet.java
>> -rw-r--r-- 1 root root 29728 Nov 4 13:16 Demo.java
>> -rw-r--r-- 1 root root 12595 Nov 4 13:16 HintingDemo.java
>>
>> Any hints on how I move forward?
>>
>> Note: I'm not experienced with java, just trying to set this up for
>> someone else :-)
>
> Sorry, I haven't done anything with the examples (yet). Maybe somebody
> else can help?
>
> kind regards,
> Richard L
>
--
------------------------------------------------------------
Gary Thomas | Consulting for the
MLB Associates | Embedded world
------------------------------------------------------------
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2015-11-05 14:05 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-11-05 13:41 [meta-java] where is javac on the target Gary Thomas
2015-11-05 13:42 ` Richard Leitner
2015-11-05 13:54 ` Gary Thomas
2015-11-05 14:00 ` Richard Leitner
2015-11-05 14:07 ` Gary Thomas
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.