[oe] [meta-java] where is javac on the target

Gary Thomas gary at mlbassoc.com
Thu Nov 5 13:54:20 UTC 2015


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



More information about the Openembedded-devel mailing list