Hello,
I am new to Netbean and I am trying to run the Java ME 8 Emulator within Netbeans 8.
My project (IMletDemo) runs properly if the emulator is executed outside Netbeans 8.
I set ant in debug mode.
the output file is the following :
-----------------------------------------------
Property "platform.bootclasspath" has not been set
Property "run.cmd.options" has not been set
Property "platform.runcommandline" has not been set
Property "dist.jad.url" has not been set
Starting emulator in execution mode
Finding class org.netbeans.modules.j2me.common.ant.EMapFormat
Loaded from C:\My Program Files\NetBeans 8.0\mobility\modules\org-netbeans-modules-j2me-common-ant.jar org/netbeans/modules/j2me/common/ant/EMapFormat.class
Class java.text.Format loaded from parent loader (parentFirst)
Class org.netbeans.modules.j2me.common.ant.EMapFormat loaded from ant loader (parentFirst)
Class java.lang.StringBuffer loaded from parent loader (parentFirst)
Class org.apache.tools.ant.taskdefs.Execute loaded from parent loader (parentFirst)
Class org.apache.tools.ant.types.Commandline loaded from parent loader (parentFirst)
Finding class org.netbeans.modules.classfile.ClassFile
[...]
Class java.net.URL loaded from parent loader (parentFirst)
Executing command line: $
Execute:Java13CommandLauncher: Executing '$'
The ' characters around the executable and arguments are
not part of the command.
C:\Users\BAAL7505\Documents\NetBeansProjects\IMletDemo\nbproject\build-impl.xml:810:
java.io.IOException: Cannot run program "$": CreateProcess error=2, Le fichier spécifié est introuvable
at java.lang.ProcessBuilder.start(ProcessBuilder.java:1042)
at java.lang.Runtime.exec(Runtime.java:620)
at org.apache.tools.ant.taskdefs.launcher.Java13CommandLauncher.exec(Java13CommandLauncher.java:41)
at org.apache.tools.ant.taskdefs.Execute.launch(Execute.java:428)
at org.apache.tools.ant.taskdefs.Execute.execute(Execute.java:442)
at org.netbeans.modules.j2me.common.ant.RunTask.doExecute(RunTask.java:396)
at org.netbeans.modules.j2me.common.ant.RunTask.execute(RunTask.java:349)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:292)
at sun.reflect.GeneratedMethodAccessor117.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:483)
at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
at org.apache.tools.ant.Task.perform(Task.java:348)
at org.apache.tools.ant.Target.execute(Target.java:435)
at org.apache.tools.ant.Target.performTasks(Target.java:456)
at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1393)
at org.apache.tools.ant.Project.executeTarget(Project.java:1364)
at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
at org.apache.tools.ant.Project.executeTargets(Project.java:1248)
at org.apache.tools.ant.module.bridge.impl.BridgeImpl.run(BridgeImpl.java:286)
at org.apache.tools.ant.module.run.TargetExecutor.run(TargetExecutor.java:555)
at org.netbeans.core.execution.RunClassThread.run(RunClassThread.java:153)
Caused by: java.io.IOException: CreateProcess error=2, Le fichier spécifié est introuvable
at java.lang.ProcessImpl.create(Native Method)
at java.lang.ProcessImpl.<init>(ProcessImpl.java:386)
at java.lang.ProcessImpl.start(ProcessImpl.java:137)
at java.lang.ProcessBuilder.start(ProcessBuilder.java:1023)
... 21 more
BUILD FAILED (total time: 3 seconds)
-----------------------------------------------
I could not find how to set the properties platform.bootclasspath, run.cmd.options, platform.runcommandline, dist.jad.url.
Can anyone help me with this issue, please ?
Thanks in advance.
Bruno