DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

+ Reply to Thread
Results 1 to 4 of 4
  1. #1
    Join Date
    Sep 2006
    Posts
    2

    Red face 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...

  2. #2
    Join Date
    Sep 2006
    Posts
    7
    uninstall and install te latest version of java
    Last edited by halo3d; 10-05-2006 at 07:53 PM.

  3. #3
    Join Date
    Sep 2006
    Posts
    68
    Quote 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.

  4. #4
    Join Date
    Sep 2006
    Posts
    2
    Thank u to all
    But before that i can run the same programs without any problems!!

Similar Threads

  1. Program to run at certain time
    By chupacabra in forum VB Classic
    Replies: 5
    Last Post: 06-29-2006, 11:05 AM
  2. .NET vs. Enterprise Java: Who's Got Better Security?
    By Glen Kunene in forum Talk to the Editors
    Replies: 17
    Last Post: 03-23-2002, 12:43 AM
  3. Replies: 0
    Last Post: 11-19-2001, 12:11 AM
  4. Replies: 0
    Last Post: 11-13-2001, 08:07 PM
  5. Can Program run without MS Access
    By Marty in forum VB Classic
    Replies: 2
    Last Post: 04-19-2001, 12:38 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


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


Sponsored Links