View Single Post
  #3   Spotlight this post!  
Unread 15-12-2016, 14:59
Thad House Thad House is offline
Volunteer, WPILib Contributor
no team (Waiting for 2021)
Team Role: Mentor
 
Join Date: Feb 2011
Rookie Year: 2010
Location: Thousand Oaks, California
Posts: 1,068
Thad House has a reputation beyond reputeThad House has a reputation beyond reputeThad House has a reputation beyond reputeThad House has a reputation beyond reputeThad House has a reputation beyond reputeThad House has a reputation beyond reputeThad House has a reputation beyond reputeThad House has a reputation beyond reputeThad House has a reputation beyond reputeThad House has a reputation beyond reputeThad House has a reputation beyond repute
Re: Java compile error

Quote:
Originally Posted by jimfl014 View Post
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.
Reply With Quote