Just run the emulator as follows:
fledge /handheld=9000 "/app-param=JvmDebugFile:bblog.txt"
In the bblog.txt you will get a lot of info, and your System.out output.
fledge /handheld=9000 "/app-param=JvmDebugFile:bblog.txt"
<taskdef resource="antenna.properties" classpath="${basedir}\tools\antenna.jar" />
<property name="wtk.home" location="C:\WTK2.5.2"/>
<property name="wtk.cldc.version" value="1.1"/>
<property name="wtk.midp.version" value="2.0"/>
<property name="wtk.proguard.home" value="${basedir}\tools\proguard4.3"/>
<
target name="package" depends="compile">
<
mkdir dir="${dist.dir}"/>
<
copy file="${basedir}/myapp.jad" overwrite="true" failonerror="true" tofile="${dist.dir}/myapp.jad"/>
<
wtkpackage jarfile="${dist.dir}/myapp.jar"
jadfile="${dist.dir}/myapp.jad"
obfuscate="true"
preverify="true">
<
fileset dir="${class.dir}"/>
<
fileset dir="${res.dir}"/>
<
exclude_from_manifest name="myapp-dir"/>
<
exclude_from_manifest name="myapp-host"/>
<
/wtkpackage>
<
copy file="${dist.dir}/myapp.jad" overwrite="true" failonerror="true" tofile="${dist.dir}/myappu.jad"/>
<
/target>
<target name="sign" depends="package">
<wtksign
keystore="${basedir}/../cert/keystore.ks"
jarfile="${dist.dir}/myapp.jar"
jadfile="${dist.dir}/myapp.jad"
storepass="******"
certpass="******"
certalias="myalias"
/>
</target>