Create PDF file of US flag.
http://pdfjet.com/net/examples/example-01.html
compile Example_01.java file into Example_01.class at Linux box ( copy PDFjet.jar into same directory)
javac -classpath .:PDFjet.jar Example_01.java
Test it at same box
java -classpath .:PDFjet.jar Example_01
copy Example_01.class file into Yun:
jamvm -classpath .:PDFjet.jar Example_01
Example_01.pdf is here