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

David Whyte david.whyte at gmail.com
Thu Apr 12 02:09:20 UTC 2007

On 4/12/07, Xi Jiarong <XiJiarong at sp.edu.sg> wrote:
>  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?

Hehe, this is Java 101.

You need to specify where the classes are defined using the -classpath
or -cp command line argument.

More information about the mythtv-dev mailing list