Portability with netBeans code to Eclipse

Hi,
I asked this in the swing forum but I havent got a reply yet, I could do with knowing for tonight. I would think just about anyone with more experience could answer this.
http://forum.java.sun.com/thread.jspa?threadID=791541&tstart=15
Cheers
Mike

Just take your source files (.java) and copy them over to a new project in Eclipse
BTW you have multiple replies in the Swing forum

Similar Messages

  • Need Help With NetBeans (Java Studio Enterprise 8)'s code generation

    Hi!
    I am using Java Studio Enterprise 8 with NetBeans 4.1 IDE bundled together with it. When trying to create GUI out from NetBeans Form Designer, I don't like the way it generates the code. When I try to use a JTextField, it uses "Fully Qualifed Class Names" (e.g: javax.swing.JTextField) on the code. How do I set NetBeans not to use it but rather use only the class name and generate import lines on top of the code? Also, how do I set it up that it will generate the variable declarations (which is on the uneditable blue portion of the code) on top rather than the default which is placed at the bottom of the class code body. I have tried tweaking the Options menu of this IDE but haven't got any luck...
    Hope you could help, and thanks in advance!

    To address the location of the var decl codegen section (or any codegen location issues), there is a workaround, admittedly, it is a bit tedious.
    Once the form code is generated, as Kris mentioned, open the class in an external editor so that you can edit the generated code.
    Then cut the entire var declaration section along with the begin/end gen-code markers and paste it to the section of the file you desire.
    When you add more components to your form, the codegen will find this section wherever it is and add to it.
    Alternatively, you could just move the non-protected code around the protected within the NB editor, but you would not be able to rearrange the order of the actual code-genned sections.
    craig

  • Eclipse Mars Install New Features/Update fails with HTTP Code 416

    Hi,
    I'm currently trying to update my working Eclipse Luna (for Java and DSL
    Developers) to the new Mars version (seperate fresh installation), but I keep getting an error, which I was unable to resolve.
    The workstation has to use a corporate proxy and it was always a little bit tricky to get the Eclipse Marketplace and Install New Feature/Update working. My Luna Eclipse is configured (network settings) to use "Manual" as Active Provider, with the correct host + port + user + password combination. I also got the known bugs
    https://bugs.eclipse.org/bugs/show_bug.cgi?id=281472 and
    https://bugs.eclipse.org/bugs/show_bug.cgi?id=281384 , so I added the infamous "-Dorg.eclipse.ecf.provider.filetransfer.excludeContributors=org.eclipse.ecf.provider.filetransfer.httpclient4"
    option in the eclipse.ini. While this is working in Luna, I cannot use the Marketplace or Update features in Mars.
    I can open the Marketplace and it actually shows all the plugins, I can select one for install and the plugin-dependency-tree is show, but the next step fails with the following message:
    eclipse.buildId=4.5.0.I20150603-2000
    java.version=1.8.0_45
    java.vendor=Oracle Corporation
    BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=de_DE
    Framework arguments: -product org.eclipse.epp.package.dsl.product
    Command-line arguments: -os win32 -ws win32 -arch x86_64 -product org.eclipse.epp.package.dsl.product
    org.eclipse.equinox.p2.transport.ecf
    Error
    Mon Jul 27 09:41:12 CEST 2015
    Unable to read repository at http://download.eclipse.org/technology/subversive/3.0/update-site/content.jar.
    java.io.IOException: Server returned HTTP response code: 416 for URL: http://download.eclipse.org/technology/subversive/3.0/update-site/content.jar
    at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(Unknown Source)
    at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
    at org.eclipse.ecf.provider.filetransfer.retrieve.UrlConnectionRetrieveFileTransfer.getDecompressedStream(UrlConnectionRetrieveFileTransfer.java:552)
    at org.eclipse.ecf.provider.filetransfer.retrieve.UrlConnectionRetrieveFileTransfer.openStreams(UrlConnectionRetrieveFileTransfer.java:322)
    at org.eclipse.ecf.provider.filetransfer.retrieve.AbstractRetrieveFileTransfer.sendRetrieveRequest(AbstractRetrieveFileTransfer.java:885)
    at org.eclipse.ecf.provider.filetransfer.retrieve.MultiProtocolRetrieveAdapter.sendRetrieveRequest(MultiProtocolRetrieveAdapter.java:146)
    at org.eclipse.equinox.internal.p2.transport.ecf.FileReader.sendRetrieveRequest(FileReader.java:424)
    at org.eclipse.equinox.internal.p2.transport.ecf.FileReader.readInto(FileReader.java:358)
    at org.eclipse.equinox.internal.p2.transport.ecf.RepositoryTransport.download(RepositoryTransport.java:101)
    at org.eclipse.oomph.p2.internal.core.CachingTransport.download(CachingTransport.java:178)
    at org.eclipse.oomph.p2.internal.core.CachingTransport.download(CachingTransport.java:219)
    at org.eclipse.equinox.internal.p2.repository.CacheManager.updateCache(CacheManager.java:402)
    at org.eclipse.equinox.internal.p2.repository.CacheManager.createCache(CacheManager.java:259)
    at org.eclipse.equinox.internal.p2.metadata.repository.SimpleMetadataRepositoryFactory.getLocalFile(SimpleMetadataRepositoryFactory.java:66)
    at org.eclipse.equinox.internal.p2.metadata.repository.SimpleMetadataRepositoryFactory.load(SimpleMetadataRepositoryFactory.java:88)
    at org.eclipse.equinox.internal.p2.metadata.repository.MetadataRepositoryManager.factoryLoad(MetadataRepositoryManager.java:57)
    at org.eclipse.equinox.internal.p2.repository.helpers.AbstractRepositoryManager.loadRepository(AbstractRepositoryManager.java:768)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at org.eclipse.oomph.util.ReflectUtil.invokeMethod(ReflectUtil.java:116)
    at org.eclipse.oomph.p2.internal.core.CachingRepositoryManager.loadRepository(CachingRepositoryManager.java:344)
    at org.eclipse.oomph.p2.internal.core.CachingRepositoryManager.loadRepository(CachingRepositoryManager.java:146)
    at org.eclipse.oomph.p2.internal.core.CachingRepositoryManager$Metadata.loadRepository(CachingRepositoryManager.java:394)
    at org.eclipse.equinox.internal.p2.metadata.repository.MetadataRepositoryManager.loadRepository(MetadataRepositoryManager.java:96)
    at org.eclipse.equinox.internal.p2.metadata.repository.MetadataRepositoryManager.loadRepository(MetadataRepositoryManager.java:92)
    at org.eclipse.epp.internal.mpc.ui.operations.AbstractProvisioningOperation.addRepositories(AbstractProvisioningOperation.java:92)
    at org.eclipse.epp.internal.mpc.ui.operations.ProfileChangeOperationComputer.computeInstallableUnits(ProfileChangeOperationComputer.java:385)
    at org.eclipse.epp.internal.mpc.ui.operations.ProfileChangeOperationComputer.run(ProfileChangeOperationComputer.java:165)
    at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:119)
    Check for Update shows the same result.
    I tried googling for this kind of error, but it seems no one has reported this problem so far. I'm a little bit lost what to do now (apart from using Luna again), since exactly the same configuration is working in Luna, but is unusable for me in Mars. The network access seems to work because Mars can load the dependency tree of a Marketplace plugin. Every other combination in the network settings fails because of the corporate proxy.
    So, any suggetions how to find the root cause? It's quite possible the corporate proxy is misconfigured, but I hope you can help me finding the difference between the working Luna and the (for me) broken Mars, so I know what has to be configured differently. Something seems to be changed in the way the packages are downloaded.
    Thank you very much!

    Hi,
    I'm currently trying to update my working Eclipse Luna (for Java and DSL
    Developers) to the new Mars version (seperate fresh installation), but I keep getting an error, which I was unable to resolve.
    The workstation has to use a corporate proxy and it was always a little bit tricky to get the Eclipse Marketplace and Install New Feature/Update working. My Luna Eclipse is configured (network settings) to use "Manual" as Active Provider, with the correct host + port + user + password combination. I also got the known bugs
    https://bugs.eclipse.org/bugs/show_bug.cgi?id=281472 and
    https://bugs.eclipse.org/bugs/show_bug.cgi?id=281384 , so I added the infamous "-Dorg.eclipse.ecf.provider.filetransfer.excludeContributors=org.eclipse.ecf.provider.filetransfer.httpclient4"
    option in the eclipse.ini. While this is working in Luna, I cannot use the Marketplace or Update features in Mars.
    I can open the Marketplace and it actually shows all the plugins, I can select one for install and the plugin-dependency-tree is show, but the next step fails with the following message:
    eclipse.buildId=4.5.0.I20150603-2000
    java.version=1.8.0_45
    java.vendor=Oracle Corporation
    BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=de_DE
    Framework arguments: -product org.eclipse.epp.package.dsl.product
    Command-line arguments: -os win32 -ws win32 -arch x86_64 -product org.eclipse.epp.package.dsl.product
    org.eclipse.equinox.p2.transport.ecf
    Error
    Mon Jul 27 09:41:12 CEST 2015
    Unable to read repository at http://download.eclipse.org/technology/subversive/3.0/update-site/content.jar.
    java.io.IOException: Server returned HTTP response code: 416 for URL: http://download.eclipse.org/technology/subversive/3.0/update-site/content.jar
    at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(Unknown Source)
    at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
    at org.eclipse.ecf.provider.filetransfer.retrieve.UrlConnectionRetrieveFileTransfer.getDecompressedStream(UrlConnectionRetrieveFileTransfer.java:552)
    at org.eclipse.ecf.provider.filetransfer.retrieve.UrlConnectionRetrieveFileTransfer.openStreams(UrlConnectionRetrieveFileTransfer.java:322)
    at org.eclipse.ecf.provider.filetransfer.retrieve.AbstractRetrieveFileTransfer.sendRetrieveRequest(AbstractRetrieveFileTransfer.java:885)
    at org.eclipse.ecf.provider.filetransfer.retrieve.MultiProtocolRetrieveAdapter.sendRetrieveRequest(MultiProtocolRetrieveAdapter.java:146)
    at org.eclipse.equinox.internal.p2.transport.ecf.FileReader.sendRetrieveRequest(FileReader.java:424)
    at org.eclipse.equinox.internal.p2.transport.ecf.FileReader.readInto(FileReader.java:358)
    at org.eclipse.equinox.internal.p2.transport.ecf.RepositoryTransport.download(RepositoryTransport.java:101)
    at org.eclipse.oomph.p2.internal.core.CachingTransport.download(CachingTransport.java:178)
    at org.eclipse.oomph.p2.internal.core.CachingTransport.download(CachingTransport.java:219)
    at org.eclipse.equinox.internal.p2.repository.CacheManager.updateCache(CacheManager.java:402)
    at org.eclipse.equinox.internal.p2.repository.CacheManager.createCache(CacheManager.java:259)
    at org.eclipse.equinox.internal.p2.metadata.repository.SimpleMetadataRepositoryFactory.getLocalFile(SimpleMetadataRepositoryFactory.java:66)
    at org.eclipse.equinox.internal.p2.metadata.repository.SimpleMetadataRepositoryFactory.load(SimpleMetadataRepositoryFactory.java:88)
    at org.eclipse.equinox.internal.p2.metadata.repository.MetadataRepositoryManager.factoryLoad(MetadataRepositoryManager.java:57)
    at org.eclipse.equinox.internal.p2.repository.helpers.AbstractRepositoryManager.loadRepository(AbstractRepositoryManager.java:768)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at org.eclipse.oomph.util.ReflectUtil.invokeMethod(ReflectUtil.java:116)
    at org.eclipse.oomph.p2.internal.core.CachingRepositoryManager.loadRepository(CachingRepositoryManager.java:344)
    at org.eclipse.oomph.p2.internal.core.CachingRepositoryManager.loadRepository(CachingRepositoryManager.java:146)
    at org.eclipse.oomph.p2.internal.core.CachingRepositoryManager$Metadata.loadRepository(CachingRepositoryManager.java:394)
    at org.eclipse.equinox.internal.p2.metadata.repository.MetadataRepositoryManager.loadRepository(MetadataRepositoryManager.java:96)
    at org.eclipse.equinox.internal.p2.metadata.repository.MetadataRepositoryManager.loadRepository(MetadataRepositoryManager.java:92)
    at org.eclipse.epp.internal.mpc.ui.operations.AbstractProvisioningOperation.addRepositories(AbstractProvisioningOperation.java:92)
    at org.eclipse.epp.internal.mpc.ui.operations.ProfileChangeOperationComputer.computeInstallableUnits(ProfileChangeOperationComputer.java:385)
    at org.eclipse.epp.internal.mpc.ui.operations.ProfileChangeOperationComputer.run(ProfileChangeOperationComputer.java:165)
    at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:119)
    Check for Update shows the same result.
    I tried googling for this kind of error, but it seems no one has reported this problem so far. I'm a little bit lost what to do now (apart from using Luna again), since exactly the same configuration is working in Luna, but is unusable for me in Mars. The network access seems to work because Mars can load the dependency tree of a Marketplace plugin. Every other combination in the network settings fails because of the corporate proxy.
    So, any suggetions how to find the root cause? It's quite possible the corporate proxy is misconfigured, but I hope you can help me finding the difference between the working Luna and the (for me) broken Mars, so I know what has to be configured differently. Something seems to be changed in the way the packages are downloaded.
    Thank you very much!

  • Glassfish with NetBeans and Eclipse

    Hi,
    I have both NetBeans Java EE and Eclipse IDE for Java EE Developers installed on my laptop. With NetBeans Java EE I have the installed the Glassfish and Tomcat server . Can I use/'integrate' this same Glassfish and Tomcat server with my Eclipse installation or is it advisable to install a "standalone" Glassfish &Tomcat server specific for my Eclipse environment?
    Thanks.
    Guy

    Hi!
    Yes you can integrate/use Glassfish and Tomcat with your Eclipse installation.
    For Glassfish support in Eclipse (assuming you are using Eclipse Luna) you have to install first: http://marketplace.eclipse.org/content/glassfish-tools-luna
    The integration is really simple: https://blogs.oracle.com/oepe/entry/getting_started_with_glassfish_4
    Hope hits help,
    Kind regards.

  • How to ident Javafx code in Eclipse?

    I am getting pretty frustrated and getting pretty irritated with Javafx. I can't format Javafx code like I format all java codes ! (in Eclipse)
    How do I set a "Formatter Code Style Profile" for Javafx code as I do with java codes ? Is it plugin's fault ? If it is ... is there any other way of doing that ? ...just to mention I can't do it either in Netbeans. Netbeans sucks !
    What is the bind provided to import packadges I'm using when programming ? Is there any ?
    Is there anything that really works on Javafx or it's only marketing !? just because I can compile the examples it doesn't mean it can do everything it's been said it's capable of. Actually not even 30% of it's being said.
    Where is all documentation we need to know about what packadges we can or can't use while writting an aplicattion for mobile ?
    Is there any real device that really runs Javafx coming soon? or it's again ......... just MAAAAAAAAAAAAARCKETING ?!?!?!?!?!?!?!?!? Has !? When ? When?
    Ok, I've just summarized some of the many question that keeps poping up in my mind everytime I try doing something with this crappy language. If you are having the same problem or think Javafx developers are more worried about announcing the tecnology then making it capable of promisses pls comment this post. I do really wanna know everyone's opinion.
    Edited by: guidera on Apr 8, 2009 3:00 PM

    guidera wrote:
    Where is all documentation we need to know about what packadges we can or can't use while writting an aplicattion for mobile ?I can at least answer this one: in the top-right corner of the reference pages, a Profile field provides two clickable names: Desktop and Common. You have to click on Common to restrict the view to the classes usable in Mobile applications (eg. no javafx.ext.swing, no javafx.scene.effect...).
    I haven't tried Eclipse plugin yet, I code with a simple (but good) text editor and I always care for right indentation from the start...

  • How can I get a single jar file with NetBeans?

    How can I get a single jar file with NetBeans?
    When I create the project I get these files:
    dist/lib/libreria1.jar
    dist/lib/libreria2.jar
    dist/software.jar
    The libraries that have been imported to create the project are in separate folders:
    libreria1/libreria1.jar
    libreria2/libreria2.jar
    libreria1, libreria2, dist folders are all located inside the project folder.
    I added the following code to the build.xml:
    <target name="-post-jar">
    <jar jarfile="dist/software.jar">
    <zipfileset src="${dist.jar}" excludes="META-INF/*" />
    <zipfileset src="dist/lib/libreria1.jar" excludes="META-INF/*" />
    <zipfileset src="dist/lib/libreria2.jar" excludes="META-INF/*" />
    <manifest>
    <attribute name="Main-Class" value="pacco.classeprincipale"/>
    </manifest>
    </jar>
    </target>
    Of course there is also the project folder:
    src/pacco/classeprincipale.form
    src/pacco/classeprincipale.java
    Can you tell me what is wrong? The error message I get is as follows:
    C:...\build.xml:75: Problem creating jar: archive is not a ZIP archive BUILD FAILED (total time: 2 seconds)

    This is not a NetBeans forum, it is a JDeveloper forum. You might want to try http://forums.netbeans.org/. I also saw your other question - try looking in the New to Java forum: New To Java

  • What's wrong with this code. Any Help please?

    Hello
    I'm a newbie to java programming.I got this sample code from an online book that I use in learning java and I'm trying to run the code on eclipse but I got this error message
    "Fatal exception occurred. Programm will exit."
    This is the code:
    public class MostDivisors {
         public static void main(String[] args) {
              int N;
              int maxDivisors;
              int numWithMax;
              maxDivisors = 1;
              numWithMax = 1;
              for(N = 2 ; N <= 10000 ; N++){
                   int D;
                   int divisorCount;
                   divisorCount = 0;
                   for(D=0; D <= N; D++){
                        if (N % D == 0)
                             divisorCount++;
                   if (divisorCount > maxDivisors){
                        maxDivisors = divisorCount;
                        numWithMax = N;
              System.out.println("Among intergers between 1 and 10000,");
              System.out.println("The maximum number of divisors is "+maxDivisors);
              System.out.println("A number with " + maxDivisors + " divisors is ");
    Any Help will be appreciated. Thank you all for helping me out understand the problem here

    Thank you all participating to help this out.
    This is the code and the detailed error message:
    public class MostDivisors {
         public static void main(String[] args) {
              int N;
              int maxDivisors;
              int numWithMax;
              maxDivisors = 1;
              numWithMax = 1;
              for(N = 2 ; N <= 10000 ; N++){
                   int D;
                   int divisorCount;
                   divisorCount = 0;
                   for(D=0; D <= N; D++){
                        if (N % D == 0)
                             divisorCount++;
                   if (divisorCount > maxDivisors){
                        maxDivisors = divisorCount;
                        numWithMax = N;
              System.out.println("Among intergers between 1 and 10000,");
              System.out.println("The maximum number of divisors is "+maxDivisors);
              System.out.println("A number with " + maxDivisors + " divisors is ");
    ERROR MESSAGE starts HERE:
    java.lang.ArithmeticException: / by zero
         at MostDivisors.main(MostDivisors.java:30)
    Exception in thread "main"
    I do not think this is related to the JVM because other programs will compile and run successfully.
    Any Help will be appreciated. Thanks

  • Problems while trying to look at the code from Eclipse

    Hello
    I'm having problems trying to look at ABAP code within Eclipse, every time I try to open a program i get this error:
    The editor cannot be shown because the content cannot be synchronized with the back end: Synchronize Content Result for /ABAPsystem/.adt/programs/programs/zprogram/zprogram.approg; System failure: "Exception condition "NOT_POSSIBLE" raised." (For detailed information, check the generated short dump in transaction ST22 of system ABAP).
    The system configuration:
    SAP_BASIS:    731    0004
    SAP Kernel :  721_EXT_REL
    We just upgraded from kernel 720_EXT_REL to 721_EXT_REL to enable debug within Eclipse, however I can't see any code now. Basis has no idea what it could be, they told me they haven't changed anything in the configuration.
    Any help would be appreciated.
    Thanks!
    Daniel H.

    Hi Daniel,
    Some time ago, something similar happened, when ADT was installed in HANA Studio. See note http://service.sap.com/sap/support/notes/1834948. This note does also describe a workaround. Maybe this helps.
    If not, does transaction ST22 show a short dump that might be related to this operation?
    Michael

  • Deploying JSC2 code into Eclipse/Tomcat ???

    Hi,
    Here's the situation. My partner is using JSC(java studio creator) for the project, and on my side, I am using Eclipse.
    I need to merge the files (JSP/JAVA) created with JSC into my eclipse Project. However, I am not familiar with the structure of JSC and their files, so I tried merging the files into my project and it doesn't work.
    For instance, some imports such as:
    import com.sun.rave.web.ui.appbase.AbstractPageBean;
    import com.sun.rave.web.ui.component.Body;
    import com.sun.rave.web.ui.component.Form;
    import com.sun.rave.web.ui.component.Head;
    import com.sun.rave.web.ui.component.Html;
    import com.sun.rave.web.ui.component.Link;
    import com.sun.rave.web.ui.component.Page;
    import javax.faces.FacesException;
    import javax.faces.component.html.HtmlPanelGrid;
    import com.sun.rave.web.ui.component.StaticText;
    import com.sun.rave.web.ui.component.Label;
    import com.sun.rave.web.ui.component.TextField;
    import com.sun.rave.web.ui.component.Message;
    import com.sun.rave.web.ui.component.PasswordField;
    import com.sun.rave.web.ui.component.Button;
    import com.sun.data.provider.impl.CachedRowSetDataProvider;
    import com.sun.sql.rowset.CachedRowSetXImpl;
    import com.sun.rave.web.ui.component.MessageGroup;
    needed the jar, which I think are one of those : jsfcl.jar / jstl.jar / standard.jar.
    But I still get some errors regarding AbstractPageBean; which I have no clue what it means...
    So how can I take the code created on JSC2 and add it to Eclipse? or what part of code (and which files) could I extract to merge it to my Eclipse project (which is a simple Java/Jsp project using Tomcat).
    Any ideas ????
    David

    Hi,
    We are to migrate a small JSF web application created in the JSC 2..update 1 to the WSAD. We may want to add some more GUI from Java Studio Creator to the web application.
    Here are some queries.
    1. Which type of project should be created in Eclipse\WSAD...in order to migrate the JSC JSF application to the WSAD? and.. exact steps to follow...
    2. I don't want to use the JSF facility provided by WSAD...but I'll like to use the JSC2 for adding the GUI JSF pages to the application.
    3. there are issues with the deployment descriptors while deploying..how to handle these issues?
    Is this migration possible..if yes how..?
    Your support will be highly appreciated.
    Thanks in advance,
    Raj
    null

  • Execution failed with error code 1

    I am developing a simple Hello Server Application using the latest Netbeans 7.0 (Full Version that includes J2SE, J2ME,...etc). The code compiles fine and runs great on a Windows 7 SP1 (32-bit) just fine. but when trying to run it on a Windows 7 SP1 (64-bit) Windows, I get the following error:
    Jad URL for OTA execution: http://localhost:8082/servlet/org.netbeans.modules.mobility.project.jam.JAMServlet/E%3A/Development/NetBeansProjects/HelloServer/dist//HelloServer.jad
    Starting emulator in execution mode
    E:\Development\NetBeansProjects\HelloServer\nbproject\build-impl.xml:915: Execution failed with error code 1.
    BUILD FAILED (total time: 0 seconds)
    the content of build-impl.xml:915 is:
    <nb-run jadfile="${dist.dir}/${dist.jad}" jarfile="${dist.dir}/${dist.jar}" jadurl="${dist.jad.url}" device="${platform.device}" platformhome="${platform.home}" platformtype="${platform.type}" execmethod="${run.method}" securitydomain="${evaluated.run.security.domain}" commandline="${platform.runcommandline}" classpath="${platform.bootclasspath}:${dist.dir}/${dist.jar}" cmdoptions="${run.cmd.options}"/>
    This makes me believe that it is something related to 32/64 bit Java Platform for Windows. I have searched the net, and some posts suggest uninstalling Java 64-bit version for Windows and use 32-bit version instead? Is this true? if it is then we have a serious JAVA bug problem if not, I would like to get pointers on how to solve this problem. Thanks.

    It seems that indeed this has to do with the 64-bit JAVA platform version as well as the DEP protection on Windows 7. I will try to reproduce the error systematically and see how it goes.

  • Preverification Error while using kXML with Netbeans IDE

    Hello All,
    I am using Netbeans IDE for wrting a program that parses a xml using
    kXML and display some results on screen.
    The Netbeans IDE gives the various obfuscation levels.
    The code is properly compiled at any level less than the
    highest obfuscation level. If I compile it at HIGH obfuscation level then it gives the following error-----
    Error preverifying class e
    VERIFIER ERROR e.a(Ll;)Lorg/kxml/kdom/Element;:
    Cannot find class org/kxml/kdom/Element
    D:\Netbeans_Workspace\TestObfuscation\nbproject\build-impl.xml:269: Preverification failed with error code 1.
    BUILD FAILED (total time: 4 seconds)
    How can we obfuscate the program using highest level of obfuscation.
    Thanks
    Vikas

    Thanks Peace,
    But I am facing the same problem even when I use the source java files of kXML and include those in my project and use them as additional classes to my class.
    It again builds properly when I don't use the highest obfuscation level.
    But if I try to obfuscate using Level HIGH it throws the same error.
    However when I try to run this project from J2ME Wireless Toolkit, it is running fine on the emulator.
    I guess the error is something specific to Netbeans IDE. Have anyone of you encountered such a bizzare error.
    Thanks,
    Vikas

  • Writing code in eclipse

    Hello everyone!
    I have no expirience programing on ABAP at all. Only in C++, C# and Java. But I'd like to start with making some simple programs. I have a book about APAB language and also I have installed the ABAP development tools into my eclipse. However I found out that if I want to programm something  I have to connect to ABAP back-end systems at first. I am begginer and I can not do that. So can I create  ABAP back-end system on my computer? May be someone can explain how can I write code in eclipse without connecting to  the ABAP back-end system?
    Sorry for my terrible English, hope someone understood me
    Regards

    Dear Dimitry,
    please check out this page: ABAP Platform Developer Center.
    I can recogment to get the Netwever 7.40 trial. The Server runs in the anazopm web services (AWS). Do you already have experience with such virtual appliances?
    Another good way of get you going is to visit an ABAP CodeJam: Upcoming CodeJam Events
    Have Fun,
    Peter

  • JDK installation finished with error code -3

    I tried to use the installer for netbeans IDE + jdk (jdk-7u21-nb-7_3-windows-i586.exe). All of the netbeans stuff is installed fine, but the jdk part fails, but at least this time it lets me know "Installation of JDK 7 Update 21 was not completed."
    The log files just say there is an exception at org.netbeans.installer.utils.exceptions.InstallationException: JDK installation finished with error code -3.
    So it has worked fine on my other machine, I am at a loss here. Sorry again that I couldn't figure out where to post this.

    I tried to use the installer for netbeans IDE + jdk (jdk-7u21-nb-7_3-windows-i586.exe). All of the netbeans stuff is installed fine, but the jdk part fails, but at least this time it lets me know "Installation of JDK 7 Update 21 was not completed."
    The log files just say there is an exception at org.netbeans.installer.utils.exceptions.InstallationException: JDK installation finished with error code -3.
    So it has worked fine on my other machine, I am at a loss here. Sorry again that I couldn't figure out where to post this.

  • Button ui stub with netbeans 6.7.1

    Hi,
    I want to bind an action to a graphic node defined in a UI stub generated with netbeans
    I use following code, however, that does not work, group is not recognized :
    class Controller {
        var ui = MyPartViewUI {
        var TroisDButton : Button;
        init  {
              TroisDButton = Button {
                group:  ui.mybuttonnode;
                action: function() : Void {
                    ui.View_button.opacity=0.1;
    }

    Ah, perhaps you mean the Button class shown in [this tutorial|http://newfoo.net/2009/01/14/creating-a-javafx-design-without-programming.html] (thanks for the link, I didn't know this blog, looks instructive).
    I think the article is interesting, but they poorly chose the name of the class, since we have an official Button in JavaFX.
    Uh, not, the article dates back to January, ie. JavaFX 1.0, we hadn't Button yet at this time... But you should rename it to avoid clashes...

  • Preverification failed with error code 1. BUILD FAILED

    Hallo Oracle,
    Am learning my first J2me application and when i build it am getting this error. can some one help me understand what it means
    Created dir: C:\Users\Dell\Documents\NetBeansProjects\watsdownapp\build\preverifysrc
    Copying 1957 files to C:\Users\Dell\Documents\NetBeansProjects\watsdownapp\build\preverifysrc
    Created dir: C:\Users\Dell\Documents\NetBeansProjects\watsdownapp\build\preverified
    Preverifying 1957 file(s) into C:\Users\Dell\Documents\NetBeansProjects\watsdownapp\build\preverified directory.
    Error preverifying class com.sun.activation.registries.MailcapFile
        VERIFIER ERROR com/sun/activation/registries/MailcapFile
    .<init>(Ljava/lang/String;)V:
    Cannot find class java/util/Map
    C:\Users\Dell\Documents\NetBeansProjects\watsdownapp\nbproject\build-impl.xml:431: Preverification failed with error code 1.
    BUILD FAILED (total time: 25 seconds)
    this is the contents of build-impx.xml
    <?xml version="1.0" encoding="UTF-8"?>
    <!-- *** GENERATED FROM project.xml - DO NOT EDIT *** -->
    <project name="watsdownapp-impl" default="jar" basedir="..">
        <!--load-properties-->
        <target name="pre-load-properties">
            <property file="nbproject/private/private.properties"/>
            <property name="user.properties.file" location="${netbeans.user}/build.properties"/>
            <available property="user.properties.file.exists" file="${user.properties.file}"/>
        </target>
        <target name="exists.config.active" unless="config.active">
            <echo level="warning" message="Active configuration (config.active property) is not set - using default."/>
            <property value="" name="config.active"/>
        </target>
        <target name="exists.netbeans.user" unless="netbeans.user">
            <echo level="warning" message="NetBeans IDE user directory (netbeans.user property) is not set. By specifying this property many properties required by the project will be automatically evaluated (e.g.: ant-ext library home, ...). You could also open this project in the NetBeans IDE - in this case this property would be set automatically."/>
        </target>
        <target name="exists.user.properties.file" unless="user.properties.file.exists">
            <echo level="warning" message="User properties file (user.properties.file) property is not set. By specifying this property many properties required by the project will be automatically evaluated (e.g.: libraries, platforms, ...)."/>
        </target>
        <target name="load-properties" depends="pre-load-properties,exists.config.active,exists.netbeans.user,exists.user.properties.file">
            <loadproperties srcfile="nbproject/project.properties">
                <filterchain>
                    <containsregex pattern="^configs\.${config.active}\.(.*)" replace="\1"/>
                    <concatfilter prepend="nbproject/project.properties"/>
                    <containsregex pattern="^platform.active=|^deployment.method=|^deployment.instance="/>
                </filterchain>
            </loadproperties>
            <property name="deployment.instance" value="default"/>
            <loadproperties srcfile="${user.properties.file}">
                <filterchain>
                    <replaceregex pattern="^platforms\.${platform.active}\." replace="platform."/>
                    <replaceregex pattern="^deployment\.${deployment.method}\.scriptfile=" replace="deployment.scriptfile="/>
                    <replaceregex pattern="^deployments\.${deployment.method}\.${deployment.instance}\.([^=]+)=" replace="\1="/>
                </filterchain>
            </loadproperties>
            <loadproperties srcfile="nbproject/project.properties">
                <filterchain>
                    <containsregex pattern="^configs\.${config.active}\.(.*)" replace="\1"/>
                    <concatfilter prepend="nbproject/project.properties"/>
                </filterchain>
            </loadproperties>
        </target>
        <!--basic-init-->
        <target name="exists.platform.active" unless="platform.active">
            <echo level="warning" message="Active platform (platform.active property) in not set. If you set this and user.properties.file property, many properties required by the project will be automatically evaluated (e.g.: platform home, platform classpath, ...)."/>
        </target>
        <target name="exists.platform.configuration" unless="platform.configuration">
            <echo level="warning" message="Platform configuration (platform.configuration) is not set. Using default (CLDC-1.0) configuration."/>
            <property name="platform.configuration" value="CLDC-1.0"/>
        </target>
        <target name="exists.platform.profile" unless="platform.profile">
            <echo level="warning" message="Platform profile (platform.profile) is not set. Using default (MIDP-1.0) profile."/>
            <property name="platform.profile" value="MIDP-1.0"/>
        </target>
        <target name="basic-init" depends="exists.platform.active,exists.platform.configuration,exists.platform.profile">
            <fail unless="libs.j2me_ant_ext.classpath">Classpath to J2ME Ant extension library (libs.j2me_ant_ext.classpath property) is not set. For example: location of mobility/modules/org-netbeans-mobility-antext.jar file in the IDE installation directory.</fail>
            <fail unless="platform.home">Platform home (platform.home property) is not set. Value of this property should be ${platform.active.description} emulator home directory location.</fail>
            <fail unless="platform.bootclasspath">Platform boot classpath (platform.bootclasspath property) is not set. Value of this property should be ${platform.active.description} emulator boot classpath containing all J2ME classes provided by emulator.</fail>
            <fail unless="src.dir">Must set src.dir</fail>
            <fail unless="build.dir">Must set build.dir</fail>
            <fail unless="dist.dir">Must set dist.dir</fail>
            <fail unless="dist.jar">Must set dist.jar</fail>
            <property name="javac.source" value="1.3"/>
            <property name="javac.target" value="1.1"/>
            <property name="javac.encoding" value="${file.encoding}"/>
            <property name="deployment.number" value="0.0.1"/>
            <property name="deployment.counter" value="000002"/>
            <condition property="no.deps">
                <istrue value="${no.dependencies}"/>
            </condition>
            <condition property="no.preprocess">
                <isfalse value="${use.preprocessor}"/>
            </condition>
            <condition property="no.javadoc.preview">
                <isfalse value="${javadoc.preview}"/>
            </condition>
            <condition property="filter.excludes.evaluated" value="${filter.excludes},${filter.more.excludes},**/*Test.java,**/test,**/test/**">
                <istrue value="${filter.exclude.tests}"/>
            </condition>
            <property name="filter.excludes.evaluated" value="${filter.excludes},${filter.more.excludes}"/>
            <condition property="deployment.do.override.jarurl" value="">
                <istrue value="${deployment.override.jarurl}"/>
            </condition>
            <condition property="config.active.name" value="DefaultConfiguration">
                <length string="${config.active}" trim="true" length="0"/>
            </condition>
            <property name="config.active.name" value="${config.active}"/>
            <taskdef resource="org/netbeans/mobility/antext/defs.properties">
                <classpath>
                    <pathelement path="${libs.j2me_ant_ext.classpath}"/>
                </classpath>
            </taskdef>
            <condition property="skip.deployment">
                <equals arg1="${deployment.method}" arg2="NONE" casesensitive="false" trim="true"/>
            </condition>
            <condition property="app-version.autoincrement.trigger">
                <istrue value="${app-version.autoincrement}"/>
            </condition>
            <condition property="debug.timeout" value="30000">
                <or>
                    <equals arg1="${debugger.timeout}" arg2="" trim="true"/>
                    <not>
                        <isset property="debugger.timeout"/>
                    </not>
                </or>
            </condition>
            <property name="debug.timeout" value="${debugger.timeout}"/>
            <nb-overrideproperty name="buildsystem.baton" value="${src.dir}"/>
        </target>
        <!--cldc-init-->
        <target name="cldc-pre-init">
            <condition property="cldc-platform.trigger">
                <equals arg1="CLDC" arg2="${platform.trigger}" casesensitive="false"/>
            </condition>
        </target>
        <target name="cldc-init" depends="cldc-pre-init" if="cldc-platform.trigger">
            <property name="preverify.sources.dir" location="${build.dir}/preverifysrc"/>
            <property name="manifest.build.file" location="${build.dir}/manifest.mf"/>
            <property name="platform.device" value=""/>
            <property name="dist.jad.url" value="file://"/>
            <property name="run.cmd.options" value=""/>
            <condition property="evaluated.run.security.domain" value="">
                <isfalse value="${run.use.security.domain}"/>
            </condition>
            <property name="evaluated.run.security.domain" value="${run.security.domain}"/>
            <condition property="override.jarurl.trigger">
                <and>
                    <istrue value="${cldc-platform.trigger}"/>
                    <istrue value="${deployment.override.jarurl}"/>
                </and>
            </condition>
            <property name="deployment.jad" location="${dist.dir}/${dist.jad}"/>
            <property name="deployment.jar" location="${dist.dir}/${dist.jar}"/>
            <property name="deployment.dir" location="${dist.dir}"/>
            <patternset id="deployment.patternset">
                <include name="${dist.jad}"/>
                <include name="${dist.jar}"/>
            </patternset>
        </target>
        <!--cdc-init-->
        <target name="cdc-init">
            <condition property="cdc-platform.trigger">
                <equals arg1="CDC" arg2="${platform.trigger}" casesensitive="false"/>
            </condition>
            <available file="${manifest.file}" property="manifest.available"/>
            <condition property="main.class.applet">
                <equals arg1="${main.class.class}" arg2="applet" casesensitive="false"/>
            </condition>
            <condition property="main.class.xlet">
                <equals arg1="${main.class.class}" arg2="xlet" casesensitive="false"/>
            </condition>
            <condition property="manifest.available+main.class+fat.jar">
                <and>
                    <isset property="manifest.available"/>
                    <isset property="main.class"/>
                    <istrue value="${platform.fat.jar}"/>
                    <not>
                        <equals arg1="${main.class}" arg2="" trim="true"/>
                    </not>
                </and>
            </condition>
            <condition property="manifest.available+main.class">
                <and>
                    <isset property="manifest.available"/>
                    <isset property="main.class"/>
                    <isfalse value="${platform.fat.jar}"/>
                    <not>
                        <equals arg1="${main.class}" arg2="" trim="true"/>
                    </not>
                </and>
            </condition>
            <condition property="application.version.invalid" value="true">
                <equals arg1="${deployment.number}" arg2="" trim="true"/>
            </condition>
            <fail if="application.version.invalid" message="Property deployment.number must not be empty and must contain version in format %d.%d.%d!"/>
            <condition property="sign.jar.trigger" value="true">
                <and>
                    <isset property="cdc-platform.trigger"/>
                    <istrue value="${sign.enabled}"/>
                </and>
            </condition>
        </target>
        <!--semc-init-->
        <target name="semc-pre-init" if="cdc-platform.trigger">
            <condition property="semc-platform.trigger">
                <equals arg1="semc" arg2="${platform.type}" casesensitive="false"/>
            </condition>
        </target>
        <target name="semc-init" depends="semc-pre-init" if="semc-platform.trigger">
            <condition property="semc.icon.invalid" value="true">
                <or>
                    <contains string="${semc.application.icon}" substring="$${"/>
                    <equals arg1="${semc.application.icon}" arg2="" trim="true"/>
                </or>
            </condition>
            <condition property="no.certificateorkey" value="true">
                <or>
                    <isset property="no.application.uid"/>
                    <equals arg1="${semc.certificate.path}" arg2="" trim="true"/>
                    <contains string="${semc.certificate.path}" substring="$${semc.certificate.path"/>
                    <equals arg1="${semc.private.key.path}" arg2="" trim="true"/>
                    <contains string="${semc.private.key.path}" substring="$${semc.private.key.path"/>
                </or>
            </condition>
            <property name="j9.dist" location="${build.dir}/j9/${semc.application.uid}.j9"/>
            <taskdef resource="org/netbeans/modules/j2me/cdc/project/defs.properties">
                <classpath>
                    <pathelement path="${libs.cdc-ant-utils.classpath}"/>
                </classpath>
            </taskdef>
            <taskdef resource="org/netbeans/modules/j2me/cdc/project/semc/defs.properties">
                <classpath>
                    <pathelement path="${libs.semc-ant-utils.classpath}"/>
                </classpath>
            </taskdef>
            <property name="deployment.dir" location="${dist.dir}"/>
            <patternset id="deployment.patternset">
                <include name="*.sis"/>
                <include name="*.SIS"/>
            </patternset>
        </target>
        <!--savaje-init-->
        <target name="savaje-pre-init" if="cdc-platform.trigger">
            <condition property="savaje-platform.trigger">
                <equals arg1="savaje" arg2="${platform.type}" casesensitive="false"/>
            </condition>
        </target>
        <target name="savaje-init" depends="savaje-pre-init" if="savaje-platform.trigger">
            <property name="savaje.application.uid" value="TBD"/>
            <condition property="savaje.bundle.base.invalid" value="true">
                <or>
                    <equals arg1="${savaje.bundle.base}" arg2="" trim="true"/>
                    <contains string="${savaje.bundle.base}" substring="$${savaje.bundle.base"/>
                </or>
            </condition>
            <condition property="savaje.unsupported.main" value="true">
                <or>
                    <equals arg1="${main.class.applet}" arg2="true"/>
                </or>
            </condition>
            <condition property="savaje.icon.invalid" value="true">
                <or>
                    <isset property="no.application.uid"/>
                    <contains string="${savaje.application.icon}" substring="$${"/>
                    <equals arg1="${savaje.application.icon}" arg2="" trim="true"/>
                </or>
            </condition>
            <property name="jnlp.dist" value="${build.dir}/jnlp/bundle.jnlp"/>
            <property name="deployment.dir" location="${dist.dir}"/>
            <patternset id="deployment.patternset">
                <include name="bundle.jnlp"/>
                <include name="bundle.policy"/>
                <include name="lib/*"/>
            </patternset>
        </target>
        <!--sjmc-init-->
        <target name="sjmc-pre-init" if="cdc-platform.trigger">
            <condition property="sjmc-platform.trigger">
                <equals arg1="sjmc" arg2="${platform.type}" casesensitive="false"/>
            </condition>
        </target>
        <target name="sjmc-init" depends="sjmc-pre-init" if="sjmc-platform.trigger"/>
        <!--ojec-init-->
        <target name="ojec-pre-init" if="cdc-platform.trigger">
            <condition property="ojec-platform.trigger">
                <equals arg1="ojec" arg2="${platform.type}" casesensitive="false"/>
            </condition>
        </target>
        <target name="ojec-init" depends="ojec-pre-init" if="ojec-platform.trigger"/>
        <!--cdc-hi-init-->
        <target name="cdc-hi-pre-init" if="cdc-platform.trigger">
            <condition property="cdc-hi-platform.trigger">
                <equals arg1="cdc-hi" arg2="${platform.type}" casesensitive="false"/>
            </condition>
        </target>
        <target name="cdc-hi-init" depends="cdc-hi-pre-init" if="cdc-hi-platform.trigger"/>
        <!--nokiaS80-init-->
        <target name="nokiaS80-pre-init" if="cdc-platform.trigger">
            <condition property="nokiaS80-platform.trigger">
                <equals arg1="nokiaS80" arg2="${platform.type}" casesensitive="false"/>
            </condition>
        </target>
        <target name="nokiaS80-init" depends="nokiaS80-pre-init" if="nokiaS80-platform.trigger">
            <property name="j9.dist" location="${build.dir}/j9/NOKIA.j9"/>
            <property name="manifest.build.file" location="${build.dir}/manifest.mf"/>
            <condition property="nokia.icon.invalid">
                <or>
                    <contains string="${nokiaS80.application.icon}" substring="$${"/>
                    <equals arg1="${nokiaS80.application.icon}" arg2="" trim="true"/>
                </or>
            </condition>
            <property name="deployment.dir" location="${dist.dir}"/>
            <patternset id="deployment.patternset">
                <include name="${dist.jar}"/>
            </patternset>
        </target>
        <!--init-->
        <target name="pre-init"/>
        <target name="post-init"/>
        <target name="init" depends="pre-init,load-properties,basic-init,cldc-init,cdc-init,semc-init,savaje-init,sjmc-init,ojec-init,cdc-hi-init,nokiaS80-init,post-init"/>
        <!--conditional clean-->
        <target name="conditional-clean-init">
            <uptodate property="no.clean.before.build" targetfile="${build.dir}/.timestamp">
                <srcfiles dir="nbproject">
                    <include name="project.properties"/>
                    <include name="build-impl.xml"/>
                </srcfiles>
            </uptodate>
        </target>
        <target name="conditional-clean" depends="init,conditional-clean-init" unless="no.clean.before.build" description="Clean project in case its meta information has changed.">
            <antcall target="do-clean" inheritall="true" inheritrefs="true"/>
        </target>
        <!--deps-jar-->
        <target name="deps-jar" depends="conditional-clean" unless="no.deps"/>
        <!--preprocess-->
        <target name="pre-preprocess"/>
        <target name="do-preprocess" unless="no.preprocess">
            <fail unless="preprocessed.dir">Must set preprocessed.dir</fail>
            <property name="abilities" value=""/>
            <property name="debug.level" value="debug"/>
            <mkdir dir="${preprocessed.dir}"/>
            <echo message="ignore me" file="${build.dir}/.timestamp"/>
            <nb-prep destdir="${preprocessed.dir}" preprocessfor="${config.active.name},${abilities},DebugLevel=${debug.level}" encoding="${javac.encoding}">
                <fileset dir="${buildsystem.baton}" defaultexcludes="${filter.use.standard}" excludes="${filter.excludes.evaluated}"/>
            </nb-prep>
            <copy todir="${preprocessed.dir}">
                <fileset dir="${buildsystem.baton}" defaultexcludes="${filter.use.standard}" excludes="${filter.excludes.evaluated},${build.classes.excludes}"/>
            </copy>
            <nb-overrideproperty name="buildsystem.baton" value="${preprocessed.dir}"/>
        </target>
        <target name="post-preprocess"/>
        <target name="preprocess" depends="deps-jar,pre-preprocess,do-preprocess,post-preprocess" description="Preprocess project sources."/>
        <!--compile-->
        <target name="pre-compile"/>
        <target name="do-compile">
            <fail unless="build.classes.dir">Must set build.classes.dir</fail>
            <mkdir dir="${build.classes.dir}"/>
            <javac includeantruntime="false" source="${javac.source}" target="${javac.target}" deprecation="${javac.deprecation}" optimize="${javac.optimize}" debug="${javac.debug}" destdir="${build.classes.dir}" srcdir="${buildsystem.baton}" bootclasspath="${platform.bootclasspath}" encoding="${javac.encoding}">
                <classpath>
                    <path path="${libs.classpath}"/>
                </classpath>
            </javac>
            <copy todir="${build.classes.dir}">
                <fileset dir="${buildsystem.baton}" defaultexcludes="${filter.use.standard}" excludes="${filter.excludes.evaluated},${build.classes.excludes}"/>
            </copy>
            <nb-overrideproperty name="buildsystem.baton" value="${build.classes.dir}"/>
        </target>
        <target name="extract-libs" description="Extracts all bundled libraries.">
            <mkdir dir="${build.classes.dir}"/>
            <nb-extract dir="${build.classes.dir}" excludeManifest="true" classpath="${libs.classpath}" excludeclasspath="${extra.classpath}"/>
        </target>
        <target name="post-compile"/>
        <target name="compile" depends="preprocess,pre-compile,extract-libs,do-compile,post-compile" description="Compile project classes."/>
        <!--compile-single-->
        <target name="pre-compile-single"/>
        <target name="do-compile-single">
            <fail unless="javac.includes">Must select some files in the IDE or set javac.includes</fail>
            <mkdir dir="${build.classes.dir}"/>
            <javac includeantruntime="false" source="${javac.source}" target="${javac.target}" deprecation="${javac.deprecation}" optimize="${javac.optimize}" debug="${javac.debug}" srcdir="${buildsystem.baton}" destdir="${build.classes.dir}" bootclasspath="${platform.bootclasspath}" includes="${javac.includes}" encoding="${javac.encoding}">
                <classpath>
                    <path path="${libs.classpath}"/>
                </classpath>
            </javac>
        </target>
        <target name="post-compile-single"/>
        <target name="compile-single" depends="preprocess,pre-compile-single,do-compile-single,post-compile-single" description="Compile selected project classes."/>
        <!--proguard-->
        <target name="proguard-init" description="Up-to-date check before obfuscation.">
            <property name="obfuscation.level" value="0"/>
            <condition property="no.obfusc">
                <or>
                    <equals arg1="${obfuscation.level}" arg2="0"/>
                    <uptodate targetfile="${obfuscator.destjar}">
                        <srcfiles dir="${buildsystem.baton}"/>
                    </uptodate>
                </or>
            </condition>
            <uptodate property="obfuscation.up-to-date" targetfile="${obfuscator.destjar}">
                <srcfiles dir="${buildsystem.baton}"/>
            </uptodate>
        </target>
        <target name="skip-obfuscation" depends="proguard-init" if="obfuscation.up-to-date">
            <fail unless="obfuscated.classes.dir">Must set obfuscated.classes.dir</fail>
            <nb-overrideproperty name="buildsystem.baton" value="${obfuscated.classes.dir}"/>
        </target>
        <target name="proguard" depends="skip-obfuscation" description="Obfuscate project classes." unless="no.obfusc">
            <fail unless="obfuscated.classes.dir">Must set obfuscated.classes.dir</fail>
            <fail unless="obfuscator.srcjar">Must set obfuscator.srcjar</fail>
            <fail unless="obfuscator.destjar">Must set obfuscator.destjar</fail>
            <property name="obfuscator.classpath" value=""/>
            <dirname file="${obfuscator.srcjar}" property="obfuscator.srcjar.dir"/>
            <dirname file="${obfuscator.destjar}" property="obfuscator.destjar.dir"/>
            <mkdir dir="${obfuscator.srcjar.dir}"/>
            <mkdir dir="${obfuscator.destjar.dir}"/>
            <jar jarfile="${obfuscator.srcjar}" basedir="${buildsystem.baton}"/>
            <property name="obfuscation.custom" value=""/>
            <nb-obfuscate srcjar="${obfuscator.srcjar}" destjar="${obfuscator.destjar}" obfuscatorclasspath="${obfuscator.classpath}" classpath="${platform.bootclasspath}:${extra.classpath}" obfuscationLevel="${obfuscation.level}" extraScript="${obfuscation.custom}"/>
            <mkdir dir="${obfuscated.classes.dir}"/>
            <unjar src="${obfuscator.destjar}" dest="${obfuscated.classes.dir}"/>
            <nb-overrideproperty name="buildsystem.baton" value="${obfuscated.classes.dir}"/>
        </target>
        <!--obfuscate-->
        <target name="pre-obfuscate"/>
        <target name="post-obfuscate"/>
        <target name="obfuscate" depends="compile,pre-obfuscate,proguard,post-obfuscate" description="Obfuscate project classes."/>
        <!--lwuit-build-->
        <import file="lwuit.xml" optional="true"/>
        <target name="-lwuit-check">
            <condition property="lwuit.allowed">
                <and>
                    <available file="nbproject/lwuit.xml"/>
                    <isset property="is.mesdk_lwuit"/>
                </and>
            </condition>
        </target>
        <target name="-pre-lwuit-build" depends="-lwuit-check" if="lwuit.allowed"/>
        <target name="-lwuit-build" depends="-lwuit-check" if="lwuit.allowed">
            <antcall target="lwuit_build"/>
        </target>
        <target name="-post-lwuit-build" depends="-lwuit-check" if="lwuit.allowed"/>
        <target name="lwuit-build" depends="-lwuit-check,-pre-lwuit-build, -lwuit-build, -post-lwuit-build" if="lwuit.allowed"/>
        <!--preverify-->
        <target name="pre-preverify"/>
        <target name="do-preverify" if="cldc-platform.trigger">
            <fail unless="preverify.classes.dir">Must set preverify.classes.dir</fail>
            <mkdir dir="${preverify.sources.dir}"/>
            <copy todir="${preverify.sources.dir}">
                <fileset dir="${buildsystem.baton}" includes="**/*.class"/>
            </copy>
            <mkdir dir="${preverify.classes.dir}"/>
            <nb-preverify srcdir="${preverify.sources.dir}" destdir="${preverify.classes.dir}" classpath="${platform.bootclasspath}:${extra.classpath}" configuration="${platform.configuration}" platformhome="${platform.home}" platformtype="${platform.type}" commandline="${platform.preverifycommandline}"/>
            <copy todir="${preverify.classes.dir}">
                <fileset dir="${buildsystem.baton}" defaultexcludes="${filter.use.standard}" excludes="${filter.excludes.evaluated},${build.classes.excludes}"/>
            </copy>
            <nb-overrideproperty name="buildsystem.baton" value="${preverify.classes.dir}"/>
        </target>
        <target name="post-preverify"/>
        <target name="preverify" depends="obfuscate,lwuit-build,pre-preverify,do-preverify,post-preverify" description="Preverify project classes."/>
        <!--set-password-->
        <target name="set-password-init">
            <property name="sign.enabled" value="false"/>
            <condition property="skip-sign-keystore-password-input">
                <or>
                    <isfalse value="${sign.enabled}"/>
                    <and>
                        <isset property="sign.keystore"/>
                        <isset property="sign.keystore.password"/>
                        <not>
                            <equals arg1="${sign.keystore}" arg2="" trim="true"/>
                        </not>
                        <not>
                            <equals arg1="${sign.keystore.password}" arg2="" trim="true"/>
                        </not>
                    </and>
                </or>
            </condition>
            <condition property="skip-sign-alias-password-input">
                <or>
                    <isfalse value="${sign.enabled}"/>
                    <and>
                        <isset property="sign.keystore"/>
                        <isset property="sign.alias"/>
                        <isset property="sign.alias.password"/>
                        <not>
                            <equals arg1="${sign.keystore}" arg2="" trim="true"/>
                        </not>
                        <not>
                            <equals arg1="${sign.alias}" arg2="" trim="true"/>
                        </not>
                        <not>
                            <equals arg1="${sign.alias.password}" arg2="" trim="true"/>
                        </not>
                    </and>
                </or>
            </condition>
        </target>
        <target name="set-keystore-password" if="netbeans.home" unless="skip-sign-keystore-password-input">
            <nb-enter-password keystore="${sign.keystore}" passwordproperty="sign.keystore.password"/>
        </target>
        <target name="set-alias-password" if="netbeans.home" unless="skip-sign-alias-password-input">
            <nb-enter-password keystore="${sign.keystore}" keyalias="${sign.alias}" passwordproperty="sign.alias.password"/>
        </target>
        <target name="set-password" depends="set-password-init,set-keystore-password,set-alias-password"/>
        <!--create JAD-->
        <target name="add-configuration" unless="contains.manifest.configuration">
            <nb-output file="${dist.dir}/${dist.jad}" encoding="UTF-8" append="true">MicroEdition-Configuration: ${platform.configuration}
    </nb-output>
            <nb-output file="${manifest.build.file}" encoding="UTF-8" append="true">MicroEdition-Configuration: ${platform.configuration}
    </nb-output>
        </target>
        <target name="add-profile" unless="contains.manifest.profile">
            <nb-output file="${dist.dir}/${dist.jad}" encoding="UTF-8" append="true">MicroEdition-Profile: ${platform.profile}
    </nb-output>
            <nb-output file="${manifest.build.file}" encoding="UTF-8" append="true">MicroEdition-Profile: ${platform.profile}
    </nb-output>
        </target>
        <target name="create-jad" if="cldc-platform.trigger">
            <fail unless="dist.jad">Must set dist.jad</fail>
            <mkdir dir="${build.dir}"/>
            <dirname file="${dist.dir}/${dist.jad}" property="dist.jad.dir"/>
            <mkdir dir="${dist.jad.dir}"/>
            <condition property="evaluated.manifest.apipermissions" value="${manifest.apipermissions}">
                <not>
                    <equals arg1="${platform.profile}" arg2="MIDP-1.0"/>
                </not>
            </condition>
            <condition property="evaluated.manifest.pushregistry" value="${manifest.pushregistry}">
                <not>
                    <equals arg1="${platform.profile}" arg2="MIDP-1.0"/>
                </not>
            </condition>
            <condition property="contains.manifest.configuration">
                <contains substring="MicroEdition-Configuration: " string="${manifest.others}"/>
            </condition>
            <condition property="contains.manifest.profile">
                <contains substring="MicroEdition-Profile: " string="${manifest.others}"/>
            </condition>
            <property value="" name="evaluated.manifest.apipermissions"/>
            <property value="" name="evaluated.manifest.pushregistry"/>
            <property name="manifest.jad" value=""/>
            <property name="manifest.manifest" value=""/>
            <nb-output file="${dist.dir}/${dist.jad}" encoding="UTF-8">${manifest.midlets}${evaluated.manifest.apipermissions}${evaluated.manifest.pushregistry}${manifest.others}${manifest.jad}</nb-output>
            <nb-output file="${manifest.build.file}" encoding="UTF-8">${manifest.midlets}${evaluated.manifest.apipermissions}${evaluated.manifest.pushregistry}${manifest.others}${manifest.manifest}</nb-output>
            <antcall target="add-configuration" inheritall="true" inheritrefs="true"/>
            <antcall target="add-profile" inheritall="true" inheritrefs="true"/>
            <property name="manifest.available" value="true"/>
        </target>
        <!--do-extra-libs-->
        <target name="do-extra-libs" if="extra.classpath">
            <property name="dist.lib.dir" value="${dist.dir}/lib"/>
            <mkdir dir="${dist.lib.dir}"/>
            <copy todir="${dist.lib.dir}">
                <path path="${extra.classpath}"/>
                <flattenmapper/>
            </copy>
        </target>
        <!--nokiaS80-manifest-->
        <target name="nokiaS80-prepare-j9" if="nokiaS80-platform.trigger">
            <fail message="Main class is not set!">
                <condition>
                    <equals arg1="${main.class}" arg2="" trim="true"/>
                </condition>
            </fail>
            <mkdir dir="${build.dir}/j9"/>
            <taskdef name="j9builder" classname="org.netbeans.modules.j2me.cdc.project.J9Builder" classpath="${libs.cdc-ant-utils.classpath}"/>
            <j9builder jvmargs="${run.jvmargs}" mainclass="${main.class}" args="${application.args}" home="${platform.home}" dist="${j9.dist}" id="NOKIA" platform="${platform.type}" xlet="${main.class.xlet}" applet="${main.class.applet}" jarname="${dist.jar}"/>
            <copy file="${manifest.file}" tofile="${manifest.build.file}" failonerror="false"/>
            <property name="manifest.available" value="true"/>
            <loadfile property="nokia.manifest.j9" srcFile="${j9.dist}"/>
        </target>
        <target name="nokiaS80-prepare-manifest" depends="nokiaS80-prepare-j9" if="nokiaS80-platform.trigger" unless="nokia.icon.invalid">
            <pathconvert property="logo.icon.name" pathsep=" ">
                <path path="${nokiaS80.application.icon}"/>
                <chainedmapper>
                    <flattenmapper/>
                    <globmapper from="*" to="*"/>
                </chainedmapper>
        

    The error says class file is missing, you can try to clean and build.

Maybe you are looking for