• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Tim Cooke
  • Liutauras Vilda
  • Jeanne Boyarsky
Sheriffs:
  • Paul Clapham
  • Rob Spoor
  • Junilu Lacar
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Piet Souris
  • Carey Brown
Bartenders:

Khalid Test Not working

 
Ranch Hand
Posts: 35
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
Posts: 35
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Any one has used khalid's test tell me whether they got it worked?
thanks for ur help
 
Ranch Hand
Posts: 98
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.

 
Ranch Hand
Posts: 18944
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

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
Posts: 35
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks a lot satya and surya.
I downloaded the zip file again and it worked. but jar file didn't work.
 
Anonymous
Ranch Hand
Posts: 18944
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic