Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7665603
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T14:36:46+00:00 2026-05-31T14:36:46+00:00

So I am trying to get lejos (the software for lego robots) to work

  • 0

So I am trying to get lejos (the software for lego robots) to work in my eclipse but when i click the lejos nxj item in the eclipse toolbar and select upload firmware I get the following error

Building firmware image.
VM file: C:\Program Files (x86)\leJOS NXJ\bin\lejos_nxt_rom.bin
Menu file: C:\Program Files (x86)\leJOS NXJ\bin\StartUpText.bin
Magic string found at offset 0x40
VM size: 55712 bytes.
Menu size: 44132 bytes.
Total image size 99940/100352 bytes.
Locating device in firmware update mode.
flashing the firmware failed
lejos.pc.comm.NXTCommException: cannot load library C:\Program Files (x86)\leJOS NXJ\lib\pc\native\jfantom.dll
Caused by lejos.util.jni.JNIException: cannot load library C:\Program Files (x86)\leJOS NXJ\lib\pc\native\jfantom.dll
Caused by java.lang.UnsatisfiedLinkError: C:\Program Files (x86)\leJOS NXJ\lib\pc\native\jfantom.dll: Can't find dependent libraries
See Eclipse error log for detailed stack trace.

anybody has an idea whats going on. I check the directory and the file is there…
This is the content of log file from eclipse

!SESSION 2011-09-03 13:11:11.541 -----------------------------------------------
eclipse.buildId=I20110613-1736
java.version=1.6.0_26
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=en_US
Command-line arguments:  -os win32 -ws win32 -arch x86_64

!ENTRY org.eclipse.ui 4 4 2011-09-03 13:23:11.783
!MESSAGE Invalid preference page path: XML Syntax
!SESSION 2011-09-03 13:23:13.777 -----------------------------------------------
eclipse.buildId=I20110613-1736
java.version=1.6.0_26
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=en_US
Command-line arguments:  -os win32 -ws win32 -arch x86_64

!ENTRY org.lejos.nxt.ldt 4 0 2011-09-03 13:29:50.136
!MESSAGE library jfantom.dll (windows/x86_64) was not found in C:\Program Files (x86)\leJOS NXJ\lib\pc\native
!STACK 0
lejos.pc.comm.NXTCommException: library jfantom.dll (windows/x86_64) was not found in C:\Program Files (x86)\leJOS NXJ\lib\pc\native
    at lejos.pc.comm.NXTCommFactory.createNXTComm(NXTCommFactory.java:64)
    at lejos.pc.comm.NXTSamba.search(NXTSamba.java:134)
    at lejos.pc.tools.NXJFlashUpdate.openSambaDevice(NXJFlashUpdate.java:209)
    at lejos.pc.tools.NXJFlash.openDevice(NXJFlash.java:65)
    at lejos.pc.tools.NXJFlash.run(NXJFlash.java:142)
    at lejos.pc.tools.NXJFlash.start(NXJFlash.java:191)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at org.lejos.nxt.ldt.util.LeJOSNXJUtil.invokeTool(LeJOSNXJUtil.java:400)
    at org.lejos.nxt.ldt.actions.UploadFirmwareAction.flashFirmware(UploadFirmwareAction.java:58)
    at org.lejos.nxt.ldt.actions.UploadFirmwareAction.access$0(UploadFirmwareAction.java:44)
    at org.lejos.nxt.ldt.actions.UploadFirmwareAction$1.run(UploadFirmwareAction.java:37)
    at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
Caused by: lejos.util.jni.JNIException: library jfantom.dll (windows/x86_64) was not found in C:\Program Files (x86)\leJOS NXJ\lib\pc\native
    at lejos.util.jni.JNILoader.loadLibrary(JNILoader.java:117)
    at lejos.pc.comm.NXTCommFantom.initialize0(NXTCommFantom.java:89)
    at lejos.pc.comm.NXTCommFantom.initialize(NXTCommFantom.java:96)
    at lejos.pc.comm.NXTCommFactory.newNXTCommInstance(NXTCommFactory.java:92)
    at lejos.pc.comm.NXTCommFactory.createNXTComm(NXTCommFactory.java:62)
    ... 14 more

!ENTRY org.lejos.nxt.ldt 4 0 2011-09-03 13:30:42.966
!MESSAGE library jfantom.dll (windows/x86_64) was not found in C:\Program Files (x86)\leJOS NXJ\lib\pc\native
!STACK 0
lejos.pc.comm.NXTCommException: library jfantom.dll (windows/x86_64) was not found in C:\Program Files (x86)\leJOS NXJ\lib\pc\native
    at lejos.pc.comm.NXTCommFactory.createNXTComm(NXTCommFactory.java:64)
    at lejos.pc.comm.NXTSamba.search(NXTSamba.java:134)
    at lejos.pc.tools.NXJFlashUpdate.openSambaDevice(NXJFlashUpdate.java:209)
    at lejos.pc.tools.NXJFlash.openDevice(NXJFlash.java:65)
    at lejos.pc.tools.NXJFlash.run(NXJFlash.java:142)
    at lejos.pc.tools.NXJFlash.start(NXJFlash.java:191)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at org.lejos.nxt.ldt.util.LeJOSNXJUtil.invokeTool(LeJOSNXJUtil.java:400)
    at org.lejos.nxt.ldt.actions.UploadFirmwareAction.flashFirmware(UploadFirmwareAction.java:58)
    at org.lejos.nxt.ldt.actions.UploadFirmwareAction.access$0(UploadFirmwareAction.java:44)
    at org.lejos.nxt.ldt.actions.UploadFirmwareAction$1.run(UploadFirmwareAction.java:37)
    at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
Caused by: lejos.util.jni.JNIException: library jfantom.dll (windows/x86_64) was not found in C:\Program Files (x86)\leJOS NXJ\lib\pc\native
    at lejos.util.jni.JNILoader.loadLibrary(JNILoader.java:117)
    at lejos.pc.comm.NXTCommFantom.initialize0(NXTCommFantom.java:89)
    at lejos.pc.comm.NXTCommFantom.initialize(NXTCommFantom.java:96)
    at lejos.pc.comm.NXTCommFactory.newNXTCommInstance(NXTCommFactory.java:92)
    at lejos.pc.comm.NXTCommFactory.createNXTComm(NXTCommFactory.java:62)
    ... 14 more

!ENTRY org.lejos.nxt.ldt 4 0 2011-09-03 13:31:04.653
!MESSAGE library jfantom.dll (windows/x86_64) was not found in C:\Program Files (x86)\leJOS NXJ\lib\pc\native
!STACK 0
lejos.pc.comm.NXTCommException: library jfantom.dll (windows/x86_64) was not found in C:\Program Files (x86)\leJOS NXJ\lib\pc\native
    at lejos.pc.comm.NXTCommFactory.createNXTComm(NXTCommFactory.java:64)
    at lejos.pc.comm.NXTSamba.search(NXTSamba.java:134)
    at lejos.pc.tools.NXJFlashUpdate.openSambaDevice(NXJFlashUpdate.java:209)
    at lejos.pc.tools.NXJFlash.openDevice(NXJFlash.java:65)
    at lejos.pc.tools.NXJFlash.run(NXJFlash.java:142)
    at lejos.pc.tools.NXJFlash.start(NXJFlash.java:191)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at org.lejos.nxt.ldt.util.LeJOSNXJUtil.invokeTool(LeJOSNXJUtil.java:400)
    at org.lejos.nxt.ldt.actions.UploadFirmwareAction.flashFirmware(UploadFirmwareAction.java:58)
    at org.lejos.nxt.ldt.actions.UploadFirmwareAction.access$0(UploadFirmwareAction.java:44)
    at org.lejos.nxt.ldt.actions.UploadFirmwareAction$1.run(UploadFirmwareAction.java:37)
    at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
Caused by: lejos.util.jni.JNIException: library jfantom.dll (windows/x86_64) was not found in C:\Program Files (x86)\leJOS NXJ\lib\pc\native
    at lejos.util.jni.JNILoader.loadLibrary(JNILoader.java:117)
    at lejos.pc.comm.NXTCommFantom.initialize0(NXTCommFantom.java:89)
    at lejos.pc.comm.NXTCommFantom.initialize(NXTCommFantom.java:96)
    at lejos.pc.comm.NXTCommFactory.newNXTCommInstance(NXTCommFactory.java:92)
    at lejos.pc.comm.NXTCommFactory.createNXTComm(NXTCommFactory.java:62)
    ... 14 more

!ENTRY org.lejos.nxt.ldt 4 0 2011-09-03 13:37:49.689
!MESSAGE cannot load library C:\Program Files (x86)\leJOS NXJ\lib\pc\native\jfantom.dll
!STACK 0
lejos.pc.comm.NXTCommException: cannot load library C:\Program Files (x86)\leJOS NXJ\lib\pc\native\jfantom.dll
    at lejos.pc.comm.NXTCommFactory.createNXTComm(NXTCommFactory.java:64)
    at lejos.pc.comm.NXTSamba.search(NXTSamba.java:134)
    at lejos.pc.tools.NXJFlashUpdate.openSambaDevice(NXJFlashUpdate.java:209)
    at lejos.pc.tools.NXJFlash.openDevice(NXJFlash.java:65)
    at lejos.pc.tools.NXJFlash.run(NXJFlash.java:142)
    at lejos.pc.tools.NXJFlash.start(NXJFlash.java:191)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at org.lejos.nxt.ldt.util.LeJOSNXJUtil.invokeTool(LeJOSNXJUtil.java:400)
    at org.lejos.nxt.ldt.actions.UploadFirmwareAction.flashFirmware(UploadFirmwareAction.java:58)
    at org.lejos.nxt.ldt.actions.UploadFirmwareAction.access$0(UploadFirmwareAction.java:44)
    at org.lejos.nxt.ldt.actions.UploadFirmwareAction$1.run(UploadFirmwareAction.java:37)
    at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
Caused by: lejos.util.jni.JNIException: cannot load library C:\Program Files (x86)\leJOS NXJ\lib\pc\native\jfantom.dll
    at lejos.util.jni.JNILoader.loadLibrary(JNILoader.java:112)
    at lejos.pc.comm.NXTCommFantom.initialize0(NXTCommFantom.java:89)
    at lejos.pc.comm.NXTCommFantom.initialize(NXTCommFantom.java:96)
    at lejos.pc.comm.NXTCommFactory.newNXTCommInstance(NXTCommFactory.java:92)
    at lejos.pc.comm.NXTCommFactory.createNXTComm(NXTCommFactory.java:62)
    ... 14 more
Caused by: java.lang.UnsatisfiedLinkError: C:\Program Files (x86)\leJOS NXJ\lib\pc\native\jfantom.dll: Can't find dependent libraries
    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 lejos.util.jni.JNILoader.loadLibrary(JNILoader.java:103)
    ... 18 more
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-31T14:36:48+00:00Added an answer on May 31, 2026 at 2:36 pm
    • Did you install the leJOS software suite?
    • Did it install fully?
    • Did you point eclipse to the correct 32bit JDK/JRE?
    • Did you install the phantom driver?

    Is NXJ_HOME in eclipse/window/preferences/leJOS NXJ pointing to the correct dir for leJOS?

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Trying to get an ASP application deployed; it worked for a while but then
Trying to get this to work, with no luck: [DataMember] public Type ParameterType {
Trying to get a JSON output to work with jqGrid 'userdata' option. The example
Hi am trying get GPS using network provider and GPS provider. but am getting
I'm trying get only the Saturdays and Sundays between two dates, but I don't
Hello everyone I been trying get php uploader working but having a lot of
I've been at this for 12+ exhausting hours trying get it to work on
Trying to get these list headings to line up correctly, but I can't figure
I'm trying get LocalConnection to work between two swf's placed within two different IFRAMES.
I m trying get Best Seller option in select box at Category product listing.

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.