Is it possible to Integrate dos with Java to create a sample compiler?

Is it possible to Integrate dos with Java to create a sample compiler, or do I have to write the compiler from scratch? In theory, I would like to have users enter sample code in a java text field, hit a java button that would compile/run the code, by calling a dos command prompt that would run it, and display any error messages back to the java text field. Does anyone know if this is possible? Any help would be greatly appreciated.
Tflav23

There is a Compiler class you might be able to use also:
C:\jdk1.3.1_01\docs\api\java\lang\Compiler.html
So perhaps there is no need to create a process to compile code. But I don't know if you can get information about compiler errors.

Similar Messages

  • Integrate forms with Java

    Hi,
    Is it possible to Integrate forms6i with Java Beans
    my requirement is to show a Java Bean using
    "Bean Area" component in Forms6i client/sever.
    If is possible please provide me with some samples
    Thanks,
    Ali

    Hi all,
    Just something that happened me in the past:
    In the past,using one of the first versions of forms server 6,I don't know how(I couldn't reproduce the config on other machines),but I had a c-s form wich was displaying java beans(the HotLabelWrapper demo).
    I thinck that forms server was also installed on that machine.

  • Without  PR  create a new PO is possible,but i want with out PR  create PO

    Dear sir
    without  PR  create a new PO is possible,but i want with out PR  create PO  is not Possible,that setting please provide

    Dear,
    Make PR entry mandatory for ME21N transaction.
    Check: PR mandatory in PO Creation ME21N and ME22N
    Regards,
    Syed Hussain.

  • Opening MS-DOS with Java

    I'm involved in a college programming class with Java and I'm stumped. I need to create a Java program that is able to open the MS-DOS prompt window and run a Java program in it as well as add a MS-DOS command afterwards in order to catch the output. Basically I need a program that does the following command:
    C:\[pathname]javac [filename].java 2> output.txt
    Any help would be greatly appreciated. Thanks guys! :)

    Here's a hint:
    public class Test {
        public static void main(String[] args) throws Exception {
            if(args.length == 0) {
                String command = "cmd /c start java Test TEST";
                Runtime.getRuntime().exec(command);
            else {
                System.out.println(args[0]);
                System.out.println("Hit return to exit.");
                System.in.read();
    }Good luck.

  • Integrate EBS with Java Applications and Legacies

    Hello everybody!.
    I'm a new on SOA and i want start to learn about this, and how integrate EBS and a JAVA application between them.
    I read about the API's that EBS public (API Integrator), but, i don't have idea how i can consult this API's from a simple web services of my java aplication. It's posible to do that without use bpel?
    You could see that i don't have any experience on this, so, if you could tealme about some papers and what tecnology i need to use to resolve that, would be great.
    Thanks to all

    Please people, somebody?
    I need start to integrate ebs with j2ee aplication. What i need to read? What technology it's usefull? It's free (GPL)?
    Please, please, please.

  • Programming the Oracle Database with Java and Web Services: sample chapter

    This will be the first book devoted to Java in the Oracle Database: read the sample chapter @ http://www.oracle.com/technology/books/pdfs/mensah_ch1.pdf
    This book also covers the latest Oracle JDBC, Oracle SQLJ, JPublisher and Database Web Services A brief description @
    http://www.elsevier.com/wps/find/bookdescription.cws_home/706089/description#description
    Thanks, Kuassi

    Hi Kuassi,
    Thanks for letting us know that your book is available. I have been following one of your articles about "Virtualize Your Oracle Database with Web Services". More specifically "The Database as Web Services Consumer". I think that this is an area that has in the past been under estimated as to the potential benefits.
    I am currently trying to develop a solution that consumes several interfaces with a couple of them being published web services, so an ideal solution. I have then spent the last three weeks having to read up about the architecture of Java in the database, Jpublisher and make sense of how it all works together.
    I have got very close to getting one of the web services to work but failed due to using 10gR2 where all the java & libraries has moved to version 1.5. The solution is to load the jdk1.4.2 and configure jpublisher to use this. So far so good except this is not available on some platforms, Windows - 64 bit (not itanium).
    The configuration is proving very challenging but will hopefully reap rewards.
    (Thought I would give you some background to my experience).
    Anyway my question to you is having looked at Jdeveloper it appears to do almost anything except consume services into the database, also with Java now being at version 1.5 outside the database for 10gR2 and supporting 1.4 inside, do you see some alignment of these in future database releases?
    Finally off to buy your book now as no doubt there is a huge amount more to learn.
    Kind Regards
    David O'Donnell

  • Is it possible to integrate web dynpro java  with xPD screens?

    We have a requirement to integrate the xPD screens with Adobe using web dynpro java. The UI has to be completely Adobe and the xPD transactions would be triggered through Adobe.
    Is it possible?? Please let me know how if anyone worked on this.
    We are using SAP NW SP12 and NWDS 7.0.1
    Thank you,
    Vasu

    Vasu,
    I'm in the same boat as you because I have no idea where to start either.  Right now we are just evaluating some possible solutions for our UI needs that our Business is asking for.  Originally I only heard about the Adobe Forms.  Then I heard about this Web Page Composer which could also provide us a way to display our iViews and other links in a more user friendly page.
    So learning how to display xPD in either area is new to me and I am just starting to learn SAP all together.  If I hear anything or read anything, I will share with you.  Maybe we can help each other out. 
    Jennifer

  • Is it possible to integrate ADOBE with xPD screens?

    We have a requirement to integrate the xPD screens with Adobe. The UI has to be completely Adobe and the xPD transactions would be triggered through Adobe.
    Is it possible?? Please let me know how if anyone worked on this.
    We are using SAP NW SP12  and NWDS 7.0.1
    Thank you,
    Vasu

    What is ProjectWise? How is it used?

  • Integrate BW with Java

    Hello Experts,
         Is there a way to build reports on Java application using BW as the source without BAPI/RFC or XMLA. Since I am a BW developer, I know to build the reports but not ABAP coding to call the RFC's into Java. I am asking from BW perspective and not Java i.e. best and easy way to integrate both.
    Thanks,
    Nikki

    Hello Nikki,
    For details look at the BI Java SDK in SDN - https://www.sdn.sap.com/sdn/downloaditem.sdn?res=/html/BIJavaSDK_download.htm
    This works with BW 3.5.
    Cheers
    Aneesh

  • Is it possible to accessOracle Lite with java on a Palm

    I have been unable to figure out how to do any java development against OracleLite on a Palm. I am using IMB's VAME/J9 java development environment. It appears that the oracle.lite.poljdbc.POLJDBCDriver class expects to load a library called oljdbc. I see DLLs with this name for a couple of PocketPC platforms, but nothing for Palm.
    -- Michael Altmann
    -- [email protected]

    There is a Compiler class you might be able to use also:
    C:\jdk1.3.1_01\docs\api\java\lang\Compiler.html
    So perhaps there is no need to create a process to compile code. But I don't know if you can get information about compiler errors.

  • Is is possible to work work with Java Threads ind WDJ 04s ?

    Hi experts,
    it is possible to work with treads in wdj 04s? I want to reder the ui in one therad and another one should read the data from serveral webservices! After all webservice cals are finished the data should be shown on the ui.
    Example:
    1. User start process -> User see the UI and a progressbar
    2. In background the wervice get the data
    3. User see the improvement
    How it is possible?
    It ist not possible withe the progress bar ui element because I always lost one second between the calls....

    Basically, you shouldn't use threads in any Application Server, since the environment is not thread-safe.
    I think there's a scheduler API in NW that would fit you best. Create your "task" as a scheduled task, happening once, and query this task using some sort of TimerTrigger.
    Would be a way easier if WDP was a bit more advanced, at least I don't see an easy way for you to do that.
    One way running J2EE 1.4 would be the use of ejbTimeout.
    Hope it helps,
    Daniel
    Edited by: Daniel Ruiz on Dec 3, 2009 2:24 PM

  • How to integrate BPM with Composite application created in Developer Studio

    Hi,
    I want to know what purpose can BPM fulfill in creating a composite application.
    I want to execute various business processes like sales order creation etc. through CE. So should I use BPM components and avoid writing my own code logic and creating my own business objects in Developer studio?
    Also how can I use BPM components in Developer Studio to achieve this?
    Shall I create the Guided procedure model and UI in my composite application and then use BPM for business objects and the integration?
    Plz give me a detail.
    thanks
    Roshan

    Hi Roshan,
    you can use BPM or Guided Procedures to implement the business logic of your process.
    BPM combines very nice with WebDynpro. There are some guidelines available at SCN here:
    [BPM and Web Dynpro for Java Integration u2013 Guidelines|http://www.sdn.sap.com/irj/sdn/index?rid=/library/uuid/b06c49b2-ac63-2c10-3d8d-d17b817ba4ca&overridelayout=true]

  • Post install failing with Java Exception creating the Oracle Context

    I have not been able to complete the post-install portion of the OID which is run by the Oracle 9iAS Infrastructure installer.
    Is there a way to create the Oracle Context and whatever else is part of the /ldap/postcfg/postcfg script without the use of the Java assistants? I am getting a Java exception when creating the Oracle Context.
    Thanks,
    e.

    are you trying to install ias on Linux or windows??

  • ABAP with JAVA

    hi all
    how to integrate ABAP with JAVA?? Can anybody send me any link on that or any documents???

    Hi
    Welcome to SDN forum
    After the ECC6.0 Version Most of the JAVA things are integrated in Netweaver components like BSP,WAS, XI and Enterprise Portals etc
    So if you are good in JAVA these things are very useful and through this you can easily integrate JAva with SAP
    see the links
    See the Links
    JDBC Receiver: exact SQL statement
    /message/527697#527697 [original link is broken]
    And after you are done with the documentation probably you can go through this scenario,
    JDBC Receiver: exact SQL statement
    Also check the following threads which might help you a little more,
    Learning XI
    XI 3.0 Training
    Also for more info related to XI go through these links:
    XI -Starter
    http://help.sap.com/saphelp_nw04/helpdata/en/e1/8e51341a06084de10000009b38f83b/frameset.htm
    SAP XI - Where to Find Information
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/xi/sap%20xi%20-%20where%20to%20find%20information.pdf
    All the information you need in XI :
    http://help.sap.com/saphelp_nw04/helpdata/en/0f/80243b4a66ae0ce10000000a11402f/frameset.htm
    To understand the architecture of XI, Please go through this link:
    http://help.sap.com/saphelp_nw04/helpdata/en/14/80243b4a66ae0ce10000000a11402f/frameset.htm
    You can also go through the url for Elearning :
    https://www.sdn.sap.com/sdn/elearning.sdn // https://www.sdn.sap.com/irj/sdn/sdnpilot/elearning
    Following is the link for 'how to guides', A step by step guide to create scenarios:
    https://websmp201.sap-ag.de/nw-howtoguides
    XI is all about configuration of Adapters, to learn more please go through this link:
    http://help.sap.com/saphelp_nw04/helpdata/en/0d/5ab43b274a960de10000000a114084/frameset.htm
    One of the most powerful feature of XI, Business Process Management:
    http://help.sap.com/saphelp_nw04/helpdata/en/3c/831620a4f1044dba38b370f77835cc/frameset.htm
    Following are the links to weblogs which will help to develop the basic scenarios.
    /people/prateek.shah/blog/2005/06/08/introduction-to-idoc-xi-file-scenario-and-complete-walk-through-for-starters - IDoc to File
    /people/ravikumar.allampallam/blog/2005/03/14/abap-proxies-in-xiclient-proxy - ABAP Proxy to File
    /people/sap.user72/blog/2005/06/01/file-to-jdbc-adapter-using-sap-xi-30 - File to JDBC
    /people/prateek.shah/blog/2005/06/14/file-to-r3-via-abap-proxy - File to ABAP Proxy
    /people/venkat.donela/blog/2005/03/02/introduction-to-simplefile-xi-filescenario-and-complete-walk-through-for-starterspart1 - File to File Part 1
    /people/venkat.donela/blog/2005/03/03/introduction-to-simple-file-xi-filescenario-and-complete-walk-through-for-starterspart2 - File to File Part 2
    /people/ravikumar.allampallam/blog/2005/06/24/convert-any-flat-file-to-any-idoc-java-mapping - Any flat file to any Idoc
    /people/arpit.seth/blog/2005/06/27/rfc-scenario-using-bpm--starter-kit - File to RFC
    https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/1685 [original link is broken] [original link is broken] [original link is broken] - File to Mail
    /people/jayakrishnan.nair/blog/2005/06/20/dynamic-file-name-using-xi-30-sp12-part--i - Dynamic File Name Part 1
    /people/jayakrishnan.nair/blog/2005/06/28/dynamic-file-namexslt-mapping-with-java-enhancement-using-xi-30-sp12-part-ii - Dynamic File Name Part 2
    /people/michal.krawczyk2/blog/2005/03/07/mail-adapter-xi--how-to-implement-dynamic-mail-address - Dynamic Mail Address
    /people/siva.maranani/blog/2005/05/25/understanding-message-flow-in-xi - Message Flow in XI
    /people/krishna.moorthyp/blog/2005/06/09/walkthrough-with-bpm - Walk through BPM
    /people/siva.maranani/blog/2005/05/22/schedule-your-bpm - Schedule BPM
    /people/sriram.vasudevan3/blog/2005/01/11/demonstrating-use-of-synchronous-asynchronous-bridge-to-integrate-synchronous-and-asynchronous-systems-using-ccbpm-in-sap-xi - Use of Synch - Asynch bridge in ccBPM
    https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/1403 [original link is broken] [original link is broken] [original link is broken] - Use of Synch - Asynch bridge in ccBPM
    /people/michal.krawczyk2/blog/2005/08/22/xi-maintain-rfc-destinations-centrally - Maintain RFC destination centrally
    /people/sravya.talanki2/blog/2005/08/18/triggering-e-mails-to-shared-folders-of-sap-is-u - Triggering Email from folder
    /people/sravya.talanki2/blog/2005/08/17/outbound-idocs--work-around-using-party - Handling different partners for IDoc
    /people/siva.maranani/blog/2005/08/27/modeling-integration-scenario146s-in-xi - Modeling Integration Scenario in XI
    /people/michal.krawczyk2/blog/2005/08/25/xi-sending-a-message-without-the-use-of-an-adapter-not-possible - Testing of integration process
    /people/michal.krawczyk2/blog/2005/05/25/xi-how-to-add-authorizations-to-repository-objects - Authorization in XI
    http://help.sap.com/saphelp_nw04/helpdata/en/58/d22940cbf2195de10000000a1550b0/content.htm - Authorization in XI
    /people/michal.krawczyk2/blog/2005/09/09/xi-alerts--step-by-step - Alert Configuration
    /people/michal.krawczyk2/blog/2005/09/09/xi-alerts--troubleshooting-guide - Trouble shoot alert config
    /people/sameer.shadab/blog/2005/09/21/executing-unix-shell-script-using-operating-system-command-in-xi - Call UNIX Shell Script
    /people/sravya.talanki2/blog/2005/11/02/overview-of-transition-from-dev-to-qa-in-xi - Transport in XI
    /people/r.eijpe/blog/2005/11/04/using-abap-xslt-extensions-for-xi-mapping - Using ABAP XSLT Extensions for XI Mapping
    /people/prasad.ulagappan2/blog/2005/06/07/mail-adapter-scenarios-150-sap-exchange-infrastructure - Mail Adaptor options
    /people/pooja.pandey/blog/2005/07/27/idocs-multiple-types-collection-in-bpm - Collection of IDoc to Single File
    /people/sap.user72/blog/2005/11/17/xi-controlling-access-to-sensitive-interfaces - Controlling access to Sensitive Interfaces
    /people/michal.krawczyk2/blog/2005/11/10/xi-the-same-filename-from-a-sender-to-a-receiver-file-adapter--sp14 - The same filename from a sender to a receiver file adapter - SP14
    /people/prasad.illapani/blog/2005/11/14/payload-based-message-search-in-xi30-using-trex-engine - Payload Based Message Search in XI30 using Trex Engine
    /people/sap.user72/blog/2005/11/24/xi-configuring-ccms-monitoring-for-xi-part-i - XI : Configuring CCMS Monitoring for XI- Part I
    /people/michal.krawczyk2/blog/2005/11/23/xi-html-e-mails-from-the-receiver-mail-adapter - XI: HTML e-mails from the receiver mail adapter
    /people/sap.user72/blog/2005/11/22/xi-faqs-provided-by-sap-updated - XI : FAQ's Provided by SAP
    1) How-to Guides for SAP NetWeaver 2004 for SAP XI:
    Exchange Infrastructure How-to Guides for SAP NetWeaver 2004 [original link is broken]
    Regards
    Anji

  • Is it possible to connect indesign with database/OOD...

    Hello fellow Indesign user,
    Not sure if this question belongs here or in scripting...
    I'm just a moderate user in ID CS4 and I got this daunting task to find/invest a way to use Indesign (our existing layout software) to create "brochures/instruction manuals" using databases or OOD. Meanings, use a template, add a code that corresponds to a similar code with pre-defined data-entity in a database/OOD, and automatically add the text/pictures from the database/OOD.
    We are not talking about addresses or simple things like that, but brochures and instruction manuals in different languages with different or similar operation for each machine. Some instructions are the same and some are not. Get my drift?
    We are using ID Cs4 in the company right now, not the smartest tool to use when producing 25 different brochures/technical manuals with different languages. Changing one content in one manual, meaning we have to change all 25 brochures/manuals.... manually...
    Many of you may think -"why did you start ID in the first place". The answer: I don't know, I wasn't here then... It is not until now they discovered -"Oh, we need a new system… " and guess who got the task to evaluate it…
    I need to know if it is possible and to what extent we can use ID with database or an OOD-system to retrieve data (mostly custom data with bulletin, font, size, pictures, etc).
    Articles, links and other information would be very helpful….
    Thanks!
    //Vincent

    What kind TM exist out there and is it possible to integrate it with ID? (I can probably check Wikipedia, but it feels correct to ask the right question to ask to the right person here. How does your firm manage multilingual contents in ID? You gotto have the same problem as I do, at least to some extent…
    How is it even possible to have an automated system and still have that flexible design freedom in ID..? Many questions here…
    To invest a complete new system is not an option anymore. I made some calculation and plenty of phone calls. The figures does not look good at all… it’s simply not worth the time and money. So what are the options, if we keep ID in the firm?
    Well, I should have had lots of time to answer your questions this  evening, but it turns out that we're both out of luck. I'll cover a few  things quickly to give you some Google-fodder:
    1) Okay, I won't suggest expensive commercial solutions.
    2) Read up about how to flow XML content into and out of ID
        2b) Store your content in the DB of your choice, spit out XML, and then update your INDDs with it.
    3) Think about an open-source TM app like OmegaT
    4) Do you do all of your translations in-house? If not, ask your suppliers how they work.
    5) But really, if you don't have a completely obsessive person in charge of making sure everything is up to date, you're asking for trouble. I'm reminded of a quote by Edward Tufte who was talking about project management; I can't remember the quote, but the idea boiled down to the fact that you can do just as good a job with whiteboards as you can with databases. At least right now you know that you haven't kept all versions up to date... if you were housing all your content in a database, then the update process is somewhat hidden from you, and you wouldn't know if something broke unlesss you caught it in QA. If you're not doing all the updates... then you can't do good QA.This is a recipe for disaster.
       5b) Establish a good workflow with whatever tools you have (database, whiteboards, little strings with knots tied in 'em, notches carved in the thighbones of extinct birds of prey, etc.) and give someone the power to sanction/punish/fire people who disobey workflow rules. I am not kidding.
    I will make more useful suggestions (suggestions more useful than 5b, at any rate) in the near future.

Maybe you are looking for

  • Ssrs parameter default value not showing ,when available values is binded to query dataset

    I have developed a report using sql server data tools for vsiual studio2012 ,i have defined few parameters ,on one of the parameter when available values is binded to a dataset query, the report default value is  not showing in report preview . Many

  • Graphic Driver for Netbook

    Hi there, i need some help from you guys, you see i reinstaled my windows because it had a problem but now im having trobule looking for the drivers for mi neetbook, last time i need it to download the drivers i did it from here http://h20000.www2.hp

  • ClassCastException: com.evermind.server.rmi.OrionRemoteException

    We have resently tried to move our application from OC4J 9.0.3 to the OC4J 9.0.4 preview. However when autogenerating data we get the following exception: com.evermind.server.rmi.OrionRemoteException: java.lang.ClassCastException: com.evermind.server

  • How can I show Totals in at the footer?

    Hi, I want to create a List (Report) with a Number column say (Amount), and there are certain number of transactions on the page. How can I show Total Amount at the bottom of report? Thnx in advance.

  • X2-01 cannot sync with outllook 2007

    Please help: Nokia x2-01 cannot sync with outlook 2007, windows xp SP3 I have tried two brand new x2 phones, various ovi suites and various nokia suites. I just cannot sync my outlook contacts and calendar to my phone. Nokia suite 3.4.49 can sync the