Added the java jar file (customer.jar) to C:\Program Files\Java\jdk1.6.0_10\jre\lib\ext directory.
Solved (and without changing anything to the classpath setting).
Search found 2 matches
- Tue Nov 18, 2008 5:20 pm
- Forum: Java
- Topic: Compiling java -
- Replies: 2
- Views: 9584
- Tue Nov 18, 2008 10:05 am
- Forum: Java
- Topic: Compiling java -
- Replies: 2
- Views: 9584
Compiling java -
I have a small java project that imports some classes from a jar file. import X.Y.Z.*; Both the java source file (UserInfo.jar) and the jar file (customer.jar) are located in the same directory. This compiles fine with the sandard javac command: javac -d . -classpath customer.jar UserInfo.java ...