Assume i am creating a charm which is having a java class in it say Helloworld.java. Now I want to compile and run this class by using jdk6 from a different charm.
Can somebody explain me what all changes I need to do. Basically I am struggling in relationship creation hence want to get it clear.
In my original implementation, I have a deb package in my charm, this deb package needs jdk6 and hadoop preinstalled(install script checks the availability checking JAVA_HOME and HADOOP_HOME in the PATH).
I am totally stuck on adding the relationship(in metadata.yaml and -relation-). I am not clear at all that how can I use java and hadoop from different charms.