|
Re: Java compile error
Quote:
Originally Posted by jimfl014
We are moving to Java this year from Labview. Using last year's robot we are trying to code it using Java. On two separate laptops we get the same error when trying to run: PCs are both 64 bit running Windows 10
Exception in thread "main" java.lang.UnsatisfiedLinkError: C:\Users\HammerHeads\AppData\Local\Temp\libwpilibJ avaJNI8681530594205079588.so: Can't load this .dll (machine code=0x34) on a AMD 64-bit platform
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary0(Unknown Source)
at java.lang.ClassLoader.loadLibrary(Unknown Source)
at java.lang.Runtime.load0(Unknown Source)
at java.lang.System.load(Unknown Source)
at edu.wpi.first.wpilibj.hal.JNIWrapper.<clinit>(JNIW rapper.java:47)
at edu.wpi.first.wpilibj.RobotBase.initializeHardware Configuration(RobotBase.java:170)
at edu.wpi.first.wpilibj.RobotBase.main(RobotBase.jav a:182)
|
That looks like you are trying to run the code on your development computer. That doesn't work, and is not currently supported. Follow the instructions at the link below on how to properly get the program to deploy to your robot.
http://wpilib.screenstepslive.com/s/...to-the-roborio
__________________
All statements made are my own and not the feelings of any of my affiliated teams.
Teams 1510 and 2898 - Student 2010-2012
Team 4488 - Mentor 2013-2016
Co-developer of RobotDotNet, a .NET port of the WPILib.
|