Comments (9)
Huh, interesting. It does look like you created a new project in NetBeans and tried to import the code from the Moppy project though. The download from GitHub should already be a valid NetBeans project-- try using NetBeans to just open the downloaded project, rather than creating a new one.
from moppyclassic.
Hey, thanks for responding. I opened the netbeans project and it seems to auto load all of the necessary libraries but now when I run the program i get this error:
Feb 20, 2014 3:42:22 PM java.util.prefs.WindowsPreferences
WARNING: Could not open/create prefs root node Software\JavaSoft\Prefs at root 0x80000002. Windows RegCreateKeyEx(...) returned error code 5.
Qt: Untested Windows version 6.2 detected!
l
netbeans wouldnt let me copy the rest so here is a picture of it:
from moppyclassic.
Are you sure there's not another error in there somewhere? The text you pasted has to do with reading preferences from the registry, but the stacktrace looks like it's trying to load the rxtx assembly. Can you export the log to text somehow to paste it here?
from moppyclassic.
i tried exporting but half of it came out as random characters. I did miss a part of the error code. This is what is in between the text and picture in the last post i made.
the text that extends out is:
projects\Moppy-moppy-advanced\Java\SerialDrivers\rxtx-2.1-7-bins-r2\Windows\ch-rxtx-2.2-20081207-win-x64\rxtxSerial.dll: Can't load AMD 64-bit .dll on a IA 32-bit platform thrown while loading gnu.io.RXTXCommDriver
Exception in thread "AWT-EventQueue-0" java.lang.UnsatisfiedLinkError: C:\Users\Leo\Dropbox\arduino kinect projects\Moppy-moppy-advanced\Java\SerialDrivers\rxtx-2.1-7-bins-r2\Windows\ch-rxtx-2.2-20081207-win-x64\rxtxSerial.dll: Can't load AMD 64-bit .dll on a IA 32-bit platform
maybe it doesnt like my 32bit rxtxcomm files but my java is x86.
EDIT: Okay so here's the fix. Looks like your program will auto load the appropriate bit version of the dll files based off the OS so if you have a x86 java on a x64 system, it errors out. I just replaced the x64 drivers in the folder its erroring out on (Moppy-moppy-advanced\Java\SerialDrivers\rxtx-2.1-7-bins-r2\Windows\ch-rxtx-2.2-20081207-win-x64) with the x32 drivers and it works just fine.
Thank you for the help. Awesome that you provide support after all this time.
from moppyclassic.
Damn I spoke too soon. The GUI loads now but it errors out when trying to connect to the arduino.
from moppyclassic.
Okay, you've made some progress then. I think the issue is probably coming from the version mismatch (you can see the warning about it there in white in your latest screenshot).
Basically, the rxtx.jar file that I included is a newer version than the dll file that you're referencing. You can resolve this by either downloading a newer version of the dll (from rxtx.cloudhopper.net probably), or by using the jar file that came with the dll that you're currently using (from whatever site you got the dll from).
I'd recommend using a newer version of the dll, but either should work.
from moppyclassic.
That link is dead but I was able to find a download and get it all working. Thanks again!
from moppyclassic.
You know, that's funny - I get the same mismatch warning, but don't have any issues. Hmmm....
from moppyclassic.
Glad you got it working!
@jazzbassNick : That is a little unusual, but that's why the warning is just a "warning" and not an "error": it won't necessarily break anything, but you should watch out for it. I'm guessing the issue was related to the fact that he was using Windows 8 (Windows version 6.2 'cus Microsoft is bad a version numbers), and the dll's weren't happy.
from moppyclassic.
Related Issues (20)
- Serial connect issue (libNRJavaSerial.dll) HOT 2
- Utilize headbanging HOT 5
- PinMode(13, OUTPUT) in Arduino code is used twice HOT 1
- To anyone who wants to start using Moppy quick HOT 1
- MIDI Keyboard not working HOT 2
- Scanner Motor / Arduino HOT 3
- Monitor and application, application small. Please Help HOT 1
- What am I doing wrong? HOT 3
- L298N H Bridges, 2 good scanners but no skill HOT 2
- Moppy And Bluetooth HOT 2
- Moppy Crashes when opening port HOT 1
- Using Arduino Leonardo built into Lattepanda HOT 1
- Converting Moppy to stepper motors HOT 1
- Having issues with midi channels HOT 2
- Can't select channels -- Interface issue? HOT 3
- Please Don't Delete Moppy 1.0 (b1e55ad) HOT 2
- MoppyDisk Crashes while connecting HOT 1
- Arduino code crashing MoppyDesk? HOT 1
- when i want to connect to the arduino using moppy the aplication closes HOT 3
- Floppy do not working HOT 19
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from moppyclassic.