• 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
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

how to take the jxam exam

 
Ranch Hand
Posts: 303
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
i downloaded the jxam.zip file from the javaranch mock exam list. however, i am unable to understand how to run the exam. there is no bat file available. could someone please help me.

also, we have a number of exam simulators, which use applets. i find that none of these exams get downloaded on my machine. could someone plz help
i have j2sdk1.4_2 installed on my machine.
 
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello,

you can write the batchfile yourself, or start it directly in the console.

set PATH=C:\Programme\jdk1.4\bin;%PATH%
java Jxam

In the first Line you set the Path to your java jdk (That could be another path, than i have.)
In the second Line you start Jxam.

Another way is to set the Jmax directory in the the path in your system path.

Sorry, this is only the way it works with windows. Anybody else should exlain it for Linux-Systems.

greetings Stephan
 
Ranch Hand
Posts: 411
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
1> Rename the JXam.zip file to JXam.jar file
2> Got to command line and then do java -jar JXam.jar

That should work.
 
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,
Would you please tell me the URL to download the jxam.zip file?

Regards
Suraj
 
JayaSiji Gopal
Ranch Hand
Posts: 303
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi!

I tried using both the options -
the first one of trying to create a bat file gave me the following error.
C:\Jayashree\SCJP>java Jxam
Exception in thread "main" java.lang.NoClassDefFoundError: Jxam
Jxam.class is there inside the zip file.

In the second option, i created a jar file, but when I tried to run the file from the command line, it gave me the option as

C:\Jayashree\SCJP>java -jar Jxam.jar
Failed to load Main-Class manifest attribute from
Jxam.jar

Please help.
 
Greenhorn
Posts: 23
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
make sure that the zip file downloaded is in the classpath.
 
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
can u please tell me the URL for this jxam

Rgds
 
JayaSiji Gopal
Ranch Hand
Posts: 303
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Yes, it worked, thank u.

meanwhile, the url to download it is

http://www.javaranch.com/maha/_Mock_Exams/Jxam.zip
 
dgjcp kumar
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
i made jar of Jxam through JBuilder
and then i run that through batch file
it gave me
Number Of Question 0

what is it
am i doing something wrong
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic