Fedora Linux Support Community & Resources Center
  #1  
Old 10th September 2010, 04:12 PM
Indian's Avatar
Indian Offline
Registered User
 
Join Date: Jun 2009
Location: Pt
Posts: 157
linuxfedorafirefox
Java compile error in Netbeans 6.9

Hello
I'm building a program for my mobile in java ME programming, a simple one create by normal procedures
selecting New project -> Java ME -> Mobile Application, I use the Emulate platform WTK2.5.2 and CLDC-1.1 and MIDP-2.1 as device configurations and profile.
But when i run the application an error exception is occurring
Quote:
netbeans-6.9/mobility/WTK2.5.2/bin/preverify": java.io.IOException: error=2, No such file or directory
The wird thing is that directories exist and i have no idea what's wrong.

I appreciate some help if someone know what's wrong, thanks

I do a little research and it seams this error is occurring because Netbeans run aplication J2ME with version 32bits and mine is 64bits.

any one knowes how to fix this, thanks.
__________________
Moving on Net Side

Last edited by Indian; 10th September 2010 at 08:02 PM.
Reply With Quote
  #2  
Old 11th September 2010, 04:47 PM
Indian's Avatar
Indian Offline
Registered User
 
Join Date: Jun 2009
Location: Pt
Posts: 157
linuxfedorafirefox
Thumbs up Re: Java compile error in Netbeans 6.9

Ok i solved

What we have to do is to install jre1.6.0_21 from SUN, install in your machine and change the file $PATHTONETBEANS/netbeans-6.9.1/mobility/WTK2.5.2/emulator to
Code:
#!/bin/sh

javapathtowtk=$PATHTOJRE/jre1.6.0_21/bin/

PRG=$0
the / in the end of bin is necessary so don't forget it. Restart NetBeans. You probababily still have to install some other libraries i686 but this is revealed by the NeatBeans when you run your program.

__________________
Moving on Net Side
Reply With Quote
Reply

Tags
compile, error, java, netbeans

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Troubles with java, netbeans, virtualBox after update. SkW2Aj Using Fedora 33 26th March 2009 02:22 PM
FC9 64 bit, java, NetBeans marknvicf Using Fedora 1 12th October 2008 03:36 PM
Call for java/netbeans developers for Aiotrade trading software rbo83 Programming & Packaging 0 29th February 2008 06:09 PM
Java-NetBeans NoClassDefFound Error discuss Programming & Packaging 7 10th January 2007 01:38 PM
Eclipse/Netbeans and JAVA PATH LackeyLad Using Fedora 12 4th April 2005 07:58 AM


Current GMT-time: 23:01 (Wednesday, 22-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat