Skip to main content

Failed to run demos on linux-x86

4 replies [Last post]
feng_tian
Offline
Joined: 2007-09-20
Points: 0

I've built with:
J2ME_CLASSLIB=basis
QTEMBEDDED=true
USE_MIDP=ture
USE_JUMP=true
QTOPIA=false

the build finished in linux-x86-generic successfully
But I can't run demos. Only cdc.HelloWorld passd.
When I tried ./bin/autotest
The error is:
com.sun.jump.module.download.JUMPDownloadException: Unexpected error:no protocol:
at com.sun.jumpimpl.module.download.OMAOTADownloadModule.createDescriptor(Unkown Source)
at com.sun.jumpimpl.presentation.autotester.AutoTester.installAndPerformTests(Unkown Source)
......

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
qwfwq
Offline
Joined: 2007-10-10
Points: 0

As Gary already replied, autotest should be used with TCK or JDTS harness.
I can't sure it also can be used with cqME (open source project for tesitng).

Gary Adams - Client Systems Group

The Autotest script is set up to run a sequence of tests from a
test harness such as the javatest TCK harness or Sun's JDTS
functional tests. Each testis wrapped in a MIDlet and run within
an isolate for that specific application context.

bin/autotest http://:
/test/getNextApp.jad

Look for the autotest.properties file that the startup script
generated and you should see the url is missing.

phonemeadvanced@mobileandembedded.org wrote:
> I've built with:
> J2ME_CLASSLIB=basis
> QTEMBEDDED=true
> USE_MIDP=ture
> USE_JUMP=true
> QTOPIA=false
>
> the build finished in linux-x86-generic successfully
> But I can't run demos. Only cdc.HelloWorld passd.
> When I tried ./bin/autotest
> The error is:
> com.sun.jump.module.download.JUMPDownloadException: Unexpected error:no protocol:
> at com.sun.jumpimpl.module.download.OMAOTADownloadModule.createDescriptor(Unkown Source)
> at com.sun.jumpimpl.presentation.autotester.AutoTester.installAndPerformTests(Unkown Source)
> ......
> [Message sent by forum member 'feng_tian' (feng_tian)]
>
> http://forums.java.net/jive/thread.jspa?messageID=240947
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: advanced-unsubscribe@phoneme.dev.java.net
> For additional commands, e-mail: advanced-help@phoneme.dev.java.net
>

---------------------------------------------------------------------
To unsubscribe, e-mail: advanced-unsubscribe@phoneme.dev.java.net
For additional commands, e-mail: advanced-help@phoneme.dev.java.net

feng_tian
Offline
Joined: 2007-09-20
Points: 0

Thanks, do you mean that I've to make a getNextApp.jad file first, and then put it on to a web server, then make the URL point to the jad file.
If so, how can I make such jad file?
Thanks a lot.

Gary Adams

The MIDP spec will contain the details of the jad
file format. You could use Sun's Java Wireless Toolkit
for MIDlet development.

http://java.sun.com/javame/overview/products.jsp
http://java.sun.com/products/sjwtoolkit/

phonemeadvanced@mobileandembedded.org wrote:
> Thanks, do you mean that I've to make a getNextApp.jad file first, and then put it on to a web server, then make the URL point to the jad file.
> If so, how can I make such jad file?
> Thanks a lot.
> [Message sent by forum member 'feng_tian' (feng_tian)]
>
> http://forums.java.net/jive/thread.jspa?messageID=241094
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: advanced-unsubscribe@phoneme.dev.java.net
> For additional commands, e-mail: advanced-help@phoneme.dev.java.net
>

---------------------------------------------------------------------
To unsubscribe, e-mail: advanced-unsubscribe@phoneme.dev.java.net
For additional commands, e-mail: advanced-help@phoneme.dev.java.net