We closed this forum 18 June 2010. It has served us well since 2005 as the ALPHA forum did before it from 2002 to 2005. New discussions are ongoing at the new URL http://forum.processing.org. You'll need to sign up and get a new user account. We're sorry about that inconvenience, but we think it's better in the long run. The content on this forum will remain online.
IndexProgramming Questions & HelpIntegration › UnsupportedClassVersionError
Page Index Toggle Pages: 1
UnsupportedClassVersionError (Read 1211 times)
UnsupportedClassVersionError
Feb 25th, 2006, 12:29am
 
I've been trying to get this jd2xx library to work http://bleyer.org/jd2xx/ by including the jar and dll files into my code folder but every time I try to create a JD2XX object with this code:

void setup(){
 JD2XX jd = new JD2XX();
}

void loop(){
}

I get this error:

java.lang.UnsupportedClassVersionError: jd2xx/JD2XX (Unsupported major.minor version 49.0)
at java.lang.ClassLoader.defineClass0(Native Method)

I can't figure out what the hell this error means. Can anyone offer some help or insight as to what this error is and how I might go about fixing it?

Thanks so much!
Re: UnsupportedClassVersionError
Reply #1 - Feb 25th, 2006, 11:11am
 
Have you included the "import" lines?

Code:
import jd2xx.JD2XX;
import jd2xx.JD2XXInputStream;
import jd2xx.JD2XXOutputStream;
Re: UnsupportedClassVersionError
Reply #2 - Feb 25th, 2006, 4:44pm
 
that probably means that those classes were compiled using the java 1.5 version of javac, which is not compatible with processing.
Page Index Toggle Pages: 1