Comment: Automatic failure. When I started your app in non-networked mode, it crashed with this trace:
Exception in thread "main" java.lang.UnsupportedClassVersionError: Bad version number in .class file at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java:620) at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:12 4) at java.net.URLClassLoader.defineClass(URLClassLoader.java:260) at java.net.URLClassLoader.access$100(URLClassLoader.java:56) at java.net.URLClassLoader$1.run(URLClassLoader.java:195) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:188) at java.lang.ClassLoader.loadClass(ClassLoader.java:306) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:268) at java.lang.ClassLoader.loadClass(ClassLoader.java:251) at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
SCJP<br />SCJD
SCJP<br />SCJD<br />SCWCD
SCJA, SCJP (1.4), SCJD
SCJP<br />SCJD
SCJP<br />SCJD
SCJP, SCWCD, SCBCD, SCJD, BB Java2 and JSP1.1
Mark,
I will have the grader look at this again. Thanks for your patience.
Sun Certification
who2contact@sun.com
SCJP<br />SCJD
Originally posted by Mark Smyth:
After four weeks of waiting I have recieved the dreaded Automatic failure. I must admit that I am sickened beyond words.
...
Mark
Enthuware - Best Mock Exams and Questions for Oracle Java Certifications
Quality Guaranteed - Pass or Full Refund!
>Hi,
>My name is Mark Smyth and my prometric testing ID is srxxxxxxx. My contact email address
>is xxxxxxxxxxx
>
>I have recently taken the Sun Certified Java Developer exam, I uploaded the project on the 15th of december and I took the written exam on the 3rd of January this year in Dublin, Ireland.
>
>After four weeks of waiting I finally got my results however I was dismayed to learn that my result was recorded as an automatic failure. The message given in the details page as the reason for this failure was the following.
>
>
> ***************************************************************************************
> Customer: Mark Smyth
> Testing ID: xxxxxxx
> Test: Sun Certified Developer for the Java 2 Platform (310-027)
> Date Taken: 2007-01-27 11:44:52.187
>
> Comment: Automatic failure. When I started your app in non-networked mode,
> it crashed with this trace:
>
> Exception in thread "main" java.lang.UnsupportedClassVersionError:
> Bad version number in .class file at java.lang.ClassLoader.defineClass1(Native Method)
> at java.lang.ClassLoader.defineClass(ClassLoader.java:620)
> at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:12 4)
> at java.net.URLClassLoader.defineClass(URLClassLoader.java:260)
> at java.net.URLClassLoader.access$100(URLClassLoader.java:56)
> at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
> at java.security.AccessController.doPrivileged(Native Method)
> at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
> at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:268)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
> at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
> If you need to resubmit your assignment, return to the test history screen,
> press the 'Assignments' button, and follow the instructions.
>
> *****************************************************************************************
>
>It is clear to me that the cause of this error is that the assignment grader attempted to run the program using the Java 5 runtime environment, even though the version.txt file in
>the root of the submission jar clearly states that the assignment was compiled on and submitted for the Java 6 runtime environment which was released
>on the 11th of December 2006 which was a full 4 days before my submission was uploaded.
>
>I have managed to recreate this error the tester encountered by attempting to run my submitted application jar file using the jre 1.5.0_08. The text of the commands which I ran to replicate this error are detailed in the section below.
>
>
> *****************************************************************************************
> D:\temp>java -version
> java version "1.5.0_08"
> Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_08-b03)
> Java HotSpot(TM) Client VM (build 1.5.0_08-b03, mixed mode)
>
> D:\temp>java -jar runme.jar alone
> Exception in thread "main" java.lang.UnsupportedClassVersionError:
> Bad version number in .class file at java.lang.ClassLoader.defineClass1(Native Method)
> at java.lang.ClassLoader.defineClass(ClassLoader.java:620)
> at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
> at java.net.URLClassLoader.defineClass(URLClassLoader.java:260)
> at java.net.URLClassLoader.access$100(URLClassLoader.java:56)
> at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
> at java.security.AccessController.doPrivileged(Native Method)
> at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
> at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:268)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
> at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
>
> *****************************************************************************************
>
>The following excerpts are from the version.txt file in the submission jar root and the
>MANIFEST.MF file in the META-INF directory that I uploaded (scjda-sr1567740.jar).
>
>These excerpts clearly show that the target JRE was Java 6 not Java 5.
>
> Version.txt (that clearly shows version 6 of the JDK that I supplied the project for)
> -----------------------------------------------------------------------------------------
> JDK Version: 1.6.0
> Host Platform: Windows 2000 Service Pack 4.
> -----------------------------------------------------------------------------------------
>
> META-INF/MANIFEST.MF (that clearly show that JDK 6 was used to compile the application)
> -----------------------------------------------------------------------------------------
> Manifest-Version: 1.0
> Ant-Version: Apache Ant 1.6.5
> Created-By: 1.6.0-b105 (Sun Microsystems Inc.)
> -----------------------------------------------------------------------------------------
>
>My assignment instructions clearly state the following:
>
>
> "You may develop your code using any implementation of the Java 2 platform, but the submission that you return must have been tested and shown to work under a production (not development) version of the Sun Microsystems' Java 2 platform and that platform must not have been superseded by a new production version for more than 18 months by the time you make your submission."
>
>
>Going by this instruction and following the release of the production version of the Java 6 platform I believe I was entitled to submit the project for either the Java version 5 or Java version 6 platform.
>
>Needless to say having put so much time and effort in order to complete the SCJD assignment and having spent hundreds of euros on exam vouchers I am most disappointed that such a basic error has been made in the marking of my project. I would be most grateful if anyone could assist me in in correcting this error and getting the assignment regraded on the correct JDK.
>
>Regards,
>
>Mark Smyth.
>
SCJP<br />SCJD
Ask a Meaningful Question and HowToAskQuestionsOnJavaRanch
Getting someone to think and try something out is much more useful than just telling them the answer.
Testing Center Id: gb95
Exam Series #: 310-027
Exam Name: (310-027) Sun Certified Developer for the Java 2 Platform (310-027)
Exam Date: 12/12/06
Grade: Passed
Event Date/Time: Jan 23, 2007 8:04:32 PM
Event History:
Certified in Sun Certified Developer for the Java 2 Platform on Dec 12, 2006
Posted Date/Time: Jan 24, 2007 11:05:08 AM
Description: Fulfillment request #1234567 for Developer for the Java 2 Platform Kit; status: Mailed
SCJP<br />SCJD
Originally posted by Maciej Miklas:
Hi,
What do they think? That you will leave the whole thing? That you will give up? Or maybe, that you do not know what the exception means?
Really nice�
SCJP<br />SCJD
SCJP<br />SCJD
SCJP, SCJD,SCWCD,SCDJWS,SCEA 5 MCP-C#, MCP-ASP.NET - http://www.khaledinho.com/
Life is the biggest school
The man who makes no mistakes does not usually make anything<br /> <br />>>> SCJP 5.0 >> SCJD B&S <<< In progress
SCJP, SCJD,SCWCD,SCDJWS,SCEA 5 MCP-C#, MCP-ASP.NET - http://www.khaledinho.com/
Life is the biggest school
Originally posted by Khaled Mahmoud:
For me If was allowed to do the assignment in C++ I would have chosen
C++.
The man who makes no mistakes does not usually make anything<br /> <br />>>> SCJP 5.0 >> SCJD B&S <<< In progress
Originally posted by Jaro Prospal:
You can use java 6.0. It is production version now.
The man who makes no mistakes does not usually make anything<br /> <br />>>> SCJP 5.0 >> SCJD B&S <<< In progress
Originally posted by Khaled Mahmoud:
For me If was allowed to do the assignment in C++ I would have chosen
C++.
SCJP, SCJD,SCWCD,SCDJWS,SCEA 5 MCP-C#, MCP-ASP.NET - http://www.khaledinho.com/
Life is the biggest school
When is java5.0 no more allowed for the assignment?
thanks
Arno[/QB]
SCJA, SCJP (1.4), SCJD
Originally posted by Brian Kelly:
You can use any J2SE version.
SCJP 1.4, SCJD, OCE EJBD 6
Originally posted by Romeo Son:
Hi all,Brian, in this case I would mention 1.4 platform in version.txt, right?
SCJA, SCJP (1.4), SCJD
I think Brian is right.
"You may develop your code using any implementation of the Java 2 platform" means that you can develop for example with 1.4 platform (as Brian said) and before submitting you need to test that your application runs on 5.0 or 6.0 platform.
SCJP, SCJD,SCWCD,SCDJWS,SCEA 5 MCP-C#, MCP-ASP.NET - http://www.khaledinho.com/
Life is the biggest school
Originally posted by Khaled Mahmoud:
Any new news about your grade??? Did $un reply to you lately??
SCJP<br />SCJD
SCJP, SCJD,SCWCD,SCDJWS,SCEA 5 MCP-C#, MCP-ASP.NET - http://www.khaledinho.com/
Life is the biggest school
Originally posted by Maurizio Nagni:
Khaled! great skill! i am totally agreeding with you! Mark! pick up the email and write...write...write! Do pressure for an anwser!
..... i hope that my close-to-come submission will be not so problematic![]()
SCJP<br />SCJD
Consider Paul's rocket mass heater. |