I've just posted a mock exam that uses a lot (about 300) questions I used to study for the Programmer's Exam. It's on my site (and is completely free) at www.bigsky.nu. It's not web-based. I.e., it's a desktop Java app that you'll have to download and run on your own machine. Visit the site for details. I just put this up, so please if you have any problems, let me know asap. Thanks, Ed
hi, does anyone try this? I tried to use this and it does not work say can not find class javatestapp/StartPage
Mick
Ed Kozek
Greenhorn
Joined: Jul 29, 2000
Posts: 6
posted
0
I've gotten a lot of email from people who get the classdefnotfound error. This is a common problem and usually has to do with class and classpath settings. I've added a troubleshooting section to the bigsky site. The main method is in the StartPage.class file, so that file has successfully unpacked itself (check the directory you put the jar file in), then the problem with with the autoexec.bat settings. Please let me know if you get this working. Thanks, ed
Savithri Devaraj
Ranch Hand
Joined: Jun 26, 2000
Posts: 103
posted
0
Originally posted by Ed Kozek: I've gotten a lot of email from people who get the classdefnotfound error. This is a common problem and usually has to do with class and classpath settings. I've added a troubleshooting section to the bigsky site. The main method is in the StartPage.class file, so that file has successfully unpacked itself (check the directory you put the jar file in), then the problem with with the autoexec.bat settings. Please let me know if you get this working. Thanks, ed
My classpath is fine. I have downloaded jxam and it works fine. I do have the StartPage.class you are talking about, but I still can't get it to work. I still get the NoClassDefFound error. Did anyone get it to work? Savithri [This message has been edited by Savithri Devaraj (edited August 21, 2000).]
Junaid Bhatra
Ranch Hand
Joined: Jun 27, 2000
Posts: 213
posted
0
Yeah I got the app to work. It seems like the files were wrongly packaged in the jar. They should have been packaged in a folder named javatestapp inside the jar file. Ok the way to make it work is: 1)In a folder of your choice (say c:\duke), make a directory called javatestapp. Unzip all the contents of the jar file in this javatestapp folder. 2)Now download the access file (javaexam.mdb) in the c:\duke folder (not in the javatestapp folder). 3)Make sure there is a . in your classpath settings. Now from the c:\duke folder type java javatestapp.StartPage This should invoke the application. Have fun
[This message has been edited by Junaid Bhatra (edited August 21, 2000).]
Ed Kozek
Greenhorn
Joined: Jul 29, 2000
Posts: 6
posted
0
OK, I think I've fixed the problem. It had to do with an unnecessary package statement. If you download the javatest.jar file again and unpack it, then merely enter "java StartPage", it should work. My fingers are crossed. Please let me know if problems remain! Ed
Hi, Should I have Access on my system to run this.( I don't have). I am getting this error. C:\java\bin>java StartPage Exception in thread "main" java.lang.UnsupportedOperationException at sun.jdbc.odbc.JdbcOdbcConnection.createStatement(JdbcOdbcConnection.java:1018) at RecordSet.<init>(StartPage.java:1200) at ParamPanel.getCategoryCount(StartPage.java:202) at ParamPanel.makeCategories(StartPage.java, Compiled Code) at ParamPanel.<init>(StartPage.java, Compiled Code) at StartFrame.<init>(StartPage.java:56) at StartPage.main(StartPage.java:1397) Help will be greatly appreciated. Thx. Aruna
Anonymous
Ranch Hand
Joined: Nov 22, 2008
Posts: 18944
posted
0
hi: the output is same as Aruna. PLS help
hanmeng
Greenhorn
Joined: Aug 16, 2000
Posts: 26
posted
0
Thank you! Ed Kozek
Justin Moore
Greenhorn
Joined: Jun 27, 2000
Posts: 22
posted
0
It's working for me. I've got Access.
sunita singh
Greenhorn
Joined: Aug 03, 2000
Posts: 12
posted
0
I am getting same problem as aru. this application runs only on java1.3 ? I have java1.2.2 and access loaded on my pc. This is just a thought, I am not able to run it b'coz of my java version.
[This message has been edited by sunita singh (edited August 24, 2000).]
Aru
Ranch Hand
Joined: Jul 20, 2000
Posts: 112
posted
0
hello, Do u need to have Access DB ?. Won't it run without it ? Can anyone help ?
Aruna
krishan aggarwal
Greenhorn
Joined: Jul 03, 2007
Posts: 8
posted
0
Hey! I am also getting error same as Aruna. I have MS Access97 in my computer.
Justin Moore
Greenhorn
Joined: Jun 27, 2000
Posts: 22
posted
0
I've got Access 2000.
Netla Reddy
Greenhorn
Joined: Jun 18, 2000
Posts: 15
posted
0
It is working for me
Ed Kozek
Greenhorn
Joined: Jul 29, 2000
Posts: 6
posted
0
As far as I can tell, the UnsupportedOperationException has to do with the driver you are using. The program uses methods that are only supported in jdk1.2+ (like absolute(), first(), etc.). The driver used by the program is the standard JDBC-ODBC bridge. For those having problems, do you have the latest version of the JDK installed? If you do, I don't yet know what the problem is. Anyone out there have any suggestions? thanks, Ed
Aru
Ranch Hand
Joined: Jul 20, 2000
Posts: 112
posted
0
Ed, I have this version java version "1.2.2" Classic VM (build JDK-1.2.2-001, native threads, symcjit) Aruna
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to
run our stuff on 16 servers instead of 3.