<html><body>
<p>Many thanks for all of you:) but I found the new problem when I tried as this way.<br>
<font size="4">I want to execute one external java-based application, so I added the following code in mainmenu.xml according to your help and instruction:<br>
<button><br>
<type>Extern_Application</type><br>
<text>Extern Application</text><br>
<action>EXEC sh /usr/local/bin/java_application.sh</action><br>
</button><br>
<br>
the file: java_application.sh only includes the following content:<br>
java -classpath . VoteDialog<br>
(VoteDialog is one swing-based UI application) <br>
<br>
but, when I choose the "Extern Application" item(), no any action, and I found the following warning appear on terminal: <br>
Exception in thread "main" java.lang.NoClassDefFoundError: VoteDialog <br>
<br>
but because I can run this java application(VoteDialog) on terminal properlly, via run: java VoteDialog; <br>
I think the CLASSPATH is ok in fact, then What' s wrong with this?<br>
</font></body></html>