Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

how to take the jxam exam

 
JayaSiji Gopal
Ranch Hand
Posts: 303
  • Mark post as helpful
  • send pies
  • 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.
 
Stephan Deve
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
  • 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
 
Jay Pawar
Ranch Hand
Posts: 411
  • Mark post as helpful
  • send pies
  • 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.
 
Suraj Shekar
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
  • 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
  • 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.
 
Muralidhar Mandapati
Greenhorn
Posts: 23
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
make sure that the zip file downloaded is in the classpath.
 
dgjcp kumar
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • 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
  • 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
  • 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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic