Java Console

Is anybody aware of the existance of a java console for the IPAQ?I am having trouble getting an applet to run on the IPAQ and can not seem to locate a java console anwhere. How is one supposed to debug an applet in a handheld enviroment without a java console?

Any suggestions would be GREATLY appreciated.

[326 byte] By [kpoindexter] at [2007-9-26 6:07:52]
# 1

with applets, there is none, by default. I assume, you are using the Jeode - Sun's pJava doesnt support applets. But you might test via calling your applet through a main() function as an application - then you will have a console and you can pre-debug.

Jeode's runtime docs are very week. Maybe there is a parameter, which switches on a console - but I don't know about..

joachimkroeger2 at 2007-7-1 14:54:11 > top of Java-index,Java Mobility Forums,Java ME Technologies...
# 2

I am using the Jeode, only browser VM I have found for the IPAQ

The problem I am having is that the applet that we are trying to make run on the IPAQ is the client portion of a client/server application.

I suppose I could figure out a way to pass it parameters to tell it how to connect to the server and then test it as an application. Just seems like alot of work for something that is soo simple on a Win9x enviroment.

kpoindexter at 2007-7-1 14:54:11 > top of Java-index,Java Mobility Forums,Java ME Technologies...
# 3
Applications are something that I have not dealt with. I know that to make an application you create a main method in the class file. How do you pass parameters to a class which is setup as an application? Can someone give me an example of how to do this?
kpoindexter at 2007-7-1 14:54:11 > top of Java-index,Java Mobility Forums,Java ME Technologies...
# 4
I have converted this applet to an application, and it runs fine as an application. Wont start at all as an applet though.Weird...
kpoindexter at 2007-7-1 14:54:11 > top of Java-index,Java Mobility Forums,Java ME Technologies...
# 5
Passing parameters: pJava allows access to System properties. Given commandline parameters of type -Dxxx, you may access them.
joachimkroeger2 at 2007-7-1 14:54:11 > top of Java-index,Java Mobility Forums,Java ME Technologies...
# 6
You could use java.lang.System methods setOut() and setErr() to redirect Output to a file.
schachinger at 2007-7-1 14:54:11 > top of Java-index,Java Mobility Forums,Java ME Technologies...
# 7
Thanks. I tried that and it worked to output stdout to a file
kpoindexter at 2007-7-1 14:54:11 > top of Java-index,Java Mobility Forums,Java ME Technologies...