[mythtv] how to get and use Java-based UI from mythtv interface

Xi Jiarong XiJiarong at sp.edu.sg
Thu Apr 12 01:44:54 UTC 2007

Many thanks for all of you:) but I found the new problem when I tried as
this way.
I want to execute one external java-based application, so I added the
following code in mainmenu.xml according to your help and instruction:
   <text>Extern Application</text>
   <action>EXEC sh /usr/local/bin/java_application.sh</action>

the file: java_application.sh only includes the following content:
java -classpath . VoteDialog
(VoteDialog is one swing-based UI application)

but, when I choose the "Extern Application" item(), no any action, and I
found the following warning appear on terminal:
Exception in thread "main" java.lang.NoClassDefFoundError: VoteDialog

but because I can run this java application(VoteDialog) on terminal
properlly, via run: java VoteDialog;
I think the CLASSPATH is ok in fact, then What' s wrong with this?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mythtv.org/pipermail/mythtv-dev/attachments/20070412/5c7a5578/attachment.htm 

More information about the mythtv-dev mailing list