| View previous topic :: View next topic |
| Author |
Message |
vishalkothari2006@gmail.c Posted via mailing list.
|
Posted: Wed Mar 18, 2009 11:47 am Post subject: Resolving Java ME Device Fragmentation Issues |
|
|
Thanks a lot for your tutorials. All of them. But, I have some problem with this
BALLSHOTGAME project. I successfully imported it in my netbeans 6.1. But, I am not able to
run it using Wireless toolkit emulator. Does this require Nokia s40 emulator only? Here is
the console data that comes when I try to run this project:
pre-init:
pre-load-properties:
exists.config.active:
exists.netbeans.user:
exists.user.properties.file:
load-properties:
exists.platform.active:
exists.platform.configuration:
exists.platform.profile:
basic-init:
cldc-pre-init:
cldc-init:
cdc-init:
ricoh-pre-init:
ricoh-init:
semc-pre-init:
semc-init:
savaje-pre-init:
savaje-init:
nokiaS80-pre-init:
nokiaS80-init:
nsicom-pre-init:
nsicom-init:
post-init:
init:
conditional-clean-init:
conditional-clean:
deps-jar:
pre-preprocess:
do-preprocess:
Pre-processing 0 file(s) into
D:\NetBeansProjects\SingleCotopiaGameBallShot\build\QwertyDevice\preprocessed directory.
post-preprocess:
preprocess:
pre-compile:
extract-libs:
do-compile:
post-compile:
compile:
pre-obfuscate:
proguard-init:
skip-obfuscation:
proguard:
post-obfuscate:
obfuscate:
pre-preverify:
do-preverify:
post-preverify:
preverify:
pre-jar:
set-password-init:
set-keystore-password:
set-alias-password:
set-password:
create-jad:
add-configuration:
add-profile:
do-extra-libs:
nokiaS80-prepare-j9:
nokiaS80-prepare-manifest:
nokiaS80-prepare-manifest-no-icon:
nokiaS80-create-manifest:
semc-build-j9:
do-jar:
nsicom-create-manifest:
do-jar-no-manifest:
update-jad:
Updating application descriptor:
D:\NetBeansProjects\SingleCotopiaGameBallShot\dist\QwertyDevice\SingleCotopiaGameBallShot.jad
Application descriptor does not declare any MIDlet. Direct execution is not allowed.
Generated
"D:\NetBeansProjects\SingleCotopiaGameBallShot\dist\QwertyDevice\SingleCotopiaGameBallShot.jar"
is 40385 bytes.
ricoh-init-dalp:
ricoh-add-app-icon:
ricoh-build-dalp-with-icon:
ricoh-build-dalp-without-icon:
ricoh-build-dalp:
savaje-prepare-icon:
savaje-build-jnlp:
post-jar:
jar:
pre-run:
cldc-run:
Copying 1 file to
D:\NetBeansProjects\SingleCotopiaGameBallShot\dist\QwertyDevice\nbrun3277
Copying 1 file to
D:\NetBeansProjects\SingleCotopiaGameBallShot\dist\QwertyDevice\nbrun3277
Jad URL for OTA execution:
http://localhost:8082/servlet/org.netbeans.modules.mobility.project.jam.JAMServlet/D%3A/NetBeansProjects/SingleCotopiaGameBallShot/dist/QwertyDevice/SingleCotopiaGameBallShot.jad
Starting emulator in execution mode
com.sun.kvem.midletsuite.InvalidJadException: Reason = 22
The manifest or the application descriptor MUST contain the attribute: MIDlet-1
ricoh-run:
semc-icon-assembly:
semc-ppro-emulator:
semc-do-run:
semc-run:
savaje-run:
nokiaS80-run:
nsicom-run:
run:
BUILD SUCCESSFUL (total time: 1 second
----
Submitted via the contact form at: http://www.netbeans.info/appl2//index.php
Referer page: http://www.netbeans.org/kb/60/mobility/javame-devicefragmentation.html |
|
| Back to top |
|
 |
Brad Schmidt Posted via mailing list.
|
Posted: Wed Mar 18, 2009 3:44 pm Post subject: Resolving Java ME Device Fragmentation Issues |
|
|
Hi, thanks for the feedback.
I think the projects default properties are set for the S40, but you can
change it to the WTK 2.5.2 quite easily.
- Right-click the project nod and select Properties
- Make sure Platform is selected on the Category Menu.
- In the Emulator Platform drop down menu choose Sun Java Wireless
Toolkit 2.5.2 for CLDC and click OK.
It should work fine after that.
Cheers,
Brad
address-removed wrote:
| Quote: | Thanks a lot for your tutorials. All of them. But, I have some problem with this
BALLSHOTGAME project. I successfully imported it in my netbeans 6.1. But, I am not able to
run it using Wireless toolkit emulator. Does this require Nokia s40 emulator only? Here is
the console data that comes when I try to run this project:
pre-init:
pre-load-properties:
exists.config.active:
exists.netbeans.user:
exists.user.properties.file:
load-properties:
exists.platform.active:
exists.platform.configuration:
exists.platform.profile:
basic-init:
cldc-pre-init:
cldc-init:
cdc-init:
ricoh-pre-init:
ricoh-init:
semc-pre-init:
semc-init:
savaje-pre-init:
savaje-init:
nokiaS80-pre-init:
nokiaS80-init:
nsicom-pre-init:
nsicom-init:
post-init:
init:
conditional-clean-init:
conditional-clean:
deps-jar:
pre-preprocess:
do-preprocess:
Pre-processing 0 file(s) into
D:\NetBeansProjects\SingleCotopiaGameBallShot\build\QwertyDevice\preprocessed directory.
post-preprocess:
preprocess:
pre-compile:
extract-libs:
do-compile:
post-compile:
compile:
pre-obfuscate:
proguard-init:
skip-obfuscation:
proguard:
post-obfuscate:
obfuscate:
pre-preverify:
do-preverify:
post-preverify:
preverify:
pre-jar:
set-password-init:
set-keystore-password:
set-alias-password:
set-password:
create-jad:
add-configuration:
add-profile:
do-extra-libs:
nokiaS80-prepare-j9:
nokiaS80-prepare-manifest:
nokiaS80-prepare-manifest-no-icon:
nokiaS80-create-manifest:
semc-build-j9:
do-jar:
nsicom-create-manifest:
do-jar-no-manifest:
update-jad:
Updating application descriptor:
D:\NetBeansProjects\SingleCotopiaGameBallShot\dist\QwertyDevice\SingleCotopiaGameBallShot.jad
Application descriptor does not declare any MIDlet. Direct execution is not allowed.
Generated
"D:\NetBeansProjects\SingleCotopiaGameBallShot\dist\QwertyDevice\SingleCotopiaGameBallShot.jar"
is 40385 bytes.
ricoh-init-dalp:
ricoh-add-app-icon:
ricoh-build-dalp-with-icon:
ricoh-build-dalp-without-icon:
ricoh-build-dalp:
savaje-prepare-icon:
savaje-build-jnlp:
post-jar:
jar:
pre-run:
cldc-run:
Copying 1 file to
D:\NetBeansProjects\SingleCotopiaGameBallShot\dist\QwertyDevice\nbrun3277
Copying 1 file to
D:\NetBeansProjects\SingleCotopiaGameBallShot\dist\QwertyDevice\nbrun3277
Jad URL for OTA execution:
http://localhost:8082/servlet/org.netbeans.modules.mobility.project.jam.JAMServlet/D%3A/NetBeansProjects/SingleCotopiaGameBallShot/dist/QwertyDevice/SingleCotopiaGameBallShot.jad
Starting emulator in execution mode
com.sun.kvem.midletsuite.InvalidJadException: Reason = 22
The manifest or the application descriptor MUST contain the attribute: MIDlet-1
ricoh-run:
semc-icon-assembly:
semc-ppro-emulator:
semc-do-run:
semc-run:
savaje-run:
nokiaS80-run:
nsicom-run:
run:
BUILD SUCCESSFUL (total time: 1 second
----
Submitted via the contact form at: http://www.netbeans.info/appl2//index.php
Referer page: http://www.netbeans.org/kb/60/mobility/javame-devicefragmentation.html
|
|
|
| Back to top |
|
 |
samhong
Joined: 22 Jun 2009 Posts: 5
|
Posted: Mon Jun 22, 2009 5:27 pm Post subject: emulator not appear... |
|
|
hi i got this after pressing run. But the emulator din appear. i Had choose Toolkit 2.5.2 for CLDC for the platform but it still not working.
And i try to turn off my firewall, it still the same. wondering what is the problem. any help pls??
pre-init:
pre-load-properties:
exists.config.active:
exists.netbeans.user:
exists.user.properties.file:
load-properties:
exists.platform.active:
exists.platform.configuration:
exists.platform.profile:
basic-init:
cldc-pre-init:
cldc-init:
cdc-init:
ricoh-pre-init:
ricoh-init:
semc-pre-init:
semc-init:
savaje-pre-init:
savaje-init:
sjmc-pre-init:
sjmc-init:
nokiaS80-pre-init:
nokiaS80-init:
nsicom-pre-init:
nsicom-init:
bdj-init:
post-init:
init:
conditional-clean-init:
conditional-clean:
deps-jar:
pre-preprocess:
do-preprocess:
Pre-processing 0 file(s) into C:\Users\sam chuah\Documents\NetBeansProjects\FYP\build\DefaultColorPhone\preprocessed directory.
post-preprocess:
preprocess:
pre-compile:
extract-libs:
do-compile:
post-compile:
compile:
pre-obfuscate:
proguard-init:
skip-obfuscation:
proguard:
post-obfuscate:
obfuscate:
pre-preverify:
do-preverify:
post-preverify:
preverify:
pre-jar:
set-password-init:
set-keystore-password:
set-alias-password:
set-password:
create-jad:
add-configuration:
add-profile:
do-extra-libs:
nokiaS80-prepare-j9:
nokiaS80-prepare-manifest:
nokiaS80-prepare-manifest-no-icon:
nokiaS80-create-manifest:
semc-build-j9:
do-jar:
nsicom-create-manifest:
do-jar-no-manifest:
bdj-build-image:
update-jad:
Updating application descriptor: C:\Users\sam chuah\Documents\NetBeansProjects\FYP\dist\DefaultColorPhone\FYP.jad
Application descriptor does not declare any MIDlet. Direct execution is not allowed.
Generated "C:\Users\sam chuah\Documents\NetBeansProjects\FYP\dist\DefaultColorPhone\FYP.jar" is 2976 bytes.
ricoh-init-dalp:
ricoh-add-app-icon:
ricoh-build-dalp-with-icon:
ricoh-build-dalp-without-icon:
ricoh-build-dalp:
savaje-prepare-icon:
savaje-build-jnlp:
post-jar:
jar:
pre-run:
cldc-run:
Copying 1 file to C:\Users\sam chuah\Documents\NetBeansProjects\FYP\dist\DefaultColorPhone\nbrun4356817839408767310
Copying 1 file to C:\Users\sam chuah\Documents\NetBeansProjects\FYP\dist\DefaultColorPhone\nbrun4356817839408767310
Jad URL for OTA execution: http://localhost:8082/servlet/org.netbeans.modules.mobility.project.jam.JAMServlet/C%3A/Users/sam+chuah/Documents/NetBeansProjects/FYP/dist/DefaultColorPhone/FYP.jad
Starting emulator in execution mode
com.sun.kvem.midletsuite.InvalidJadException: Reason = 22
The manifest or the application descriptor MUST contain the attribute: MIDlet-1
ricoh-run:
semc-icon-assembly:
semc-ppro-emulator:
semc-do-run:
semc-run:
savaje-run:
sjmc-run:
nokiaS80-run:
nsicom-run:
bdj-run:
run:
BUILD SUCCESSFUL (total time: 0 seconds) |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You can attach files in this forum You can download files in this forum
|
|
|
|