Starting Java prog from a different folder
Hi,
I have a Java class, Lattice.class in the folder:
Code:
c:\ASR\bld\edu\cmu\sphinx\demo\lattice
The class is in the package:
Code:
edu.cmu.sphinx.demo.lattice
I can run this from the
folder by typing:
Code:
java edu.cmu.sphinx.demo.lattice.Lattice
If I want to run it from the
folder I type:
Code:
java -classpath ./bld -mx256m edu.cmu.sphinx.demo.lattice.Lattice
Is there any other way to run it from the ASR folder other than typing the classpath parameter and other than setting classpath in the computer settings?
Many thanks.