Openembedded Devel Discussions
 help / color / mirror / Atom feed
From: Gary Thomas <gary@mlbassoc.com>
To: openembedded-devel@lists.openembedded.org
Subject: Re: [meta-java] where is javac on the target
Date: Thu, 5 Nov 2015 06:54:20 -0700	[thread overview]
Message-ID: <563B5F8C.1080304@mlbassoc.com> (raw)
In-Reply-To: <563B5CE1.4060808@skidata.com>

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
------------------------------------------------------------


  reply	other threads:[~2015-11-05 13:52 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 [this message]
2015-11-05 14:00     ` Richard Leitner
2015-11-05 14:07       ` Gary Thomas

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=563B5F8C.1080304@mlbassoc.com \
    --to=gary@mlbassoc.com \
    --cc=openembedded-devel@lists.openembedded.org \
    /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