Hi Andy, Please see my comments below regarding RSE...
Thanks, Jessica -----Original Message----- From: Paul Eggleton [mailto:paul.eggle...@linux.intel.com] Sent: Wednesday, March 28, 2012 3:33 AM To: Andy Gikling Cc: Zhang, Jessica; Kamble, Nitin A; yocto@yoctoproject.org Subject: Re: [yocto] Explicitly Adding Common Packages (ie Java) and Creating Users Hi Andy, On Sunday 25 March 2012 21:05:02 Andy Gikling wrote: > I'd like to ask two specific questions: > > Question 1: > The ADT manual instructs you to install the Target Management (RSE) > framework into Eclipse. Presumably, one would want to use these tools > to do remote debugging on their Yocto target. Unfortunately, the > primary vehicle to doing streamlined remote debugging with Target > Management is to run the rseserver and this requires java. Many of > Yocto's base images don't come with java support (for example > core-image-minimal). So I set out to figure out how to add this into my > project. Makes sense right? > > I was never able build an image that contains the meta-oracle-master > layer using the config files only. (The documentation on how to do > this is sparse. Even the readme file in the layer's download is a > one-liner on how to use it... why?) I was able to get an image to build > using hob though. > When I boot the image I have two new folders now; "/usr/java/" and > "/usr/jdk1.7.0_02/" both of which contain a "/bin" folder with "java" > in it. > > The problem is I can't seem to execute any of them what-so-ever. I > just need to be able to call "java -version" and I just can't get er' > to go no matter what I do! > > I've tried adding various locations to my $PATH and I've also tried > navigating to the folder directly and calling "./java" to no avail. > What folder should I expect my java executable to be in? Why can't I use it? > The jdk is clearly there - I must be missing something very obvious. > > There really should be some documentation on this because Java is so > common as it's a requirement for the tools suggested in the ADT manual. > Documentation on this topic would fit really well with other common > first-timer question of "How do I explicitly add a package to my Yocto > image, such as OpenSSH, GDB, or Java?" [JZ] For using RSE, you don't need java for the target image, but you do need to add tcf-agent which facilitate the remote communication underline RSE, on the host side, the tcf plugin will communicate with the remote tcf-agent for all the related remote interactions. We have a tcf_agent recipe file which you can use to add it to the image. _______________________________________________ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto