M
mustapha
hi everybody,
while trying to execute a java program I got this execption:
Exception in thread "main" java.lang.NoClassDefFoundError:
epsontest/EpsonTest
and this my script for launching jvm:
-------------------------------myscript.sh-------------------------------
#!/bin/bash
cd "/home/elec/epsontest"
"/usr/lib/jvm/java-1.5.0-sun-1.5.0.06/jre/bin/java" -classpath
"/home/elec/epsontest/EpsonTest.class":"/home/elec/epsontest/Step1Frame.class":"/home/elec/epsontest/Step1Frame$1.class":"/usr/lib/jvm/java-1.5.0-sun-1.5.0.06/jre/lib/ext/jpos19.jar":"/usr/lib/jvm/java-1.5.0-sun-1.5.0.06/jre/lib/ext/pos.jar":"/usr/lib/jvm/java-1.5.0-sun-1.5.0.06/jre/lib/ext/epsonupos.jar":"/usr/lib/jvm/java-1.5.0-sun-1.5.0.06/jre/lib/ext/uposcommon.jar":"/usr/lib/jvm/java-1.5.0-sun-1.5.0.06/jre/lib/ext/linuxUsbDriver.jar":"/usr/lib/jvm/java-1.5.0-sun-1.5.0.06/jre/lib/ext/xercesImpl.jar":"/usr/lib/jvm/java-1.5.0-sun-1.5.0.06/jre/lib/ext/xml-apis.jar"
epsontest.EpsonTest
while trying to execute a java program I got this execption:
Exception in thread "main" java.lang.NoClassDefFoundError:
epsontest/EpsonTest
and this my script for launching jvm:
-------------------------------myscript.sh-------------------------------
#!/bin/bash
cd "/home/elec/epsontest"
"/usr/lib/jvm/java-1.5.0-sun-1.5.0.06/jre/bin/java" -classpath
"/home/elec/epsontest/EpsonTest.class":"/home/elec/epsontest/Step1Frame.class":"/home/elec/epsontest/Step1Frame$1.class":"/usr/lib/jvm/java-1.5.0-sun-1.5.0.06/jre/lib/ext/jpos19.jar":"/usr/lib/jvm/java-1.5.0-sun-1.5.0.06/jre/lib/ext/pos.jar":"/usr/lib/jvm/java-1.5.0-sun-1.5.0.06/jre/lib/ext/epsonupos.jar":"/usr/lib/jvm/java-1.5.0-sun-1.5.0.06/jre/lib/ext/uposcommon.jar":"/usr/lib/jvm/java-1.5.0-sun-1.5.0.06/jre/lib/ext/linuxUsbDriver.jar":"/usr/lib/jvm/java-1.5.0-sun-1.5.0.06/jre/lib/ext/xercesImpl.jar":"/usr/lib/jvm/java-1.5.0-sun-1.5.0.06/jre/lib/ext/xml-apis.jar"
epsontest.EpsonTest