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

Richard Leitner richard.leitner at skidata.com
Thu Nov 5 14:00:36 UTC 2015


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



More information about the Openembedded-devel mailing list