Getting leJOS to work with Java.

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

Moderators: imaqine, 99jonathan, roger

thatc0der
New User
Posts: 1
Joined: Mon May 22, 2017 11:58 am

Getting leJOS to work with Java.

Postby thatc0der » Mon May 22, 2017 12:11 pm

I got everything installed for leJOS on the NXT by the tutorial and I installed this Java 6 for it. Here
https://support.apple.com/kb/DL1572?locale=en_US&viewlocale=en_US I have tried to run a simple program but I keep getting this error.

Code: Select all

Error: This Java instance does not support a 32-bit JVM.
Please install the desired version.
Linking the file failed with exit status 1

How do I fix this?

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

Re: Getting leJOS to work with Java.

Postby gloomyandy » Tue May 23, 2017 7:32 pm

Sorry I don't have a Mac system so can't really help (also I've not worked with leJOS on the NXT for some time), perhaps other users may have more information for you?

I did find this:
http://greatjava.org/2015/01/lejos-ecli ... m-osx-mac/
no idea if it will help or not though as I have no way to try it...
leJOS news https://lejosnews.wordpress.com/


Return to “NXJ Software”

Who is online

Users browsing this forum: No registered users and 1 guest