« Return to Thread: Class path error

Class path error

by Van Dessel Ivan :: Rate this Message:

Reply to Author | View in Thread

To run my project correctly I run "java package.Driver_1" after I run
command "source" on a script file that exports two directories of jar
files.  How do I implement the exporting of library jars into my build
file for ant to make a jar file so that  I can just run it. I have been adding
attribute="Class-Path" refid="path/.jar path/.jar" into the Manifest but it still
is giving me errors by running the jar like this "java -jar jarfile"  ?

Ivan Van Dessel
Systems Engineer
Advanced Acoustic Concepts
900 Technology Blvd., Suite C
Bozeman, MT  59718
(Phone) 406.582.8133
(Fax) 406.582.0151

 « Return to Thread: Class path error

LightInTheBox - Buy quality products at wholesale price