y0 facemann,
On my linux box, this is what I did to my .bash_profile and added these
lines in my home acct:
export CLASSPATH=.;
export
CLASSPATH=$CLASSPATH:/home/james/biojava/biojava-live/ant-build/biojava.jar
This way, you won't have to type all the parameters each time you want
to execute y
The obvious choice then is to redefine the classpath in the manifest
file or have a ant script to create the jar (biojava is in the lib
directory) :
h...
does this he
Hello Alex,
Combining the java command line arguments -cp and -jar will not work as
you expect -- the -jar argument overrides the CLASSPATH.
"When you use this option, the JAR file is the source of all user
classes, and other user class path settings are ignored."
> http://java.sun.com/j2se/1.5.
include the full path of the biojava archive in the definition of your
classpath:
#java -cp
/uufs/inscc.utah.edu/common/home/ahammer/ext/xerces.jar:/uufs/inscc.utah.edu/common/home/ahammer/ext/biojava.jar
-jar MotifSearch.jar
Alex.
On Fri, 2005-02-11 at 14:02, Andy Hammer wrote:
> I think I am
>>java -classpath . -jar MotifSearch.jar
"-cp ." only works with unzipped jar files. In your case, I would use:
java -cp xerces.jar:biojava.jar: -jar MotifSearch.jar
Hope that helps,
Rahul
___
Biojava-l mailing list - Biojava-l@biojava.org
http://bi
On Thursday 10 Feb 2005 19:15, Andy Hammer wrote:
> Hello all.
If you are running the app as a jar, you appear to need to define an env var
CLASSPATH that has the jars required. I've never had much joy with
defining the classpath on the command line itself but that might just be
incompetence o