Error: Unsupported ldc_w in LCDUI:startApp.

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

Moderators: 99jonathan, roger, imaqine

Error: Unsupported ldc_w in LCDUI:startApp.

Postby zimingw » Tue Oct 09, 2007 2:33 pm

Hi All,

I have to say the new LCDUI implementation in 0.4 are great! I have tried them individually. Big thanks to Andre Nijholt!

But when I tried to nxj LCDUI sample, I got this error. I managed to make it happy again by dividing big methods into smaller ones, but still don't get the hanger of it. Anybody understand and can explain this problem please?

Hi Andre, hope you can see this post... :wink:
zimingw
New User
 
Posts: 11
Joined: Mon Jul 02, 2007 8:33 am

What error did you received?

Postby esmetaman » Tue Oct 09, 2007 8:10 pm

What error did you received?

I have used that example and I didnt have any error. see my example NXT comm. I used new library.

Un abrazo
Juan Antonio Breña Moral
http://www.juanantonio.info/lejos-ebook/
http://www.iloveneutrinos.com/
User avatar
esmetaman
Advanced Member
 
Posts: 290
Joined: Wed Sep 13, 2006 12:16 am
Location: Madrid, Spain

Postby zimingw » Tue Oct 09, 2007 8:38 pm

Error: Unsupported ldc_w in LCDUI:startApp

It's on the subject of my post. Thanks for your reply!
zimingw
New User
 
Posts: 11
Joined: Mon Jul 02, 2007 8:33 am

Postby lawrie » Fri Oct 12, 2007 7:14 pm

Are you running this under Eclipse?

What command or software gives the error message?

What Java version?

It worked for me.
lawrie
leJOS Team Member
 
Posts: 919
Joined: Mon Feb 05, 2007 1:27 pm

Postby zimingw » Mon Oct 15, 2007 9:32 am

No, I am running from windows command line window. I am using JdK 1.6.2.
I ran "nxj LCDUI", then I got the error. I searched internet, it sounds like a java compiler error.

Thanks for your reply. I have been checking answer for ages! I almost consider moving to NXC now, cause it doesn't require reflash my NXT firmware. So I could use NXT-G and C to program. As I am rather a C++ developer than Java. And EClipse runs too slow on my veteran laptop anyway.

Just few thoughts, please don't be angry with me. :wink:
zimingw
New User
 
Posts: 11
Joined: Mon Jul 02, 2007 8:33 am

Postby lawrie » Mon Oct 15, 2007 8:39 pm

It worked for me with JDK 1.6.0_01.

It could be a problem with 1.6.2.

Did you run:

nxjc LCDUI.java

with the same version of the JDK?

BTW, What language you use is a matter of personal choice. No one is going to get angry with you for not using Java. We just try to keep improving leJOS so that more people choose it.
lawrie
leJOS Team Member
 
Posts: 919
Joined: Mon Feb 05, 2007 1:27 pm

Postby zimingw » Tue Oct 16, 2007 7:52 am

Hi Lawie and all,

Thanks for your advice! I was building with 1.4.2 from EClipse and link under 1.6.0. That's the cause!!!

I was testing NXC, just got a flavour of it. It lacks abstracted classes lejos has, don't even mention behavior packages. Java has its born advangtages such as OO and open source. I think we should emphsis this to attract more developers into this world.

Regards
zimingw
New User
 
Posts: 11
Joined: Mon Jul 02, 2007 8:33 am


Return to NXJ Software

Who is online

Users browsing this forum: No registered users and 2 guests

more stuff