RemoteNXT - PC to NXT problems

This is where you talk about the NXJ software itself, installation issues, and programming talk.

Moderators: roger, imaqine, 99jonathan

New User
Posts: 1
Joined: Fri Sep 10, 2010 9:08 am

RemoteNXT - PC to NXT problems

Postby denitz666 » Wed Sep 15, 2010 9:31 pm

Hello there,

I wanted to make shure that I dont't bang my head against a digital wall by using this coding approach. So, I wanted to ask you guys for opinion.

I wrote a simple NXT remote controll, that is executed on a pc and communicates via bluetooth with the NXT.
I need direct access to the NXTs Motors, so I wanted to use the LCP approach.

this is the methode that seems to be producing an exception:

Code: Select all

    private void connect() {

        try {
            remoteNxt = new RemoteNXT("00:16:53:00:BE:3A", Bluetooth.getConnector());
        } catch (IOException ex) {
            System.out.println("no connection established");
        System.out.println("connection successful");
        System.out.println("#test# remote brick name: " + remoteNxt.getBrickName());

and here is the exceptions stacktrace:

Code: Select all

Exception in thread "main" java.lang.UnsatisfiedLinkError: lejos.nxt.NXT.getUserPages()I
        at lejos.nxt.NXT.getUserPages(Native Method)
        at lejos.nxt.Flash.<clinit>(
        at lejos.nxt.SystemSettings.<clinit>(
        at lejos.nxt.comm.NXTCommDevice.loadSettings(
        at lejos.nxt.comm.NXTCommDevice.<clinit>(
        at bluemote.comm.RemoteControllServerPlus.connect(

Any suggestions to why this fails? Or is there a problem with my approach?



User avatar
leJOS Team Member
Posts: 4321
Joined: Fri Sep 28, 2007 2:06 pm
Location: UK

Postby gloomyandy » Wed Sep 15, 2010 10:14 pm

Looks like you are using the lejos classes.jar in a program that runs on the PC. You should only use this for NXT based programs.


New User
Posts: 2
Joined: Fri Jun 01, 2012 7:47 pm

Re: RemoteNXT - PC to NXT problems

Postby monroe » Mon Jun 04, 2012 8:00 pm

Are there any classes in the PC-side API that have functionality similar to RemoteNXT?

leJOS Team Member
Posts: 1460
Joined: Thu Oct 30, 2008 4:54 pm

Re: RemoteNXT - PC to NXT problems

Postby skoehler » Mon Jun 04, 2012 9:00 pm

pccomm.jar - or simply create a leJOS PC project with the new leJOS Eclipse plug-in.

New User
Posts: 20
Joined: Thu Mar 22, 2012 11:44 am

Re: RemoteNXT - PC to NXT problems

Postby matthias » Wed Jun 06, 2012 6:16 am

No, there is no class on the PC-side, that does exactly what RemoteNXT does.

But you can atleast use the RemoteMotor class.

(in a previous version there was some hack like NXT.setSingleton(), that enables you to use Motor.A, Motor.B like you are used to, but i was not able to do that in lejos 0.9)

Return to “NXJ Software”

Who is online

Users browsing this forum: Yahoo [Bot] and 0 guests