is it ok to have jar file inside another jar file
Posted on 2005-04-28
i have problem when i try to execute a executable jar file which inside contains the postgres driver pg74.215.jdbc3.
when i tried to run it using
java -classpath "$CLASSPATH;D:\AbacusWriter\pnrreader2;C:\Program Files\Apache Group\Tomcat 4.1\server\lib\pg74.215.jdbc3.jar;C:\Program Files\Apache Group\Tomcat 4.1\webapps\tvs\WEB-INF\classes" PnrInterface
but when i try to
javaw -jar -cp ".\pg74.215.jdbc3.jar" pnrreader.jar
i face null pointer exception