This Java instance does not support a 32-bit JVM. Please ins

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

Moderators: roger, imaqine, 99jonathan

jashtiani
New User
Posts: 3
Joined: Mon Mar 04, 2013 12:48 am

This Java instance does not support a 32-bit JVM. Please ins

Postby jashtiani » Mon Mar 04, 2013 12:53 am

Hi, I am very new to installing this LEJOS on a mac and I don't know where to go from here. I have MAC OSX 10.8, and I have been following this tutorial http://blog.electricbricks.com/en/2010/07/lejos-installation-mac-os-x/. I got to step 4, and I typed in the following nxjbrowse -u. After this happens, I get the following message in terminal:

This Java instance does not support a 32-bit JVM.
Please install the desired version.

What do I do from here?

Thank you for your help!

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

Re: This Java instance does not support a 32-bit JVM. Please

Postby skoehler » Mon Mar 04, 2013 10:18 am

Please google on how to install Apple's Java 6 on OS X. This is the last version of Java, that support 32 Bit on Mac. Sorry for the inconvenience. There are also several others threads on this subject in this forum.

jashtiani
New User
Posts: 3
Joined: Mon Mar 04, 2013 12:48 am

Re: This Java instance does not support a 32-bit JVM. Please

Postby jashtiani » Sat Mar 09, 2013 11:28 pm

Hi, yes, I reinstalled the JDK Version 6 for mac, but it is still giving me the same notice. Can you help?

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

Re: This Java instance does not support a 32-bit JVM. Please

Postby skoehler » Sat Mar 09, 2013 11:31 pm

jashtiani wrote:Hi, yes, I reinstalled the JDK Version 6 for mac, but it is still giving me the same notice. Can you help?

So what are the environment variables LEJOS_NXT_JAVA_HOME and JAVA_HOME set to?
If they are not set to the root of the Java 6 JDK, then you will probably use Java 7 instead of Java 6.

jashtiani
New User
Posts: 3
Joined: Mon Mar 04, 2013 12:48 am

Re: This Java instance does not support a 32-bit JVM. Please

Postby jashtiani » Sat Mar 09, 2013 11:32 pm

Can you explain how to get to the environmental variables and set them?

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

Re: This Java instance does not support a 32-bit JVM. Please

Postby skoehler » Sat Mar 09, 2013 11:37 pm

jashtiani wrote:Can you explain how to get to the environmental variables and set them?

Sure, we have a tutorial that convers this:
http://lejos.sourceforge.net/nxt/nxj/tu ... Mac.htm#10

You determine their current values with the printenv command. Or by echoing them like this:
echo $LEJOS_NXT_JAVA_HOME


Return to “NXJ Software”

Who is online

Users browsing this forum: Yahoo [Bot] and 1 guest