Closed JCRoach closed 11 years ago
INFO: Output created: RAINBOWDUINO_V3, Layout: HORIZONTAL, BPP: 8
this is the last line you see in the log file and then it freeze`?
That is the last line in the log file but there is more in the terminal window.
Exception in thread "Animation Thread" java.lang.UnsupportedClassVersionError: de/programmerspain/rv3sf/api/RainbowduinoV3 : Unsupported major.minor version 51.0
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClassCond(ClassLoader.java:631)
at java.lang.ClassLoader.defineClass(ClassLoader.java:615)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:283)
at java.net.URLClassLoader.access$000(URLClassLoader.java:58)
at java.net.URLClassLoader$1.run(URLClassLoader.java:197)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
at com.neophob.sematrix.output.RainbowduinoV3Device.
I guess you're still using Java 1.5 (JRE 1.5.xx) - update your JRE to v1.6 or 1.7 and it will work!
cheers
Jesses-MacBook-Pro:applications cav2295$ java -version java version "1.6.0_37" Java(TM) SE Runtime Environment (build 1.6.0_37-b06-434-11M3909) Java HotSpot(TM) 64-Bit Server VM (build 20.12-b01-434, mixed mode)
Downloaded latest build and still hangs
-> java -version java version "1.6.0_37" Java(TM) SE Runtime Environment (build 1.6.0_37-b06-434-11M3909) Java HotSpot(TM) 64-Bit Server VM (build 20.12-b01-434, mixed mode)
strange, looks like we use the same java version on osx. when you say hangs, you mean the same output as above:
Exception in thread "Animation Thread" java.lang.UnsupportedClassVersionError: de/programmerspain/rv3sf/api/RainbowduinoV3 : Unsupported major.minor version 51.0
?
Yeah, maybe its something in my config.properties file. PixelController will run with the null output selected but, when I try to change to the rainbowduinoV3 it gives me that exception. Here is my config.
initial.image.simple=logo.gif initial.blinken=torus.bml initial.text=PIXELINVADERS
font.filename=04B_03__.TTF font.size=82
screen.capture.offset=100 screen.capture.window.size.x=0
screen.capture.window.size.y=300
net.listening.port=3448 net.listening.addr=127.0.0.1 net.send.port=3449
osc.listening.port=9876
fps=20
show.debug.window=true maximal.debug.window.xsize=800
additional.visual.screens=0
led.pixel.size=30
startup.in.randommode=false
update.generators.by.sound=true
#
layout.row1.serial.devices=/dev/tty.usbserial-A100N00B layout.row2.serial.devices=/dev/tty.usbserial-A100N00B
Got It!!! Changed to the netbeans sdk of java and everything runs. Thanks
Hey JCRoach
I updated the rainbowduino library which was compiled with jdk v1.7. this issue should be fixed with the latest beta release you can get here: https://github.com/downloads/neophob/PixelController/PixelController-1.3-beta11.zip
hope that helps!
cheers michu
I've been trying to get this running for a few days now and can't figure out why. Com port is setup as /dev/tty.usbserial-A100N00B as that is the port for my rainbowduino. I run the API and it freezes. If I change back to the null output it starts up fine. Any help would be greatly appreciated. Here is the Log file. Nov 14, 2012 2:16:39 PM com.neophob.PixelController setup INFO:
PixelController v1.3-SNAPSHOT - http://www.pixelinvaders.ch
Nov 14, 2012 2:16:39 PM com.neophob.PixelController setup INFO: Nov 14, 2012 2:16:39 PM com.neophob.PixelController setup INFO: ----------------------------------- Nov 14, 2012 2:16:39 PM com.neophob.PixelController setup INFO: --- PixelController Setup START --- Nov 14, 2012 2:16:39 PM com.neophob.PixelController getApplicationConfiguration INFO: Config loaded, 20 entries Nov 14, 2012 2:16:39 PM com.neophob.sematrix.properties.ApplicationConfigurationHelper
INFO: found RainbowduinoV3 device: 1
Nov 14, 2012 2:16:39 PM com.neophob.PixelController getColorPalettes
INFO: ColorSets loaded, 26 entries
Nov 14, 2012 2:16:39 PM com.neophob.sematrix.input.SoundMinim run
INFO: Sound thread started...
Nov 14, 2012 2:16:39 PM com.neophob.sematrix.glue.MatrixData
INFO: screenSize: 64 (8 * 8),
Nov 14, 2012 2:16:39 PM com.neophob.sematrix.generator.Generator
INFO: Generator: internalBufferSize: 4,096 name: BLINKENLIGHTS
Nov 14, 2012 2:16:39 PM processing.lib.blinken.BlinkenLibrary
INFO: blinkenlights v0.63
Nov 14, 2012 2:16:40 PM processing.lib.blinken.BlinkenLibrary loadFile
INFO: Loaded file blinken/torus.bml, contains 250 frames
Nov 14, 2012 2:16:40 PM com.neophob.sematrix.generator.Generator
INFO: Generator: internalBufferSize: 4,096 name: IMAGE
Nov 14, 2012 2:16:40 PM com.neophob.sematrix.generator.Image loadFile
INFO: resize to img logo.gif 64, 64
Nov 14, 2012 2:16:40 PM com.neophob.sematrix.generator.Generator
INFO: Generator: internalBufferSize: 4,096 name: PLASMA
Nov 14, 2012 2:16:40 PM com.neophob.sematrix.generator.Generator
INFO: Generator: internalBufferSize: 4,096 name: PLASMA_ADVANCED
Nov 14, 2012 2:16:40 PM com.neophob.sematrix.generator.Generator
INFO: Generator: internalBufferSize: 4,096 name: FIRE
Nov 14, 2012 2:16:40 PM com.neophob.sematrix.generator.Generator
INFO: Generator: internalBufferSize: 4,096 name: PASSTHRU
Nov 14, 2012 2:16:40 PM com.neophob.sematrix.generator.Generator
INFO: Generator: internalBufferSize: 4,096 name: METABALLS
Nov 14, 2012 2:16:40 PM com.neophob.sematrix.generator.Generator
INFO: Generator: internalBufferSize: 4,096 name: PIXELIMAGE
Nov 14, 2012 2:16:40 PM com.neophob.sematrix.generator.Generator
INFO: Generator: internalBufferSize: 4,096 name: TEXTWRITER
Nov 14, 2012 2:16:40 PM com.neophob.sematrix.generator.Textwriter
INFO: Loaded font 04B_03__.TTF, size: 82
Nov 14, 2012 2:16:40 PM com.neophob.sematrix.generator.Generator
INFO: Generator: internalBufferSize: 4,096 name: CELL
Nov 14, 2012 2:16:40 PM com.neophob.sematrix.generator.Generator
INFO: Generator: internalBufferSize: 4,096 name: FFT
Nov 14, 2012 2:16:40 PM com.neophob.sematrix.generator.Generator
INFO: Generator: internalBufferSize: 4,096 name: DROPS
Nov 14, 2012 2:16:40 PM com.neophob.sematrix.generator.Generator
INFO: Generator: internalBufferSize: 4,096 name: COLOR_SCROLL
Nov 14, 2012 2:16:40 PM com.neophob.sematrix.generator.Generator
INFO: Generator: internalBufferSize: 4,096 name: COLOR_FADE
Nov 14, 2012 2:16:40 PM com.neophob.sematrix.properties.ApplicationConfigurationHelper loadPresents
INFO: Loaded 30 presents from file data/presents.led
Nov 14, 2012 2:16:40 PM com.neophob.sematrix.listener.TcpServer
INFO: Server started at port 3,448
Nov 14, 2012 2:16:40 PM com.neophob.sematrix.listener.TcpServer run
INFO: Ready receiving messages...
Nov 14, 2012 2:16:40 PM com.neophob.sematrix.listener.TcpServer connectToClient
INFO: Pure Data Client not found at 127.0.0.1:3449
Nov 14, 2012 2:16:40 PM com.neophob.sematrix.listener.TcpServer
INFO: Pure Data Client not available yet!
Nov 14, 2012 2:16:40 PM com.neophob.sematrix.listener.OscServer
INFO: Start OSC Server at port 9,876
Nov 14, 2012 2:16:41 PM com.neophob.sematrix.jmx.PixelControllerStatus
INFO: Initialize the PixelControllerStatus JMX Bean
Nov 14, 2012 2:16:41 PM com.neophob.sematrix.layout.Layout
INFO: Layout created: HORIZONTAL, size row 1: 1, row 2: 0
Nov 14, 2012 2:16:41 PM com.neophob.sematrix.output.Output
INFO: Output created: RAINBOWDUINO_V3, Layout: HORIZONTAL, BPP: 8