Failed to start old SE java applications when installing ME SDK 3.0.5

I installed the Java ME SDK 3.0.5 to create a MIDlet, but as soon as it connected to NetBeans, I can not run SE applications that were fine. For example, I get an error

C:\Documents and Settings\user\.netbeans\7.0\var\cache\executor-snippets\run.xml:52: C:\Documents and Settings\user\My Documents\NetBeansProjects\Hw2_1\work is not a valid directory at org.apache.tools.ant.taskdefs.Java.setupWorkingDir(Java.java:855) at org.apache.tools.ant.taskdefs.Java.setupExecutable(Java.java:825) at org.apache.tools.ant.taskdefs.Java.fork(Java.java:788) at org.apache.tools.ant.taskdefs.Java.executeJava(Java.java:214) at org.apache.tools.ant.taskdefs.Java.executeJava(Java.java:135) at org.apache.tools.ant.taskdefs.Java.execute(Java.java:108) at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291) at sun.reflect.GeneratedMethodAccessor61.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) 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:390) at org.apache.tools.ant.Target.performTasks(Target.java:411) at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1399) at org.apache.tools.ant.Project.executeTarget(Project.java:1368) at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41) at org.apache.tools.ant.Project.executeTargets(Project.java:1251) at org.apache.tools.ant.module.bridge.impl.BridgeImpl.run(BridgeImpl.java:284) at org.apache.tools.ant.module.run.TargetExecutor.run(TargetExecutor.java:539) at org.netbeans.core.execution.RunClassThread.run(RunClassThread.java:153) Java Result: -1

from an application that worked great before. What could be the reason for this?

+4
source share
1 answer

Found that a NetBeans update is needed. I give a link here if someone else runs into the same problem and happens to read this.

Java ME SDK Developer Team Blog - Update Java ME SDK through Update Center :

We found that after installing the Java ME SDK 3.0.5 plugins for NB, you will no longer be able to run Java SE applications. Now the problem is fixed, but you need to update it through the update center. Here is a step-by-step guide ...

+3
source

Source: https://habr.com/ru/post/1399596/


All Articles