October 23rd, 2001, 01:12 PM
Hi, I have a question. I got a Test.jar file from a Vendor. This Test.jar file contains 2 classes
public void getTime()
public void setTime()
The vendor did not give me the A.class and B.class files. My question is how to I call those classes through Test.jar file. If I had .class files I know how to call them, but I had never used .jar .
October 29th, 2001, 10:57 PM
Do you mean your vendor shipped you A.java and B.java in the
jar file? If so, you can extract them from the jar file and compile
them to A.class and B.class by yourself. A jar file is really just a
zip file so you can use tools like gunzip and WinZip.