wood burning stoves 2.0*
The moose likes Programmer Certification (SCJP/OCPJP) and the fly likes Khalid Test Not working Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Certification » Programmer Certification (SCJP/OCPJP)
Bookmark "Khalid Test Not working" Watch "Khalid Test Not working" New topic
Author

Khalid Test Not working

Deepa sivasankar
Ranch Hand

Joined: Jul 22, 2003
Posts: 35
I downloaded th khalid;s test but when i run i am getting the error message
count = 0, total = 31
Failed to load Main-class manifest attribute from
pgjc-engine.jar
any one has any idea will be greatly appreciated.
I run from the dos prompt java -jar pgjc-engine.jar
I have path set correctlky i use jdk1.2
thanks for ur help
Deepa sivasankar
Ranch Hand

Joined: Jul 22, 2003
Posts: 35
Any one has used khalid's test tell me whether they got it worked?
thanks for ur help
Surya B
Ranch Hand

Joined: May 10, 2000
Posts: 98
Hi Deepa,
I downloaded the exam from this link
http://www.ii.uib.no/~khalid/pgjc/jcbook/engine.html.
Maybe as per my guess the download was not proper.Anyway after downloading to your directory go from the command prompt to that directory and say
set classpath=.;%classpath;and then i typed in
java -jar pgjc-engine.jar
It worked on my machine,i am also using jdk 1.2.2.
Try downloading the stuff once again,it might work.

Anonymous
Ranch Hand

Joined: Nov 22, 2008
Posts: 18944

For me, the .jar file didnot work. So, I had to download
the .zip file and that worked with the same command like above...
java -jav ???.zip
Regds.
- satya
Deepa sivasankar
Ranch Hand

Joined: Jul 22, 2003
Posts: 35
Thanks a lot satya and surya.
I downloaded the zip file again and it worked. but jar file didn't work.
Anonymous
Ranch Hand

Joined: Nov 22, 2008
Posts: 18944
Hey,
I just downloaded the jar file and it worked. If it still doesnt work try the command
java -cp pgjc-engine.jar no.rwr.engine.App
Anyway does any one know how to create a jar file such that you can execute by using the java -jar option . I will give my comments later.
Hope this helps
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Khalid Test Not working
 
Similar Threads
khalid's mock test ...
Need help in installing Khalid's mock exam
opinion on sybex mock exams
What are the main advantages of Mughal's book, compared to K&B Book?
problem loading mughal khalid's applet