-
I can not run any java program!!
Hello all...
I am using jGrasp as my editor...and it was work OK...
BUT Now when i try to run any program this messages displayed:
java.lang.UnsupportedClassVersionError: Test (Unsupported major.minor version 49.0)
at java.lang.ClassLoader.defineClass0(Native Method)
at java.lang.ClassLoader.defineClass(Unknown Source)
at java.security.SecureClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.access$100(Unknown Source)
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClassInternal(Unknown Source)
Exception in thread "main"
----jGRASP wedge2: exit code for process is 1.
----jGRASP: operation complete.
PLEASE help me...
-
uninstall and install te latest version of java
Last edited by halo3d; 10-05-2006 at 07:53 PM.
-
 Originally Posted by halo3d
uninstall and reinstall java
No. It does not solve your problem. You get this exception because you are running a java application which compliled with newest java vestion. For example, you have JSDK 1.3 but jars were created with aid of JSDK 1.5.
So you shoud upgrade your JSDK.
-
Thank u to all
But before that i can run the same programs without any problems!!
Similar Threads
-
By chupacabra in forum VB Classic
Replies: 5
Last Post: 06-29-2006, 11:05 AM
-
By Glen Kunene in forum Talk to the Editors
Replies: 17
Last Post: 03-23-2002, 12:43 AM
-
By Kyle Gabhart in forum Java
Replies: 0
Last Post: 11-19-2001, 12:11 AM
-
By Steven Anderson in forum Java
Replies: 0
Last Post: 11-13-2001, 08:07 PM
-
By Marty in forum VB Classic
Replies: 2
Last Post: 04-19-2001, 12:38 AM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
Forum Rules
|
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL
|
Bookmarks