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 & HelpOther Libraries › problem with interfascia
Page Index Toggle Pages: 1
problem with interfascia (Read 979 times)
problem with interfascia
Nov 10th, 2006, 4:48pm
 
Hello,
I ve downloaded the interfascia library and when i do a test with this code for example :

import interfascia.*;

GUIController c;
IFRadioController rc;

IFRadioButton b1, b2, b3;

void setup() {
 size(200, 100);
 background(150);
 
 c = new GUIController(this);
 rc = new IFRadioController("Mode Selector");
 
 b1 = new IFRadioButton("Reality Distortion Field", 20, 20, rc);
 b2 = new IFRadioButton("Infinite Improbability Drive", 20, 40, rc);
 b3 = new IFRadioButton("Bistromathic Drive", 20, 60, rc);
 
 c.add(b1);
 c.add(b2);
 c.add(b3);
}

void draw() {
}


processing says :

Exception in thread "main" java.lang.UnsupportedClassVersionError: interfascia/GUIComponent (Unsupported major.minor version 49.0)

at java.lang.ClassLoader.defineClass0(Native Method)


how can i resolve the problem ?

For information, i uses Debian (Linux OS)  and J2RE 1.4.2_X for Java

Best regards

Jimmy
Nota Bene : i'm a newbie in processing
Re: problem with interfascia
Reply #1 - Dec 5th, 2006, 1:04am
 
Hmm... looks like I may have compiled with a newer version of Java. I may have accidentally used Java 1.5. Let me check and get back to you.

Brendan
Re: problem with interfascia
Reply #2 - Dec 31st, 2006, 9:27pm
 
I'm having the same problem on Windows. I tried with Processing versions 118 and 123.
Re: problem with interfascia
Reply #3 - Jan 7th, 2007, 8:28pm
 
I wanted to wait until I had a new update ready to recompile a new version, but I don't see myself getting that update done for at least a month. Therefore, I've recompiled version 003 and posted it on the Interfascia download page.

Hope it works! Let me know if there are problems.
Page Index Toggle Pages: 1