S
soup_or_power
Hi All
I have a development environment where several jars are located say in
a directory /home/user/jars.
The java source is located say at /home/user/src. As I compile the
sources with -d option, they are placed under /home/user/jars. The
classpath contains all the jars. I am finding that when I run the code,
it is picking up stuff from jars ignoring the class files. IS there a
simple solution to fix this problem. IOW, how can I tell javac to first
look at class files and then jars. I don't enough about this
development environment dependencies to create an ant script. Your help
is appreciated.
/home/user/src ------------java files (e.g. myjara.java)
/home/user/jars -----------jars and class files
cd /home/user/src
javac -d ../jars myjava.java
Thanks for your help.
I have a development environment where several jars are located say in
a directory /home/user/jars.
The java source is located say at /home/user/src. As I compile the
sources with -d option, they are placed under /home/user/jars. The
classpath contains all the jars. I am finding that when I run the code,
it is picking up stuff from jars ignoring the class files. IS there a
simple solution to fix this problem. IOW, how can I tell javac to first
look at class files and then jars. I don't enough about this
development environment dependencies to create an ant script. Your help
is appreciated.
/home/user/src ------------java files (e.g. myjara.java)
/home/user/jars -----------jars and class files
cd /home/user/src
javac -d ../jars myjava.java
Thanks for your help.