Post by Ma KUnder "Window/Preferences" menu option appears J2ME and after choosing
"Device Management", pressing "Import", specifying the search directory
to
Post by Ma Kmy root "C:/" and pressing "Refresh" button, the search is ending with
"Error searching for devices" and of course no device is found.
According to the EclipsMe installation and configuration instructions it
should find some devices but in my case there are none. What did I miss ?
I had what sounds like the same problem initially. I found the answer
in the eclipseme-users archive:
Re: [Eclipseme-users] Device Management Issue
From: <***@re...> - 2007-07-10 08:19
You need to specify the root-directory of your WTK, e.g.
"C:\Programs\WTK2.2" (maybe you have to hit <TAB> to make the Plugin
process the given path).
Here is a longer description:
The key turned out to be hitting the <TAB> key with the cursor in the
pathname window. Here are the details:
1. Installed " Sun JavaTM Wireless Toolkit for CLDC
Version 2.5.2" that I downloaded from Sun's website into
/usr/java/WTK2.5.2. Checked that "emulator" program runs.
2. Installed EclipseME from SourceForge and its script for
installation.
3. Started Eclipse and chose "Windows . . . Preferences . . . J2ME."
4. In the J2ME main level, set "WTK Root" to /usr/java/WTK2.5.2.
5. Under "Device Manager," chose "Browse" and used cursor to select
/usr/java/WTK2.5.2 again. No devices appear in the list, even after
clicking refresh.
6. Followed advice on EclipseME mailing list to "chown chaiken" all
the directories in the /usr/java/WTK2.5.2 hierarchy and tried again.
Still doesn't work.
7. Tried this suggestion from the eclipseme-users archives:
Re: [Eclipseme-users] Device Management Issue
From: <***@re...> - 2007-07-10 08:19
You need to specify the root-directory of your WTK, e.g.
"C:\Programs\WTK2.2" (maybe you have to hit <TAB> to make the Plugin
process the given path).
Yes, that's it! Hitting <TAB> with the cursor in the path window
causes the list of devices to be populated! See
WorkingDeviceManager.png for the result.
8. One more step:
Right-click on project name and choose "Run As . . . Run
Configurations." Pick the "Emulation" tab and choose "Specific
device" and select down to something appropriate (say "Default color
phone"). Click "Apply."
9. Click "Run" button. Emulator appears!
HTH.
-- Alison
--
Alison Chaiken
(650) 279-5600 (cell)
http://www.exerciseforthereader.org/
Poverty denotes a lack of necessities and simplicity a lack of needs. --
Dervla Murphy, _Full Tilt_