attach dependent jar with project jar in linux

view story

http://stackoverflow.com – I am trying to run a jar file on linux of swing project using JavaFX . I have installed JRE7 on linux . My project jar is using two jars: jfxrt.jar and lucene.jar . I have copied the jars to /home/projectdir/lib/ and also set the classpath by following command export CLASS PATH=/home/projectdir/lib/jarfilename.jar but I am still getting an error while running my project jar with the help of following command: java -jar projectjar.jar (HowTos)