Sharing J2ME & J2SE source with NetBeans

I will appologize in advance if I am in the wrong forum. However I could not find a forum for NetBeans so here is my problem:
This problem relates to NetBeans and the J2SE and J2ME Class Libraries. Maybe there is a simple answer to this, but I am unable to figure it out. The JARs are unique enough to where J2ME can not share a J2SE Class Library. I have a few classes that are identical in source between J2SE and J2ME. In NetBeans how can I organize my projects so I do not have to duplicate the source once each for J2SE and J2ME?
Thank you

us too. except we're working on a project that requires interfacing a mobile device with a pc. how exactly do we bridge the gap between the two if the device is running j2me and the pc is running j2se?if you have an answer please e-mail us at [email protected]
thanx

Similar Messages

  • Shared Data Source with prompted credentials - errors out.

    Using Data Tools (VS 2010) to build report.
    Have built a simple report while trying to diagnose this issue.  This report is created in a project that was originally built in BIDS2008 and migrated to Data Tools 2010.  This project contains an original shared dataset that does NOT
    error out.
    Report contains
         1) shared data source with properties set to prompted credentials.
         2) shared dataset using data source above
         3) 2 parameters (month and year)
         4) Report uses shared dataset
         5) 2 text boxes in the report body to display the parameters values.
    When I try to preview this report I get the error:
         The execution failed for the shared data set "xxx"
         Cannot create a connection to data source 'Data source for shared dataset'
         Security processing failed with reason "3" ("password missing")
    Now, if I changed that same shared dataset to use a static login and password; the report renders fine.
    What is going on???

    Hi RoseNeedsAVacation,
    When you use shared data source with "Prompt for credential" option, please use SQL Server login credential to u view the report in BIDS or SSDT report designer environment.
    Note: The shared data source will automatic switch to SQL Server authentication mode if we use "Prompt for credential" option.
    After you deploy your report and shared data source to report server, please remember to configure your shared data source to use "Credentials supplied by the user running the report" option. Furthermore, select "Use
    as Windows credentials when connecting to the data source" checkbox if the credentials that the user provides are Windows Authentication credentials. Do not select this check box if you are using database authentication (for example, SQL
    Server Authentication).
    For more information, please refer to the article below:
    New Data Source Page (Report Manager):
    http://technet.microsoft.com/en-us/library/ms180077(v=sql.100).aspx
    Regards,
    Elvis Long
    TechNet Community Support

  • J2me polish with netbeans    5.5?

    Hi i am trying to use J2ME polish with an existing midlet program i am working on but cant seem to get it to work.
    i have got one of the build.xml file from one of the samples and have placed it on my projects root folder. i then copied one of the resorces folder from the sample project and placed in in my projects root as well. When i try running the program i get a compile error below:
    Warning: unable to find following requested device-identifiers:
    S60Emulator
    Please check your <deviceRequirements> section in your build.xml script.
    C:\Documents and Settings\jonathan\My Documents\videoPoker\videoPoker\build.xml:70: Your device-requirements are too strict - no device fulfills them. Check the <deviceRequirements> section(s) in your build.xml script.
    im trying to run it on the s60 emulator and the default colourphone device emulator. hope you guys can help has i have not been able to get this j2me polish working for a while.
    How come when i try to use import de.enough.polish it tells me that it doesnt exist when i installed j2me polish succesfuly? how come i cant use it on my current default j2me project?
    i have got the latest jdk and wireless toolkit sdk and i have downloaded the mobile pack for netbeans 5.5

    Have you had any luck wih this problem? I'm having exactly the same problem now, starting to use J2ME Polish with NetBeans 5.5.1.
    Thanks!

  • J2me polish with netbeans

    Hello guys,
    I am trying to integrate j2me polish with netbeans but i am not able to do it . When i am building my mobile application with j2me polish it will giving me
    ----Unable to find the tool at the default location please specify where to find it with preverify attribute of the build element--- error.
    I am not able to get what happening if anybody know abt it please help me.
    Thanks in advance.

    hi have you figured out how to fix this error? because i am encountering the same thing

  • Problem sharing POJO Data Source while exporting

    Hi,<br>
    I have an issue that stops me exporting a report to PDF. I have two reports that share a POJO data source. The POJO is stored<br> in the session. The same POJO is being passed to both of the reports. While one of the them exports it perfectly the<br> other one fails <b>when the reports are opened simultaneously.</b> It does not fail if opened alone. Given below is the error.<br> I would like to know if there are any limitation that would stop exporting a report when sharing a data source concurrently.<br><br>
    8/27/09 8:47:42:791 EDT] 0000003b SystemErr     R log4j:WARN No appenders could be found for logger (com.crystaldecisions.reports.exporters.destination.disk.c)<br>
    [8/27/09 8:47:42:791 EDT] 0000003b SystemErr     R log4j:WARN Please initialize the log4j system properly.<br>
    [8/27/09 8:47:42:900 EDT] 0000003b SystemErr     R com.crystaldecisions.sdk.occa.report.lib.ReportSDKException: An error<br> occured while exporting the report---- Error code:-2147467259 Error code name:failed<br>
    [8/27/09 8:47:42:916 EDT] 0000003b SystemErr     R      at <br>com.crystaldecisions.sdk.occa.report.application.PrintOutputController.export(Unknown Source)<br>
    [8/27/09 8:47:42:916 EDT] 0000003b SystemErr     R      at <br>com.crystaldecisions.sdk.occa.report.application.PrintOutputController.export(Unknown Source)<br>
    [8/27/09 8:47:42:916 EDT] 0000003b SystemErr     R      at <br>com.crystaldecisions.reports.sdk.PrintOutputController.export(Unknown Source)<br>
    [8/27/09 8:47:42:916 EDT] 0000003b SystemErr     R      at <br>com.fb.am.servlets.WSReportServlet.doGet(WSReportServlet.java:46)<br>
    [8/27/09 8:47:42:916 EDT] 0000003b SystemErr     R      at javax.servlet.http.HttpServlet.service(HttpServlet.java:743)<br>
    [8/27/09 8:47:42:916 EDT] 0000003b SystemErr     R      at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)<br>
    [8/27/09 8:47:42:916 EDT] 0000003b SystemErr     R      at <br>com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:972)<br>
    [8/27/09 8:47:42:916 EDT] 0000003b SystemErr     R      at <br>com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:478)<br>
    [8/27/09 8:47:42:916 EDT] 0000003b SystemErr     R      at <br>com.ibm.ws.wswebcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:463)<br>
    [8/27/09 8:47:42:916 EDT] 0000003b SystemErr     R      at <br>com.ibm.ws.webcontainer.servlet.CacheServletWrapper.handleRequest(CacheServletWrapper.java:92)<br>
    [8/27/09 8:47:42:916 EDT] 0000003b SystemErr     R      at <br>com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:744)<br>
    [8/27/09 8:47:42:916 EDT] 0000003b SystemErr     R      at <br>com.ibm.ws.wswebcontainer.WebContainer.handleRequest(WebContainer.java:1433)<br>
    [8/27/09 8:47:42:916 EDT] 0000003b SystemErr     R      at <br>com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:93)<br>
    [8/27/09 8:47:42:916 EDT] 0000003b SystemErr     R      at <br>com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:465)
    [8/27/09 8:47:42:916 EDT] 0000003b SystemErr     R      at <br>com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInboundLink.java:394)<br>
    [8/27/09 8:47:42:916 EDT] 0000003b SystemErr     R      at <br>com.ibm.ws.http.channel.inbound.impl.HttpICLReadCallback.complete(HttpICLReadCallback.java:102)<br>
    [8/27/09 8:47:42:916 EDT] 0000003b SystemErr     R      at <br>com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:152)<br>
    [8/27/09 8:47:42:916 EDT] 0000003b SystemErr     R      at <br>com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:213)<br>
    [8/27/09 8:47:42:916 EDT] 0000003b SystemErr     R      at <br>com.ibm.io.async.AbstractAsyncFuture.fireCompletionActions(AbstractAsyncFuture.java:195)<br>
    [8/27/09 8:47:42:916 EDT] 0000003b SystemErr     R      at com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:136)<br>
    [8/27/09 8:47:42:916 EDT] 0000003b SystemErr     R      at <br>com.ibm.io.async.ResultHandler.complete(ResultHandler.java:194)<br>
    [8/27/09 8:47:42:916 EDT] 0000003b SystemErr     R      at <br>com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:741)<br>
    [8/27/09 8:47:42:916 EDT] 0000003b SystemErr     R      at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:863)<br>
    [8/27/09 8:47:42:916 EDT] 0000003b SystemErr     R      at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1510)<br>
    [8/27/09 8:47:42:916 EDT] 0000003b SystemErr     R Caused by: com.businessobjects.reports.sdk.d: An error occured while <br>exporting the report
         at com.businessobjects.reports.sdk.b.b.int(Unknown Source)<br>
         at com.businessobjects.reports.sdk.JRCCommunicationAdapter.request(Unknown Source)<br>
         at com.crystaldecisions.proxy.remoteagent.x.a(Unknown Source)<br>
         at com.crystaldecisions.proxy.remoteagent.q.a(Unknown Source)<br>
         at com.crystaldecisions.sdk.occa.report.application.dd.a(Unknown Source)<br>
         at com.crystaldecisions.sdk.occa.report.application.ReportSource.a(Unknown Source)<br>
         at com.crystaldecisions.sdk.occa.report.application.ReportSource.a(Unknown Source)<br>
         at com.crystaldecisions.sdk.occa.report.application.PrintOutputController.export(Unknown Source)<br>
         at com.crystaldecisions.sdk.occa.report.application.PrintOutputController.export(Unknown Source)<br>
         at com.crystaldecisions.reports.sdk.PrintOutputController.export(Unknown Source)<br>
         at com.fb.am.servlets.WSReportServlet.doGet(WSReportServlet.java:46)<br>
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:743)<br>
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)<br>
         at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:972)<br>
         at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:478)<br>
         at com.ibm.ws.wswebcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:463)<br>
         at com.ibm.ws.webcontainer.servlet.CacheServletWrapper.handleRequest(CacheServletWrapper.java:92)<br>
         at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:744)<br>
         at com.ibm.ws.wswebcontainer.WebContainer.handleRequest(WebContainer.java:1433)<br>
         at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:93)<br>
         at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:465)<br>
         at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInboundLink.java:394)<br>
         at com.ibm.ws.http.channel.inbound.impl.HttpICLReadCallback.complete(HttpICLReadCallback.java:102)<br>
         at com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:152)<br>
         at com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:213)<br>
         at com.ibm.io.async.AbstractAsyncFuture.fireCompletionActions(AbstractAsyncFuture.java:195)<br>
         at com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:136)<br>
         at com.ibm.io.async.ResultHandler.complete(ResultHandler.java:194)<br>
         at com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:741)<br>
         at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:863)<br>
         at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1510)<br>
    Caused by: com.crystaldecisions.reports.exporters.format.page.pdf.a.a: Unexpected exception thrown<br>
         at com.crystaldecisions.reports.exporters.format.page.pdf.b.a(Unknown Source)<br>
         at com.crystaldecisions.reports.a.e.if(Unknown Source)<br>
         at com.crystaldecisions.reports.formatter.a.c.if(Unknown Source)<br>
         at com.crystaldecisions.reports.formatter.a.c.a(Unknown Source)<br>
         ... 31 more
    Caused by: java.lang.IllegalArgumentException
         at com.crystaldecisions.reports.exporters.destination.disk.c.a(Unknown Source)<br>
         ... 35 more<br><br>
    [8/27/09 8:47:42:963 EDT] 0000003b SystemErr     R      at com.businessobjects.reports.sdk.b.b.int(Unknown Source)<br>
    [8/27/09 8:47:42:963 EDT] 0000003b SystemErr     R      at <br>com.businessobjects.reports.sdk.JRCCommunicationAdapter.request(Unknown Source)<br>
    [8/27/09 8:47:42:963 EDT] 0000003b SystemErr     R      at com.crystaldecisions.proxy.remoteagent.x.a(Unknown Source)<br>
    [8/27/09 8:47:42:963 EDT] 0000003b SystemErr     R      at com.crystaldecisions.proxy.remoteagent.q.a(Unknown Source)<br>
    [8/27/09 8:47:42:963 EDT] 0000003b SystemErr     R      at com.crystaldecisions.sdk.occa.report.application.dd.a(Unknown<br> Source)
    [8/27/09 8:47:42:963 EDT] 0000003b SystemErr     R      at <br>com.crystaldecisions.sdk.occa.report.application.ReportSource.a(Unknown Source)<br>
    [8/27/09 8:47:42:963 EDT] 0000003b SystemErr     R      at <br>com.crystaldecisions.sdk.occa.report.application.ReportSource.a(Unknown Source)<br>
    [8/27/09 8:47:42:978 EDT] 0000003b SystemErr     R      ... 24 more<br>
    [8/27/09 8:47:42:978 EDT] 0000003b SystemErr     R Caused by: com.crystaldecisions.reports.exporters.format.page.pdf.a.a:<br> Unexpected exception thrown<br>
         at com.crystaldecisions.reports.exporters.format.page.pdf.b.a(Unknown Source)<br>
         at com.crystaldecisions.reports.a.e.if(Unknown Source)<br>
         at com.crystaldecisions.reports.formatter.a.c.if(Unknown Source)<br>
         at com.crystaldecisions.reports.formatter.a.c.a(Unknown Source)<br>
         at com.businessobjects.reports.sdk.b.b.int(Unknown Source)<br>
         at com.businessobjects.reports.sdk.JRCCommunicationAdapter.request(Unknown Source)<br>
         at com.crystaldecisions.proxy.remoteagent.x.a(Unknown Source)<br>
         at com.crystaldecisions.proxy.remoteagent.q.a(Unknown Source)<br>
         at com.crystaldecisions.sdk.occa.report.application.dd.a(Unknown Source)<br>
         at com.crystaldecisions.sdk.occa.report.application.ReportSource.a(Unknown Source)<br>
         at com.crystaldecisions.sdk.occa.report.application.ReportSource.a(Unknown Source)<br>
         at com.crystaldecisions.sdk.occa.report.application.PrintOutputController.export(Unknown Source)<br>
         at com.crystaldecisions.sdk.occa.report.application.PrintOutputController.export(Unknown Source)<br>
         at com.crystaldecisions.reports.sdk.PrintOutputController.export(Unknown Source)<br>
         at com.fb.am.servlets.WSReportServlet.doGet(WSReportServlet.java:46)<br>
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:743)<br>
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)<br>
         at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:972)<br>
         at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:478)<br>
         at com.ibm.ws.wswebcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:463)<br>
         at com.ibm.ws.webcontainer.servlet.CacheServletWrapper.handleRequest(CacheServletWrapper.java:92)<br>
         at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:744)<br>
         at com.ibm.ws.wswebcontainer.WebContainer.handleRequest(WebContainer.java:1433)<br>
         at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:93)<br>
         at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:465)<br>
         at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInboundLink.java:394)<br>
         at com.ibm.ws.http.channel.inbound.impl.HttpICLReadCallback.complete(HttpICLReadCallback.java:102)<br>
         at com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:152)<br>
         at com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:213)<br>
         at com.ibm.io.async.AbstractAsyncFuture.fireCompletionActions(AbstractAsyncFuture.java:195)<br>
         at com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:136)<br>
         at com.ibm.io.async.ResultHandler.complete(ResultHandler.java:194)<br>
         at com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:741)<br>
         at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:863)<br>
         at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1510)<br>
    Caused by: java.lang.IllegalArgumentException<br>
         at com.crystaldecisions.reports.exporters.destination.disk.c.a(Unknown Source)<br>
         ... 35 more<br><br>
    thanks
    Ravi Narala

    This is a Plain java object with getters and setters. . Below is the sample
    public class Test_POJO {
         private String advantageDis;
         private int vehCount;
         private int driverCount;
         private String agentNumber;
         private String accountInfo;
         private String accountType; 
         public String getAccountInfo() {
              return accountInfo;
         public void setAccountInfo(String accountInfo) {
              this.accountInfo = accountInfo;
         public String getAccountType() {
              return accountType;
         public void setAccountType(String accountType) {
              this.accountType = accountType;
         public String getAdvantageDis() {
              return advantageDis;
         public void setAdvantageDis(String advantageDis) {
              this.advantageDis = advantageDis;
         public String getAgentNumber() {
              return agentNumber;
         public void setAgentNumber(String agentNumber) {
              this.agentNumber = agentNumber;
         public int getDriverCount() {
              return driverCount;
         public void setDriverCount(int driverCount) {
              this.driverCount = driverCount;
    This object is on the session with values. This POJO is shared by 2 reports. When I run the 2 reports simultaneously. One of them fails. If I try to access one at a time then it works.
    thanks,
    Ravi

  • Problem with Netbeans 7.1 and ME SDK 3.0.5 plugin

    Hi!
    I have problem plugin ME SDK 3.0.5 to Netbeans 7.1. When I try to install plugin into Netbeans I get this kind informations:
    Warning - could not install some modules: Profiler (Java ME Projects Support) - The module named org.netbeans.modules.profiler/1 was needed and not found. Java ME SDK CPU Profiler Snapshot Viewer - The module named org.netbeans.modules.profiler/1 was needed and not found. 5 further modules could not be installed due to the above problems.
    Does anyone know what is wrong?
    I am truly grateful for the answer!

    Hi Anvi,
    I think you posted in the right place as the J2ME SDK Team read this forum (though they sometimes don't respond promptly as we would have liked). I also got the same issue as you, but check out the responses by the J2ME SDK Team to: https://blogs.oracle.com/javamesdk/entry/update_java_me_sdk_through
    It seems there are issues with Netbeans 7.1, and they are fixing things for the next release for Netbeans 7.1.1 so I am sure they are aware of problems that we are encountering. Its fine for Netbeans 6.9/7 if you cannot wait though.

  • Java 1.4.2 with NetBeans IDE 3.5 - Error Message, please help

    Hello, I have downloaded the "J2SE v 1.4.2 with NetBeans IDE v 3.5 Cobundle" for windows.
    I ran the install, everything went fine, but when the install finished it said there was an error and to please refer to the log file.
    Here is what the log file says:
    "Installing J2SDK..."
    "Finished Installing J2SDK..."
    (Jul 1, 2003 7:53:14 AM), Setup.product.install, com.sun.installer.InstallJ2sdkAction, err, Error occured while installing [0] -> D:\Program Files\j2sdk_nb\_uninst\custom-install.bat "D:\Program Files\j2sdk_nb\install.log" "D:\Program Files\j2sdk_nb\j2sdk1.4.2\" D: "D:\Program Files\j2sdk_nb\_uninst"
    Now when I try to run "NetBeans IDE 3.5" I get an error message:
    Cannont load jvm.dll
    Does anyone know how to resolve this, I have tried uninstalling and re-installing and I get the same problem.
    Thanks,
    -Mike

    Hello, I have downloaded the "J2SE v 1.4.2 with
    NetBeans IDE v 3.5 Cobundle" for windows.
    I ran the install, everything went fine, but when the
    install finished it said there was an error and to
    please refer to the log file.
    Does anyone know how to resolve this, I have tried
    uninstalling and re-installing and I get the same
    problem.
    Thanks,
    -MikeHi Mike,
    Even I got a similar error message inspite of trying to re-install atleast 10 times! So I gave up and did this:
    1) I downloded J2SE SDK 1.4.2 seperately.
    2) I then downloded JPad Pro IDE (latest version).
    Now both are working really fine for me. :-) Could'nt be bothered to try again and again.
    Its up to you if you want to get the NetBeans installation done but all I wanted was a good IDE and the latest version of the JDK. I have been using it for the last 3 days and it is working perfectly fine!
    Regards :-)
    Vijay

  • [svn:osmf:] 15867: asdocs: Update to accomodate generating OSMF for Flex 4. 0 asdocs from OSMF 1.0 source with as few changes as possible.

    Revision: 15867
    Revision: 15867
    Author:   [email protected]
    Date:     2010-05-02 19:36:51 -0700 (Sun, 02 May 2010)
    Log Message:
    asdocs: Update to accomodate generating OSMF for Flex 4.0 asdocs from OSMF 1.0 source with as few changes as possible.
    Modified Paths:
        osmf/trunk/framework/OSMF/org/osmf/display/ScaleMode.as

    bringrags wrote:
    We do indeed recommend replacing the osmf.swc from a Flex 4 project if you're going to use OSMF in Flex 4, but you may (will?) run into issues if you attempt to use Flex's VideoPlayer within that project.  Note also that you'll need to replace osmf.swc for each individual project (or edit your flex-config.xml file to point to the updated SWC).
    In terms of future plans, we are working closely with the Flex team to ensure that their next release ships with the latest OSMF version.  No ETA on that though.
    I have followed the recommendations and removed the old version of swc and replaced it with the release version. And so far the video and audio players work fine without errors.
    But looking at the flex-config.xml I see that it still points to the old version.
    <!-- OSMF SWC -->
        <runtime-shared-library-path>
    <path-element>libs/osmf.swc</path-element>
    <rsl-url>http://fpdownload.adobe.com/pub/swz/flex/4.0.0.14159/osmf_flex.4.0.0.13495.swz</rsl-url>
    <policy-file-url>http://fpdownload.adobe.com/pub/swz/crossdomain.xml</policy-file-url>
    <rsl-url>osmf_flex.4.0.0.13495.swz</rsl-url>
    <policy-file-url></policy-file-url>
    </runtime-shared-library-path>
    Could you elaborate a little bit more on editing this part of flex-config.xml?
    Thanks,
    FTQuest

  • Problem of J2SE1.4.2 with NetBeans Cobundle on XP

    I download J2SE v 1.4.2 with NetBeans IDE v 3.5 Cobundle and install it on XP professional.
    Then modify system variable:
    Path: ......;C:\j2sdk_nb\j2sdk1.4.2\bin;......
    Add system variable:
    CLASSPATH: .;C:\j2sdk_nb\j2sdk1.4.2lib\tools.jar;C:\j2sdk_nb\j2sdk1.4.2\lib\dt.jar
    In command window, I can execute javac. BUT when I run java, always get error:
    "Exception in thread "main" java.lang.NoSuchMethodError: main".
    HELP!!! Thanx!

    This sounds like a basic problem with understanding java applications. I suggest you try the tutorial here: http://java.sun.com/docs/books/tutorial/getStarted/cupojava/win32.html
    Your code must have a method named main (java is case sensitive) and it must look exactly like:public static void main(String[] args)The error message you posted indicates that the class you are trying to execute does not have such a method.

  • Webservices with Netbeans 4.1

    I tried to create a Webservice with Netbeans (- > http://www.netbeans.org/kb/41/tutorial-webservice.html).
    But when I build the project, I get:
    wscompile-init:
    /Users/sam/WebApplication2/nbproject/build-impl.xml:226: taskdef class com.sun.xml.rpc.tools.ant.Wscompile cannot be found
    Ok, the jax-rpc-impl.jar does not seem in the classpath of ant. When I add it i will get:
    command line: wscompile /System/Library/Frameworks/JavaVM.framework/Versions/1.4.2/Home/bin/java -classpath /Users/sam/WebApplication2/build/web/WEB-INF/classes com.sun.xml.rpc.tools.wscompile.Main -d /Users/sam/WebApplication2/build/generated/wsbinary -define -features:documentliteral,strict,useonewayoperations -keep -mapping /Users/sam/WebApplication2/build/web/WEB-INF/NewWebService-mapping.xml -nd /Users/sam/WebApplication2/build/web/WEB-INF/wsdl -s /Users/sam/WebApplication2/build/generated/wsservice -verbose -Xprintstacktrace /Users/sam/WebApplication2/src/java/hui/NewWebService-config.xml
    Exception in thread "main" java.lang.NoClassDefFoundError: com/sun/xml/rpc/tools/wscompile/Main
    /Users/sam/WebApplication2/nbproject/build-impl.xml:237: wscompile failed
    It does not found the class com.sun.xml.rpc.tools.wscompile.Main, probably because no -classpath specified (see the command line of wscompile)
    What can I do?
    PS: Aren't the guys from Netbeans doing any testing?

    Can you post the relevant part of the Ant script? It's a bit hard to tell what's going on here (at least, for me :) It still looks like it can't find the JAX-RPC JAR. For me, this JAR is called 'jaxrpc-impl.jar', though I have JWSDP1.5 rather than Netbeans.
    If it helps, I initialise wscompile in my Ant script with the following:
      <property name="jwsdp.dir" value="C:/common/dev/jwsdp-1.5"/>
      <path id="wscompile.classpath">
        <pathelement location="${build.dir}/airline-ejb_jar"/>
        <fileset dir="${jwsdp.dir}/jwsdp-shared/lib">
          <include name="*.jar"/>
        </fileset>
        <fileset dir="${jwsdp.dir}/jaxp/lib/endorsed">
          <include name="*.jar"/>
        </fileset>
        <fileset dir="${jwsdp.dir}/jaxrpc/lib">
          <include name="*.jar"/>
        </fileset>
        <fileset dir="${jwsdp.dir}/saaj/lib">
          <include name="*.jar"/>
        </fileset>
      </path>
      <taskdef name="wscompile" classname="com.sun.xml.rpc.tools.ant.Wscompile">
        <classpath refid="wscompile.classpath"/>
      </taskdef>--Tim                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • Problem with netbeans and WTK.

    Hi I reinstalled my computer...
    I have installed "J2me with netbeans "
    when I am running my project (the build is ok)
    my emulator refuses to load or when it lodes it "fly" out after few seconds
    I traied to reinstall netbeans ,
    instaled WTK in a different folder (then inside netbeans)
    but nothings seems to work
    I am hopeless...
    PLz HELP!!!

    Hi Anvi,
    I think you posted in the right place as the J2ME SDK Team read this forum (though they sometimes don't respond promptly as we would have liked). I also got the same issue as you, but check out the responses by the J2ME SDK Team to: https://blogs.oracle.com/javamesdk/entry/update_java_me_sdk_through
    It seems there are issues with Netbeans 7.1, and they are fixing things for the next release for Netbeans 7.1.1 so I am sure they are aware of problems that we are encountering. Its fine for Netbeans 6.9/7 if you cannot wait though.

  • Problem with Netbeans IDE 5.0: Building Gui

    Hello,
    I have the following problem with Netbeans IDE 5.0 (I made the same with netbeans 3.6 and it works properly):
    Step 1) Create a myJPanel class (new JPanel Form)
    Step 2) make a simple operation on myJPanel such as adding a JTable.
    Step 3) Create a myJForm Class (new JFrame Form)
    Step 4) Adding a JPanel to myJFrame (default name jPanel1)
    Step 5) Select JPanle1 within myJFrame and go to code-> custom creation code and write "new myJPanel();"
    this should set the jPanel1 (and all its contents and behaviours) created
    in step 4 equals to myJPanel();
    Step 6) run myJFrame;
    ........ and nothing happens. It is dispalyed just a gray JFrame.
    It seems that myJFrame is able to istantiate myJPanel() but is not able to paint it. what's wrong?
    Hope you may help me,
    thx

    Unfortunately, Netbeans 3.6 files and Netbeans 5 files are not compatible. Except the Java source files, Netbeans uses other aditional files such as xml files etc for forming GUI and other reasons. I have also faced the same problem with you. Good luck.

  • Sharing iPhoto and iTunes with multiple local users

    My wife and I share the Intel iMac and we want to share both the iTunes and iPhoto libraries...
    Can I just place them in the Users/Shared folder, do an Option (first time) launch from each account to identify it's location and can we both access them from there, or is there more to it...
    We also want to be able to import and download photos/music from either account into the same library....
    thanks

    Shawn:
    Here are some suggested methods to share:
    iPhoto: Sharing libraries among multiple users
    http://ad.hominem.org/log/2005/07/acl.php
    http://discussions.apple.com/thread.jspa?messageID=2151309&#2151309 (see Lori's post and links)
    http://discussions.apple.com/thread.jspa?threadID=579542&tstart=0
    http://www.captnswing.net/2004/03/20/shareiphotolibrary.html
    And if you'd like to have each user have a total independent library while sharing the same source files see Tutorial #3.
    Do you Twango?
    TIP: For insurance against the iPhoto database corruption that many users have experienced I recommend making a backup copy of the Library6.iPhoto database file and keep it current. If problems crop up where iPhoto suddenly can't see any photos or thinks there are no photos in the library, replacing the working Library6.iPhoto file with the backup will often get the library back. By keeping it current I mean backup after each import and/or any serious editing or work on books, slideshows, calendars, cards, etc. That insures that if a problem pops up and you do need to replace the database file, you'll retain all those efforts. It doesn't take long to make the backup and it's good insurance.
    I've written an Automator workflow application (requires Tiger), iPhoto dB File Backup, that will copy the selected Library6.iPhoto file from your iPhoto Library folder to the Pictures folder, replacing any previous version of it. You can download it at Toad's Cellar. Be sure to read the Read Me pdf file.

  • Home sharing does not work with iTunes 12

    I have been using home sharing with iTunes a lot, mainly to stream TV shows from my Mac Pro (2008) to my Apple TV (3rd Gen). But after installing Yosemite and iTunes 12 it doesn't work any longer. My Apple TV finds the iTunes Library, but can't connect with it. At the same time home sharing worked just fine with my iPhone 5 and iPad 2 (iOS 8.0.2). After installing iOS 8.1 home sharing with my iOS devices doesn't work, too – same problem as with Apple TV: iTunes library is found but devices can't connect with it.
    I already tried to solve the problem with the suggestions on Apples troubleshooting page:  Fehlerbehebungsmaßnahmen für die Privatfreigabe
    My setup:
    Mac Pro (2008) with OS X 10.10 (14A389), iTunes 12.0.1.26, connected via Ethernet and WiFi
    Router: Fritz!Box Fon WLAN 7270
    iPhone 5 with iOS 8.1
    iPad 2 with 8.1
    Apple TV (3rd Gen), newest software update, connected via Ethernet
    Any ideas, what the reason for that problem could be and how to solve it?
    Thanks a lot in advance.
    BTW: Sorry for my English. I am not a native speaker.
    Greetings from Germany

    I had the same problem after updating to iTunes 12 and using my iPhone 6.
    I have solved it by doing these simple steps:
    1. Turn off Home Sharing in iTunes. Close it.
    2. In your iOS 8 device, Turn on Home Sharing: Settings/Music/Home Sharing
    3. Open back iTunes
    It looks like in one of the updates, possibly iOS 8.1, had signed off Home Sharing completely.

  • Home sharing does not work with new mountain lion update.

    home sharing does not work with new mountain lion update. Does anyone else have the same issue. Updated all computers in my home, deauthorized and reauthorized each computer. turn off home sharing and turned it back on. don't know what else to do..please help...

    Our Apple TVs continue to lose connection ever since installing Mountain Lion on the host computer. The only thing that fixes them is to quit and relaunch iTunes, which only works unti the ATV goes to sleep. If a movie is paused for more than a few minutes and the ATV goes to sleep, pressing play again on the remote is greeted with "There are no movies on this computer" or "Turn on Home Sharing."
    If we stop a video on one ATV and attempt to resume it in another room, the error begins again. The other ATV can't connect until iTunes is relaunched.
    My guess is that it has something to do with the new [annoying] security settings. But I still haven't found a fix other than restarting iTunes everytime we want to watch something from our downloads. Fail.

Maybe you are looking for

  • Processamento de Cancelamentos de Notas no SAP GRC

    Bom dia, Tivemos uma situação no nosso projeto em que foram realizadas alguns cancelamentos massivos onde o GRC sofreu com problemas de performance e algumas notas demoraram grande tempo para terem seu cancelamento homologado. Depois de algumas análi

  • DG primary and standby audit

    Hi Saurab/Ashide 11.2.0.1 Aix 6.1 I have set audit to OS my primary db PROD as follows: *.audit_file_dest='/var/log/oracle/prod' *.audit_sys_operations=TRUE *.audit_trail='OS' *.audit_syslog_level='LOCAL5.INFO' Is it ok not to setup the standby? or l

  • Lightroom 2.6 license fails

    I have been using Lightroom from version 1. I upgraded to version 2 when it came out and have been updating to minor releases all along up to v2.5. My OS and machine through this time was Windows XP on and HP workstation. Recently I 'upgraded' to Win

  • Siebel EDQ batch job performance

    Hi there, We are using Siebel Public Sector 8.2.2.4 with EDQ 11.1.1.7 version to clean up existing contact records and also set up real-time deduplication for ongoing contacts.  We didn't tune any parameters both from Siebel and EDQ side till now. We

  • Google certificates

    Hello. My new Google app is giving me error on purchase: "This version of the application is not configured for billing through Google Play." At the same time my old apps i created year ago are working correctly. Do i need to recreate my android cert