Hello world tutorial

is there any simple tutorials for starting j2 me like the classic helloworld.
ones that explain the code that is. ive looked at 2 for getting started on this site but they dont really explain the code, more about getting the examples build and running.

package greeting;
import javax.microedition.midlet.*;
import javax.microedition.lcdui.*;
public class HelloWorld extends MIDlet implements CommandListener
private Display display ;
private TextBox textBox ;
private Command quitCommand;
public void startApp()
display = Display.getDisplay(this);
quitCommand = new Command("Quit", Command.SCREEN, 1);
textBox = new TextBox("Hello World", "My first MIDlet", 40, 0);
textBox .addCommand(quitCommand);
textBox .setCommandListener(this);
display .setCurrent(textBox );
public void pauseApp()
public void destroyApp(boolean unconditional)
public void commandAction(Command choice, Displayable displayable)
if (choice == quitCommand)
destroyApp(false);
notifyDestroyed();
Compiling Hello World
javac -d d:\j2me\tmp_classes -target 1.1 -bootclasspath
d:\j2me\midp1.0.3fcs\classes HelloWorld.java
Running Hello World
midp -classpath d:\j2me\classes greeting.HelloWorld
I have a very good documentation about this, if you want them.... just let me know.

Similar Messages

  • Hello World Tutorial not working. processFormRequest not called

    In 9iJDeveloper when running the HelloWorld tutorial, I enter a value in the 'Hello' box, and press 'Go'. The page refreshes, but the value entered does not get displayed. No Information box is displayed, as it should according to the tutorial. So, I ran under debug, and it appears that in HelloWorldMainCO only processRequest is called. The breakpoint in processFormRequest is never reached.
    I have tried the other tutorials, and no 'POST's are working.
    However, when I logon to applications as 'OA Framework ToolBox Tutorial' responsibility and run the tutorials they work fine.
    Any help will be appreciated.

    Hi,
    I am having the same problem. We could be facing the same issue. I am following this issue in the thread 'Hello World not working'. You are welcome if you want to join us there.
    Thanks
    Sandeep

  • Problem running Hello World tutorial from Embedded OC4J Server in JDev

    Hi All,
    I am trying to setup my JDeveloper 9i to run the toolbox tutorial projects. I setup the JDEV_USER_HOME, .dbc file, database connection and added the proper responsibilities for the user used in runtime connection, and am not able to successfully run the Hello World page. I get the following error after I click on the link in the test_fwktutorial.jsp. Can anyone please help me out?
    oracle.apps.fnd.framework.OAException: Application: FND, Message Name: SQL_PLSQL_ERROR. Tokens: ROUTINE = createSession(int, String)(userid=6','0CB08790D63136AEE044080020884BA737960692413709198236595623945829'); REASON = java.sql.SQLException: ORA-06550: line 1, column 49:
    PLS-00306: wrong number or types of arguments in call to 'CREATESESSION'
    ORA-06550: line 1, column 43:
    PL/SQL: Statement ignored
    ; ERRNO = 6550;
         at oracle.apps.fnd.framework.server.OAExceptionUtils.processAOLJErrorStack(OAExceptionUtils.java:974)
         at oracle.apps.fnd.framework.OACommonUtils.processAOLJErrorStack(OACommonUtils.java:866)
         at oracle.apps.fnd.framework.webui.OAPageBean.validateUser(OAPageBean.java:4710)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:704)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:509)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:430)
         at OA.jspService(OA.jsp:33)
         at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:317)
         at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:465)
         at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:379)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:727)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:306)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:767)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:259)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:106)
         at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:803)
         at java.lang.Thread.run(Thread.java:534)
    ## Detail 0 ##
    oracle.apps.fnd.framework.OAException: Application: FND, Message Name: FND_GENERIC_MESSAGE. Tokens: MESSAGE = java.sql.SQLException: ORA-06550: line 1, column 49:
    PLS-00306: wrong number or types of arguments in call to 'CREATESESSION'
    ORA-06550: line 1, column 43:
    PL/SQL: Statement ignored
         at oracle.apps.fnd.framework.OAException.wrapperException(OAException.java:891)
         at oracle.apps.fnd.framework.OAException.wrapperException(OAException.java:865)
         at oracle.apps.fnd.framework.server.OAExceptionUtils.processAOLJErrorStack(OAExceptionUtils.java:980)
         at oracle.apps.fnd.framework.OACommonUtils.processAOLJErrorStack(OACommonUtils.java:866)
         at oracle.apps.fnd.framework.webui.OAPageBean.validateUser(OAPageBean.java:4710)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:704)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:509)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:430)
         at OA.jspService(OA.jsp:33)
         at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:317)
         at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:465)
         at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:379)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:727)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:306)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:767)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:259)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:106)
         at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:803)
         at java.lang.Thread.run(Thread.java:534)
    ## Detail 0 ##
    java.sql.SQLException: ORA-06550: line 1, column 49:
    PLS-00306: wrong number or types of arguments in call to 'CREATESESSION'
    ORA-06550: line 1, column 43:
    PL/SQL: Statement ignored
         at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:134)
         at oracle.jdbc.ttc7.TTIoer.processError(TTIoer.java:289)
         at oracle.jdbc.ttc7.Oall7.receive(Oall7.java:583)
         at oracle.jdbc.ttc7.TTC7Protocol.doOall7(TTC7Protocol.java:1986)
         at oracle.jdbc.ttc7.TTC7Protocol.parseExecuteFetch(TTC7Protocol.java:1144)
         at oracle.jdbc.driver.OracleStatement.executeNonQuery(OracleStatement.java:2176)
         at oracle.jdbc.driver.OracleStatement.doExecuteOther(OracleStatement.java:2050)
         at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:2959)
         at oracle.jdbc.driver.OraclePreparedStatement.executeUpdate(OraclePreparedStatement.java:650)
         at oracle.jdbc.driver.OraclePreparedStatement.execute(OraclePreparedStatement.java:726)
         at oracle.apps.fnd.common.WebAppsContext.createSession(WebAppsContext.java:2698)
         at oracle.apps.fnd.common.WebAppsContext.createSession(WebAppsContext.java:2615)
         at oracle.apps.fnd.common.WebAppsContext.createSession(WebAppsContext.java:2561)
         at oracle.apps.fnd.common.WebAppsContext.createAnonymousSession(WebAppsContext.java:4768)
         at oracle.apps.fnd.common.WebRequestUtil.setGuestSession(WebRequestUtil.java:1246)
         at oracle.apps.fnd.framework.webui.OAPageBean.validateUser(OAPageBean.java:4708)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:704)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:509)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:430)
         at OA.jspService(OA.jsp:33)
         at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:317)
         at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:465)
         at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:379)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:727)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:306)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:767)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:259)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:106)
         at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:803)
         at java.lang.Thread.run(Thread.java:534)
    oracle.apps.fnd.framework.OAException: Application: FND, Message Name: FND_GENERIC_MESSAGE. Tokens: MESSAGE = java.sql.SQLException: ORA-06550: line 1, column 49:
    PLS-00306: wrong number or types of arguments in call to 'CREATESESSION'
    ORA-06550: line 1, column 43:
    PL/SQL: Statement ignored
         at oracle.apps.fnd.framework.OAException.wrapperException(OAException.java:891)
         at oracle.apps.fnd.framework.OAException.wrapperException(OAException.java:865)
         at oracle.apps.fnd.framework.server.OAExceptionUtils.processAOLJErrorStack(OAExceptionUtils.java:980)
         at oracle.apps.fnd.framework.OACommonUtils.processAOLJErrorStack(OACommonUtils.java:866)
         at oracle.apps.fnd.framework.webui.OAPageBean.validateUser(OAPageBean.java:4710)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:704)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:509)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:430)
         at OA.jspService(OA.jsp:33)
         at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:317)
         at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:465)
         at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:379)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:727)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:306)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:767)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:259)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:106)
         at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:803)
         at java.lang.Thread.run(Thread.java:534)
    ## Detail 0 ##
    java.sql.SQLException: ORA-06550: line 1, column 49:
    PLS-00306: wrong number or types of arguments in call to 'CREATESESSION'
    ORA-06550: line 1, column 43:
    PL/SQL: Statement ignored
         at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:134)
         at oracle.jdbc.ttc7.TTIoer.processError(TTIoer.java:289)
         at oracle.jdbc.ttc7.Oall7.receive(Oall7.java:583)
         at oracle.jdbc.ttc7.TTC7Protocol.doOall7(TTC7Protocol.java:1986)
         at oracle.jdbc.ttc7.TTC7Protocol.parseExecuteFetch(TTC7Protocol.java:1144)
         at oracle.jdbc.driver.OracleStatement.executeNonQuery(OracleStatement.java:2176)
         at oracle.jdbc.driver.OracleStatement.doExecuteOther(OracleStatement.java:2050)
         at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:2959)
         at oracle.jdbc.driver.OraclePreparedStatement.executeUpdate(OraclePreparedStatement.java:650)
         at oracle.jdbc.driver.OraclePreparedStatement.execute(OraclePreparedStatement.java:726)
         at oracle.apps.fnd.common.WebAppsContext.createSession(WebAppsContext.java:2698)
         at oracle.apps.fnd.common.WebAppsContext.createSession(WebAppsContext.java:2615)
         at oracle.apps.fnd.common.WebAppsContext.createSession(WebAppsContext.java:2561)
         at oracle.apps.fnd.common.WebAppsContext.createAnonymousSession(WebAppsContext.java:4768)
         at oracle.apps.fnd.common.WebRequestUtil.setGuestSession(WebRequestUtil.java:1246)
         at oracle.apps.fnd.framework.webui.OAPageBean.validateUser(OAPageBean.java:4708)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:704)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:509)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:430)
         at OA.jspService(OA.jsp:33)
         at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:317)
         at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:465)
         at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:379)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:727)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:306)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:767)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:259)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:106)
         at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:803)
         at java.lang.Thread.run(Thread.java:534)
    Thank you,
    Kitty

    Please note, you will not get ORA-xxx error if database connection is not established.
    You might be using either wrong dbc file(may be dbc of other instance) or wrong jdeveloper version.
    To find out correct jdeveloper version, refer the following link.
    http://prasanna-adf.blogspot.com/2008/11/new-to-oaf.html
    --Prasanna                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • Following the Hello World Tutorial for Microsoft Windows - PROBLEM

    Okay, I have my Command Prompt up and I was on the C Drive, I put in javaAnd a bunch of text came up, then I wanted to change HelloWorldApp.java to a .class file so I typed in javac HelloWorldApp.javaAnd an error popped up:
    'javac' is not recognized as an internal or external command,
    operable program or batch file.Why? I have been following the Tutorial very closely.

    Stop double posting!This is a new Question anyways...No it isn't.Reply 15 and 16 in http://forum.java.sun.com/thread.jspa?threadID=5134072
    gives you the solution.Did you atleast read the FAQ whose link i have posted in reply 16.

  • Is there any flascc swc Hello World tutorial?

    Hi,
    I saw samples from flascc. But as for swc lib creationg - it's too complicated. Who can share samples with simple things like sending from flash to c++ data and back it using swc?

    Is this blog post useful?
    http://blogs.adobe.com/flascc/2012/12/08/operating-on-actionscript-objects-in-c/

  • Hello World in Web Dynpro Java : exceptions

    Hi
    I am trying out the Hello World tutorial. But hit the error after the deployment and trial run. Please advice. Thanks in advance.
    500   Internal Server Error
    Failed to process request. Please contact your system administrator.
    java.lang.IllegalArgumentException: -1
         at com.sap.tc.webdynpro.clientserver.uielements.adaptbase.IndexedItemsIterator.advanceIndex(IndexedItemsIterator.java:104)
         at com.sap.tc.webdynpro.clientserver.uielib.standard.uradapter.GridLayoutAdapter$Cells.doNext(GridLayoutAdapter.java:368)
         at com.sap.tc.webdynpro.clientserver.uielements.adaptbase.IndexedItemsIterator.next(IndexedItemsIterator.java:54)
         at com.sap.tc.ur.renderer.nn7.GridLayoutRenderer.renderGridLayoutRowFragment(GridLayoutRenderer.java:401)
         at com.sap.tc.ur.renderer.nn7.GridLayoutRenderer.renderGridLayoutFragment(GridLayoutRenderer.java:312)
         at com.sap.tc.ur.renderer.nn7.GridLayoutRenderer.render(GridLayoutRenderer.java:79)
         at com.sap.tc.webdynpro.clientimpl.html.renderer.uielements.base.RenderManager.render(RenderManager.java:434)
         at com.sap.tc.webdynpro.clientimpl.html.renderer.uielements.base.RenderManager.render(RenderManager.java:133)
         at com.sap.tc.ur.renderer.nn7.ScrollContainerRenderer.renderScrollContainerFragment(ScrollContainerRenderer.java:572)
         at com.sap.tc.ur.renderer.nn7.ScrollContainerRenderer.render(ScrollContainerRenderer.java:74)
         at com.sap.tc.webdynpro.clientimpl.html.renderer.uielements.base.RenderManager.render(RenderManager.java:434)
         at com.sap.tc.webdynpro.clientimpl.html.renderer.uielements.base.RenderManager.render(RenderManager.java:133)
         at com.sap.tc.webdynpro.clientimpl.html.renderer.uielements.base.UiWindowRenderer.render(UiWindowRenderer.java:52)
         at com.sap.tc.webdynpro.clientimpl.html.renderer.uielements.base.RenderManager.render(RenderManager.java:434)
         at com.sap.tc.webdynpro.clientimpl.html.renderer.uielements.base.RenderManager.render(RenderManager.java:133)
         at com.sap.tc.webdynpro.clientimpl.html.client.HtmlClient.sendHtml(HtmlClient.java:1056)
         at com.sap.tc.webdynpro.clientimpl.html.client.HtmlClient.fillDynamicTemplateContext(HtmlClient.java:456)
         at com.sap.tc.webdynpro.clientimpl.html.client.HtmlClient.sendResponse(HtmlClient.java:1240)
         at com.sap.tc.webdynpro.clientimpl.html.client.HtmlClient.retrieveData(HtmlClient.java:252)
         at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.doRetrieveData(WindowPhaseModel.java:595)
         at com.sap.tc.webdynpro.clientserver.window.WindowPhaseModel.processRequest(WindowPhaseModel.java:156)
         at com.sap.tc.webdynpro.clientserver.window.WebDynproWindow.processRequest(WebDynproWindow.java:335)
         at com.sap.tc.webdynpro.clientserver.cal.AbstractClient.executeTasks(AbstractClient.java:143)
         at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.doProcessing(ApplicationSession.java:319)
         at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessingStandalone(ClientSession.java:713)
         at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessing(ClientSession.java:666)
         at com.sap.tc.webdynpro.clientserver.session.ClientSession.doProcessing(ClientSession.java:250)
         at com.sap.tc.webdynpro.clientserver.session.RequestManager.doProcessing(RequestManager.java:149)
         at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doContent(DispatcherServlet.java:62)
         at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doGet(DispatcherServlet.java:46)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:401)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:266)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:386)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:364)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:1039)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:265)
         at com.sap.engine.services.httpserver.server.Client.handle(Client.java:95)
         at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:175)
         at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
         at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
         at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:102)
         at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:172)

    Hi,
       It is quite hard to find out the problem by seeing only exception trace. I think you are missing one of the mandatory elelments' properties or setting them to invalid values. Please check and let me know if you can give more information.
    Regards,
    Siva

  • BPM 11g Hello World Application Error

    I am going through step-by-step tutorial on creating Hello World Application BPM 11g where I am running into WSDL Read Error message. The link for this tutorial is here:
    Building Your First Process with Oracle BPM 11g
    Error occurs at chapter "Enhancing the Basic Hello World Process" -> Adding a Business Rule -> Step 5.
    After creating Data Associations for input/output under Implementation dialog for "Review Needed" business rule and clicking on OK of the Properties dialog, I get following error message(please click on the link to see screenshot of error message):
    https://drive.google.com/file/d/0B1YDzO9g_MoLNkVTazdXTHp2UVE/edit?usp=sharing
    Let me know if you have trouble accessing this link.
    Basically the error is about not able to find decision service wsdl file:
    Error while reading wsdl file:
    ReviewRules_DecisionService_1.wsdl file not found
    Also get same error for HelloRules_DecisionService_1.wsdl file not found.
    I am not sure whether this file should be automatically generated when performing data associations and implementation of the business rule in the wizard.
    Please let me know what could be going wrong here. I tried going through this tutorial multiple times but get stuck at this step.
    BPM Suite 11g
    BPMN Editor
    11.1.1.7.0.0.97
    Jdev version: 11.1.1.7.0
    Jdev Build: JDEVADF_11.1.1.7.0_GENERIC_130226.1400.6493
    Thanks.

    I looked at the two XSDs the Hello World tutorial had you using.  This is what is causing your error.
    Here's an XSD that will work for the tutorial with 11.1.1.7.  Notice I put both the "hello" and "review" objects in the one XSD so you just have to use the one XSD. 
    <?xml version= '1.0' encoding= 'UTF-8' ?>
    <schema xmlns="http://www.w3.org/2001/XMLSchema" xmlns:xsd="http://www.w3.org/2001/XMLSchema"
         xmlns:qt="http://www.mycompany.com/ns/hw" targetNamespace="http://www.mycompany.com/ns/hw"
         elementFormDefault="qualified">
        <element name="HelloObject" type="qt:HelloObjectType"/>    
        <complexType name="HelloObjectType">
            <sequence>
                <element name="date" nillable="true" type="dateTime"/>
                <element name="message" nillable="true" type="string"/>
                <element name="greeting" nillable="true" type="string"/>
            </sequence>
        </complexType>
        <element name="ReviewObject" type="qt:ReviewObjectType"/>
        <complexType name="ReviewObjectType">
            <sequence>
                <element name="review" nillable="true" type="string"/>
                <element name="reason" nillable="true" type="string"/>
            </sequence>
        </complexType>
    </schema>
    Hope this helps,
    Dan

  • Task Manager Process failing along w/ Hello World example

    Hello Edwin,
    Thank you very much for the word document on how to install Oracle BPEL into the oracle database. I was able to install according to your word document into my oracle 10g database. I have other problems though. When starting up the BPEL Process Manager, it gives me the following error message in the console:
    java.lang.NoClassDefFoundError: org/apache/xerces/xni/XNIException
    I guess this in turn leads to the TaskManager process failing as it has a yellow exclamation point next to it in the BPEL Console. The oc4j console window later displays this error message:
    04/08/07 13:25:01 java.lang.ClassNotFoundException: bpel._1_0.TaskManager__BPEL4WS_BIN
    Error while creating process.
    An error has occurred while attempting to instantiate the class "bpel._1_0.TaskM
    anager__BPEL4WS_BIN" for the process "TaskManager" (revision "1.0"). The exception reported was: bpel._1_0.TaskManager__BPEL4WS_BIN
    Please try recompiling your BPEL process again. The current BPEL process archive "TaskManager" may have been compiled with an older version of "bpelc".
    An error message similar to this occurs when I try and work through the "Hello World" tutorial. Any idea why these error messages are occuring? "classnotfound" exceptions tell me there is a classpath issue. Thanks for your help.
    Kenny R.

    Edwin,
    Nevermind. I fixed it. I just copied the xercesImpl.jar file to the %ORABPEL_HOME%/system/appserver/oc4j/j2ee/home/applib directory and the processes function fine now. Thanks. Is this a bug that I found? Or was something messed up with my initial installation?

  • Unable to run Hello World

    Hi,
    I am new to OA Framework and trying to learn this thing.
    I have developed Hello World Tutorial but it is giving following error on execution;
    Exception Details.
    oracle.apps.fnd.framework.OAException: No data found for region (/oracle/apps/ak/hello/webui/HelloWorldPG).
         at oracle.apps.fnd.framework.webui.JRAD2AKMapper.loadPage(JRAD2AKMapper.java:739)
         at oracle.apps.fnd.framework.webui.OAPageBean.initializeCustomizationsMDS(OAPageBean.java:6138)
         at oracle.apps.fnd.framework.webui.OAPageBean.processRequest(OAPageBean.java:2126)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1711)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:497)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:418)
         at OA.jspService(OA.jsp:40)
         at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:317)
         at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:465)
         at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:379)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:727)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:306)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:767)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:259)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:106)
         at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:803)
         at java.lang.Thread.run(Thread.java:534)
    ## Detail 0 ##
    oracle.adf.mds.exception.MDSRuntimeException: Unable to find component with absolute reference = /oracle/apps/ak/hello/webui/HelloWorldPG, XML Path = {1}. Please verify that the reference is valid and the definition of the component exists either on the File System or in the MDS Repository.
    Non supported character set: oracle-character-set-560
         at oracle.adf.mds.internal.MetadataManagerBase.getUserCustomizationData(MetadataManagerBase.java:2216)
         at oracle.adf.mds.internal.MetadataManagerBase.getTransAndCustHelper(MetadataManagerBase.java:2154)
         at oracle.adf.mds.internal.MetadataManagerBase.getTransAndCust(MetadataManagerBase.java:1897)
         at oracle.adf.mds.internal.MetadataManagerBase.findElement(MetadataManagerBase.java:1360)
         at oracle.adf.mds.MElement.findElement(MElement.java:97)
         at oracle.apps.fnd.framework.webui.JRAD2AKMapper.loadPage(JRAD2AKMapper.java:722)
         at oracle.apps.fnd.framework.webui.OAPageBean.initializeCustomizationsMDS(OAPageBean.java:6138)
         at oracle.apps.fnd.framework.webui.OAPageBean.processRequest(OAPageBean.java:2126)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1711)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:497)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:418)
         at OA.jspService(OA.jsp:40)
         at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:317)
         at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:465)
         at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:379)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:727)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:306)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:767)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:259)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:106)
         at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:803)
         at java.lang.Thread.run(Thread.java:534)
    oracle.adf.mds.exception.MDSRuntimeException: Unable to find component with absolute reference = /oracle/apps/ak/hello/webui/HelloWorldPG, XML Path = {1}. Please verify that the reference is valid and the definition of the component exists either on the File System or in the MDS Repository.
    Non supported character set: oracle-character-set-560
         at oracle.adf.mds.internal.MetadataManagerBase.getUserCustomizationData(MetadataManagerBase.java:2216)
         at oracle.adf.mds.internal.MetadataManagerBase.getTransAndCustHelper(MetadataManagerBase.java:2154)
         at oracle.adf.mds.internal.MetadataManagerBase.getTransAndCust(MetadataManagerBase.java:1897)
         at oracle.adf.mds.internal.MetadataManagerBase.findElement(MetadataManagerBase.java:1360)
         at oracle.adf.mds.MElement.findElement(MElement.java:97)
         at oracle.apps.fnd.framework.webui.JRAD2AKMapper.loadPage(JRAD2AKMapper.java:722)
         at oracle.apps.fnd.framework.webui.OAPageBean.initializeCustomizationsMDS(OAPageBean.java:6138)
         at oracle.apps.fnd.framework.webui.OAPageBean.processRequest(OAPageBean.java:2126)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1711)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:497)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:418)
         at OA.jspService(OA.jsp:40)
         at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:317)
         at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:465)
         at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:379)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:727)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:306)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:767)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:259)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:106)
         at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:803)
         at java.lang.Thread.run(Thread.java:534)
    Any help to resolve this issue is highly appreciated.
    Regards,
    Syed Ahmed

    Following is OC4J Server output;
    [Starting OC4J using the following ports: HTTP=8988, RMI=23891, JMS=9227.]
    D:\3.0Documents\OAFramework\JD\jdevbin\jdk\bin\javaw.exe -client -Xdebug -Xrunjdwp:transport=dt_socket,server=y,address=2750 -classpath D:\3.0Documents\OAFramework\JD\jdevbin\j2ee\home\oc4j.jar;D:\3.0Documents\OAFramework\JD\jdevbin\jdev\lib\jdev-oc4j.jar -Xbootclasspath/p:D:\3.0Documents\OAFramework\JD\jdevbin\jdev\appslibrt\ojdbc14.jar;D:\3.0Documents\OAFramework\JD\jdevbin\jdev\appslibrt\nls_charset12.zip -DFND_JDBC_STMT_CACHE_SIZE=200 -DCACHENODBINIT=true -DRUN_FROM_JDEV=true -mx256m -Dhttp.proxyHost=proxy.stc.com.sa -Dhttp.proxyPort=8080 -Dhttp.nonProxyHosts=*.stc.corp|*.stc.com.sa|172.*.*.*|10.*.*.* -Xverify:none -Doracle.j2ee.dont.use.memory.archive=true -Doracle.j2ee.http.socket.timeout=500 com.evermind.server.OC4JServer -config D:\3.0Documents\OAFramework\JD\jdevhome\jdev\system9.0.3.5.1437\oc4j-config\server.xml
    [waiting for the server to complete its initialization...]
    Debugger connected to local process.
    Ready message received from Oc4jNotifier.
    Embedded OC4J startup time: 21328 ms.
    Auto-deploying OA Framework web application deployment descriptor (New server version detected)...
    Oracle9iAS (9.0.3.1.0) Containers for J2EE initialized
    TIME: runregion: initialization [16 ms]
    Tutalii: D:\3.0Documents\OAFramework\JD\jdevbin\jdev\appslibrt\iasjoc.zip archive
    ICX DIAGNOSTIC: FND_TOP = D:\3.0Documents\OAFramework\JD\jdevhome\jdev\dbc_files\
    ICX DIAGNOSTIC: application_id = 601
    ICX DIAGNOSTIC: responsibility_id = 24742
    ICX DIAGNOSTIC: security_group_id = 0
    ICX DIAGNOSTIC: mEncryptedSessionID = keF3uZCBcUtLKe4pLhvxyIeS:S
    ICX DIAGNOSTIC: mSessionID = 1825688593
    TIME: runregion: session and transaction creation [6110 ms]
    ICX DIAGNOSTIC: mTransactionID = 683903617
    JRAD_PERF : /oracle/apps/ak/hello/webui/HelloWorldPG - processRequest : 594ms

  • Hello world/ comand prompt

    Hi im trying to use comand prompt to compile helloworld tatourial
    package je3.basics
    public class hello {
    public static void main(string[] args {
    system.out.printin("Hello world");
    I typed in the file name as the instructions stated
    in the comand prompt
    PROMPT: helloworld.java // the file i saved it in
    It returned
    i helloworld:
    Is this right
    I tried it with a simple frame class but it did not display the frame
    I am confedent that the code was right
    is there somthing i must do after comand promp returns
    i helloworld // or has something gone wrong?
    Many thanks

    I am confedent that the code was right
    Really? The code above does not compile, there are lots of errors in it:
    - You need a ";" after "package je3.basics"
    - It is "String", not "string" (Java is case-sensitive)
    - It is "System", not "system"
    - The method you want to call is not called "printin", but "println"
    - You should save this is a file called "hello.java", not "helloworld.java", because the class is called "hello"
    - You should save this file in a subdirectory "je3\basics" because of the package statement
    Then you compile it like this (assuming you saved the file in C:\MyProject\je3\basics):
    C:\MyProject> javac je3\basics\hello.java
    And you run it like this:
    C:\MyProject> java je3.basics.hello
    See the Hello World tutorial on Sun's website.

  • Error while running Hello world from Tutorial

    Hi ,
    I am facing a strange problem while running Hello world from tutorial. The page expires after running for half an hour and the log in the Jdeveloper is
    [Starting OC4J using the following ports: HTTP=8988, RMI=23891, JMS=9227.]
    C:\Jdev\jdevbin\jdk1.4.2\bin\javaw.exe -client -classpath C:\Jdev\jdevbin\j2ee\home\oc4j.jar;C:\Jdev\jdevbin\jdev\lib\jdev-oc4j.jar -Xbootclasspath/p:C:\Jdev\jdevbin\jdev\appslibrt\ojdbc14.jar;C:\Jdev\jdevbin\jdev\appslibrt\nls_charset12.zip -DRUN_FROM_JDEV=true -mx256m -Doracle.j2ee.dont.use.memory.archive=false -Xverify:none -Doracle.j2ee.dont.use.memory.archive=true -Doracle.j2ee.http.socket.timeout=500 com.evermind.server.OC4JServer -config C:\Jdev\jdevhome\jdev\system9.0.3.5.1312\oc4j-config\server.xml
    [waiting for the server to complete its initialization...]
    Ready message received from Oc4jNotifier.
    Embedded OC4J startup time: 5782 ms.
    Auto-deploying OA Framework web application deployment descriptor (New server version detected)...
    Oracle9iAS (9.0.3.1.0) Containers for J2EE initialized
    Tutalii: C:\Jdev\jdevbin\jdev\appslibrt\iasjoc.zip archive
    [Feb 27, 2008 4:31:57 PM IST]:1204110117921:Thread[HttpRequestHandler-25086455,5,main]:-1:-1:sisatpat:9.182.220.120:-1:-1:UNEXPECTED:[fnd.common.logging.DebugEventManager.handlerException]:java.io.FileNotFoundException: C:\u01\VIS\FND.log (The system cannot find the path specified)
         at java.io.FileOutputStream.openAppend(Native Method)
         at java.io.FileOutputStream.<init>(FileOutputStream.java:177)
         at java.io.FileOutputStream.<init>(FileOutputStream.java:102)
         at oracle.apps.fnd.common.logging.FileHandleManager.getFileInternal(FileHandleManager.java:99)
         at oracle.apps.fnd.common.logging.FileHandler.<init>(FileHandler.java:99)
         at oracle.apps.fnd.common.logging.FileHandler.<init>(FileHandler.java:79)
         at oracle.apps.fnd.common.logging.DebugEventManager.registerHandlers(DebugEventManager.java:1198)
         at oracle.apps.fnd.common.logging.DebugEventManager.reInitialize(DebugEventManager.java:949)
         at oracle.apps.fnd.common.logging.DebugEventManager.reInitialize(DebugEventManager.java:907)
         at oracle.apps.fnd.common.AppsLog.reInitialize(AppsLog.java:570)
         at oracle.apps.fnd.common.AppsContext.initLog(AppsContext.java:1025)
         at oracle.apps.fnd.common.WebAppsContext.init(WebAppsContext.java:3486)
         at oracle.apps.fnd.common.WebAppsContext.<init>(WebAppsContext.java:537)
         at oracle.apps.jtf.base.resources.Architecture.createWebAppsContext(Architecture.java:429)
         at oracle.apps.jtf.base.resources.Architecture.createAppsContext(Architecture.java:422)
         at oracle.apps.jtf.base.resources.Architecture.createAppsContext(Architecture.java:330)
         at oracle.apps.jtf.cache.ArchitectureWrapper.createAppsContext(ArchitectureWrapper.java:90)
         at oracle.apps.jtf.cache.appsimpl.AppsCacheLogger.<clinit>(AppsCacheLogger.java:34)
         at oracle.apps.jtf.cache.appsimpl.AppsCacheEnvironment.getCacheLogger(AppsCacheEnvironment.java:67)
         at oracle.apps.jtf.cache.CacheManager.initCache(CacheManager.java:595)
         at oracle.apps.jtf.cache.CacheManager.<clinit>(CacheManager.java:364)
         at oracle.apps.jtf.cache.CacheAdmin.isComponentRegistered(CacheAdmin.java:314)
         at oracle.apps.fnd.cache.Cache.registerCacheIfNeeded(Cache.java:119)
         at oracle.apps.fnd.cache.Cache.initCache(Cache.java:110)
         at oracle.apps.fnd.cache.Cache.<init>(Cache.java:88)
         at oracle.apps.fnd.cache.AppsCache.<init>(AppsCache.java:87)
         at oracle.apps.fnd.profiles.Profiles.<clinit>(Profiles.java:280)
         at oracle.apps.fnd.profiles.ExtendedProfileStore.init(ExtendedProfileStore.java:482)
         at oracle.apps.fnd.profiles.ExtendedProfileStore.<init>(ExtendedProfileStore.java:113)
         at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
         at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
         at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
         at java.lang.reflect.Constructor.newInstance(Constructor.java:274)
         at oracle.apps.fnd.common.AppsContext.instantiateProfileStore(AppsContext.java:3834)
         at oracle.apps.fnd.common.AppsContext.makeProfileStore(AppsContext.java:942)
         at oracle.apps.fnd.common.Context.setProfileStore(Context.java:825)
         at oracle.apps.fnd.common.Context.setProfileStore(Context.java:807)
         at oracle.apps.fnd.common.WebAppsContext.init(WebAppsContext.java:3484)
         at oracle.apps.fnd.common.WebAppsContext.<init>(WebAppsContext.java:537)
         at oracle.apps.fnd.framework.server.OAUtility.getWebAppsContext(OAUtility.java:346)
         at oracle.apps.fnd.framework.CreateIcxSession.getEncryptedSessId(CreateIcxSession.java:144)
         at oracle.apps.fnd.framework.CreateIcxSession.createSession(CreateIcxSession.java:80)
         at test_fwktutorial._jspService(test_fwktutorial.jsp:45)
         at oracle.jsp.runtime.HttpJsp.service(HttpJsp.java:139)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:317)
         at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:465)
         at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:379)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:727)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:306)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:767)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:259)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:106)
         at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:797)
         at java.lang.Thread.run(Thread.java:534)
    [Feb 27, 2008 4:31:57 PM IST]:1204110117890:Thread[HttpRequestHandler-25086455,5,main]:-1:-1:sisatpat:9.182.220.120:-1:-1:UNEXPECTED:[fnd.common.logging.FileHandler.publish]:Please check File Permission/Disk Space for: /u01/VIS/FND.log, defaulting Logging to STDERR
    Can any one help!!
    Thanks,
    Sid..

    Sid,
    1) Check your using the correct version of Jdev with your instance.
    Metalink note 416708.1 - How to find the correct version of JDeveloper to use with eBusiness Suite 11i or Release 12
    Will give the mappings.
    And check the Jdev setting
    330236.1 - Configuring JDeveloper For Use With Oracle Applications 11i and R12
    2) Instead of using the tutorial, create a sample page, Am and run the page.
    Check what error you are getting.
    Thanks.
    With Regards,
    Kali.
    OSSI.

  • Adobe Tutorial - "Hello World: Build a mobile app in five minutes"

    Ok, I was able to follow everything in the tutorial down to where we are testing the application on the actual device.  Running the app on the desktop worked just fine.
    When I told FB to test app on my LG Optimus V (Virgin Mobile phone with Andriod 2.2 installed), I get the following error:
    Can someone point me in the right direction on how to fix this???  This is the very first time of trying to produce any mobile app (ever).
    I am running Windows XP (SP3), Flash Builder for PHP 4.5 installed, manually updated SDK to 4.5.1.  I have loaded the LG Optimus V phone drivers (downloaded from LG website).  They have 3 versions.  None of them worked when I tried testing my app.
    Tony

    MMM, good question.  Going to take some digging.  I asked the people at Virgin Mobile and they were clueless.  I have an email into technical people at LG (my phone is a LG model VM670).  I guess they don't have anyone working on the weekends.  Hopefully, they will answer sometime this monday.
    Tony
    Date: Sat, 30 Jul 2011 10:41:42 -0600
    From: [email protected]
    To: [email protected]
    Subject: Adobe Tutorial - "Hello World: Build a mobile app in five minutes"
    I'm not familiar with that device, do you know if it is ARM7?
    >

  • SOA 11g Tutorial/Hello World application

    Dear All,
    I am very much new to SOA Pls let me know Tutorials or How to build Hello world or where to start the building the applications.
    Best regards,
    Raj

    http://www.oracle.com/technology/sample_code/products/soa/index.html
    http://blogs.oracle.com/soabpm/2009/12/soa_suite_11g_-somelong_awai.html
    http://www.oracle.com/technetwork/developer-tools/jdev/index-095536.html
    Regards,
    Anuj

  • Problem with JNI hello world

    I found some tutorial on SUN site on how to use JNI. I'm using Eclipse to compije Java and C (via Cygwin) files. Here are complete files:
    Hello.java:
    class Hello
         public native void sayHello();
         static
              try
              System.loadLibrary("hello");
              catch(Exception e)
                   System.out.println("exc");
         public static void main(String[] args)
              Hello h = new Hello();
              h.sayHello ();
    }Hello.c:
    #include <mingw/_mingw.h> //because there are some types needed for JNI
    #include <jni.h>
    #include "Hello.h"
    #include <stdio.h>
    JNIEXPORT void JNICALL Java_Hello_sayHello
      (JNIEnv *env, jobject obj)
         printf("Hello world!\n");
         return;
    }Makefile:
    hello.dll : Hello.o Hello.def
         gcc -g -shared -Wl,--kill-at -o hello.dll Hello.o hello.def
    Hello.o : Hello.c Hello.h
         gcc -c -g -I"$(JAVA_HOME)\include" -I"$(JAVA_HOME)\include\win32" Hello.c -o Hello.o
    Hello.h : Hello.class
         javah -jni Hello
    clean :
         rm Hello.h
         rm Hello.o
         rm hello.dllHello.def
    EXPORTS
    Java_Hello_sayHelloEverything goes well, but when I run java program it does nothin (it should print message, but it just exit without any error).I'm sure that it's something stupid, but I cant see what. Can anyone tell me what am I doing wrong?
    Thenks.

    Answer 1: yes, there was no problem. I compiled and started simple 'hello world' program from Cygwin and from WinXP console, and it worked well.
    Answer 2: This is weird, I changed code to this:
    Hello.java:
         public native int getInt();
              System.out.println("Returned int is " + h.getInt());Hello.c:
    JNIEXPORT jint JNICALL Java_Hello_getInt
      (JNIEnv *env, jobject obj)
         return 25;
    }It does not print anything. I started this program from Cygwin and from WinXP console, and from Eclipse. Only if I debug in Eclipse (step by step) I get:
    Returned int is 25and still I don't get Hello string printed (even if I go step by step). It looks like cygwin has some problem with OS. Do you have any idea what to do, I'm a bit confused?
    Thank you.
    Message was edited by:
    zly

  • Error while running Hello World Page

    Hi
    I am getting the following error when I run the Hello World page from the Tutorial.
    oracle.apps.fnd.framework.OAException: Application: FND, Message Name: SECURITY_APPL_LOGIN_FAILED.
    ## Detail 0 ##
    oracle.apps.fnd.framework.OAException: Application: FND, Message Name: SECURITY_INVALID_DBC_PARAMETER. Tokens: ROUTINE = AppsConnectionManager.makeGuestConnection; FILE = D:\Jdeveloper\jdevhome\jdev\dbc_files\secure\test.dbc; PARAMETER = GUEST_USER_PWD;
    ## Detail 0 ##
    oracle.apps.fnd.framework.OAException: Application: FND, Message Name: AOLJ_JAVA_EXCEPTION. Tokens: MESSAGE = Not able to create new database connection: FNDSECURITY_APPL_LOGIN_FAILED;
    ## Detail 0 ##
    oracle.apps.fnd.framework.OAException: Application: FND, Message Name: FND_GENERIC_MESSAGE. Tokens: MESSAGE = oracle.apps.fnd.common.PoolException: Not able to create new database connection: FNDSECURITY_APPL_LOGIN_FAILED;
    The DBC file is in place. After checking various posts I have confirmed details in the DBC file and they seem to be right.
    Could someone please help me out here.
    Regards
    Deepak

    http://oracleanil.blogspot.com/2010/11/how-to-test-or-create-dbc-file-on.html
    Thanks
    --Anil
    http://oracleanil.blogspot.com

Maybe you are looking for

  • Re: How to use the second hard drive in Satellite A300?

    I have been given a second hand Satellite A300 that was being thrown out due to a faulty DVD. I fixed the DVD and have a perfect working system. On opening the case I discovered it has 2 x 250GB hard drives. I checked CMOS and the 2 drives show. Yet,

  • Exception Handling Within Methods

    I'm currently looking over exception handling within Java and have what whats probably a very simple question to answer! If within a method I have a try and catch block to handle all exceptions that the specific method may throw, do I then also need

  • Impact on transactional Loads if Master data is not loaded

    Scenario for your reference: The loads to ZPO_LINE from PC3 was failing for past 20 days from The fix was applied on April 21.  I need help to decide the effects of not loading ZPO_LINE for past 20 days. And create a detailed plan for data loads requ

  • Some visited links don't change color

    on some of my hyperlinks (that go to other pages in the same file) don't change color after they've been visited... example: they start out regular "hyperlink" blue... then after visiting they should change (e.g., to purple) but they don't. I read in

  • Problem with FGI4 with key figure

    hi, I am trying to create a report using FGI4. But when i am selecting predefined element & trying to choose key figure which are coming dynamically from structure GLFLEXS(Flexible General Ledger Reporting), there i am not getting BILWERT(Balance she