How to invoke "javac" and "java" command so that I can write my complier

thanks

Have a look in tools.jar under sun.tools.javac.Main is the standard javac complier.
You can decompile this library and get a good idea of what goes into writing a compiler.
If you want to write your own compiler you might find creating a MyLanguage to java translator will be easier to build.

Similar Messages

  • How to integrate DWR and JAVA Webservice?

    This is S.korea! so sorry for my poor English :-P
    I'm developing java Web service and my client is Ajax system.My toolkit for Ajax is DWR.
    But I don't know how to integrated DWR and Java Web service!
    Function invocation in web service is synchronous. Is it correct?
    I want to know how to invoke asynchronous fuction in web sercvice with DWR.
    Please inform me any referrence.

    "integeration" is a bit of an open ended description. You can share a request between a servlet and a JSP using a forward. Check out the RequestDispatcher class, it can perform a forward for you from within a servlet.
    http://java.sun.com/j2ee/1.4/docs/api/javax/servlet/RequestDispatcher.html

  • How to invoke functions and data type( ex. sflight structure ) that is in t

    Hi,experts,
    I create a funcion(zz_test) that return sflight table type data. I need to invoke the function in the Webdynpro for java application.
    I think I would import the funtion to local.
    But I don't know how to import the function and the data type using SAP NetWeaver Developer Studio?
    But I don't know how to invoke functions and data type( ex. sflight structure ) that is in the R/3 in the WDJ?
    Do you give me some hints?
    Thanks a lot!
    Best regards,
    tao

    Hi Wang Tao,
    For achieving this you need to user Adaptive RFC models.
    This link explains you on the same :
    http://help.sap.com/saphelp_nw70/helpdata/EN/6a/11f1f29526944e8580c5e59333d96d/frameset.htm
    Thanks
    Namrata

  • Javac and java showing different versions

    hi all
    i was getting bad version class error so i chekced versions of javac and java
    javac is 1.6.02
    and tht of java is 1.5.06
    so how i should change version of java....
    Thanks

    solved
    thnks

  • How to configure IIS webserver with weblogic so that I can invoke servlets without the .wlforward extension

    How to configure IIS webserver with weblogic so that I can
    invoke servlets without the .wlforward extension
    As per the documentation iisforward.dll is registered as a filter and .wlforward
    has also been
    included as a special file type. However this requires me to key-in ".wlforward"
    after my servlet name.
    What I want is something like this
    http://iis/MyServlet
    Please help me find a solution to this
    Thanks,
    Rishi

    I am able to invoke the servlet without the wlforward extension now.
    However, now I am required to add /weblogic before the servlet
    name otherwise it does not execute the pathtrim property.
    I have tried with the pathprepend thing also.
    Can we get rid of the /weblogic part also. I just want to execute
    my servlet as http://iis/myServlet.
    Your help in this regard is greatly appreciated...
    Thanks..
    "Rishi" <[email protected]> wrote:
    >
    Thanks for the reply Kumar.
    I did follow the instructions as given in the Weblogic documentation
    The documentation said to add iisforward.dll as a filter service
    and register .wlforward as a special
    file type to be handled by iisproxy.dll. For this,
    while configuring the IIS server in the Home Directory tab
    I added an extension ".wlforward" and the executable as
    iisproxy.dll. Is this the way it should have been done...
    I also modified the iisproxy.ini file as per the documentation.
    I have added the WLForwardPath property and set it to /weblogic.
    My server works fine when I give the url as
    http://iis/myServlet.wlforward
    but it does not work for
    http://iis/myServlet and this is the way i'd want it to work.
    Please tell me if I am missing something on the configuration part
    and if there is something special that needs to be done. I shall
    be grateful to you.
    Kumar Allamraju <[email protected]> wrote:
    http://e-docs.bea.com/wls/docs61/adminguide/isapi.html#101184
    Rishi wrote:
    How to configure IIS webserver with weblogic so that I can
    invoke servlets without the .wlforward extension
    As per the documentation iisforward.dll is registered as a filter
    and
    .wlforward
    has also been
    included as a special file type. However this requires me to key-in".wlforward"
    after my servlet name.
    What I want is something like this
    http://iis/MyServlet
    Please help me find a solution to this
    Thanks,
    Rishi

  • When I try to buy something, I get an Apple-ID which is not the one I want to use, and I don't know how to get rid of it either, so that I can use my ID, which is in Mail, Contacts etc. The ID I get, I can't find, so that I can delete it. What to do?

    When I try to buy something, I get an Apple-ID which is not the one I want to use, and I don't know how to get rid of it either, so that I can replace it with my ID in Mail, contacts etc. The ID I get without wanting it, I can't find anywhere. I have to delete it. How do I solve this problem, anyone?

    My content was obtained through another ID, which popped up earlier. Now this one doesn't pop up, and my current ID doesn't pop up either, but another one. How do you find an ID which is not in the store, and not in Mail, contacts etc. either?
    Or is it possible to write the ID yourself when you want to buy something, not only to have it popped up being unable to be changed?

  • Installed Trend Micro Smart Surfing on new MacBook Pro and now it has caused error that won't let computer boot up.  How do I get it to a point that I can delete program?

    Installed Trend Micro Smart Surfing on new MacBook Pro and now it has caused error that won't let computer boot up.  How do I get it to a point that I can delete program?

    Try booting up in Safe mode (holding down the Shift key while booting). If the software came with an unistaller, use it to remove alll traces of the software - it's nothing that you need and, as you've experienced, can do more actual hard than good (as is the case with most software of this type). When you're booted in Safe Mode, if you can't run an uninstaller, at least check to make sure that there are no Trend Micro items that are set for automatic log in, at least.
    Clinton

  • How do I view and manage certain files that I have stored in iCloud? I know that I can delete an entire backup, but is it possible to delete certain photos/contacts/notes etc. from that backup?

        How do I view and manage certain files that I have stored in iCloud? I know that I can delete an entire backup, but is it possible to delete certain photos/contacts/notes etc. from that backup?

    No.

  • When I flag an email with my gmail account using Apple's Mail App how do I flag and set a reminder that at a specific to follow

    When I flag an email with my gmail account using Apple's Mail App how do I flag and set a reminder that at a specific to time to follow up with that email ?

    Welcome to the Apple community.
    If you are unable to remember your password, security questions, don’t have access to your rescue address or are unable to reset your password for whatever reason, your only option is to contact Apple ID Support, upon speaking to an operator you should explain that your problem is related to your Apple ID, this way you will not be charged for assistance, even if you don’t have an AppleCare plan.
    The operator will take you through some steps you may have already tried, however they need to be sure they have exhausted all usual approaches before trying to reset your account, so you should try to be helpful and show patience with the procedure.
    The operator will need to verify they are speaking to the account holder and may ask you some questions that only the account holder could know, and you will need to answer them if the process is to proceed.
    Once the operator has verified your identity they will send a message through to your device which contains an alpha numeric code, which you will need to read back to them.
    Once this has been completed they will send an email to your iCloud email address after a period of 24 hours, so you should check that mail is enabled in your devices iCloud settings.
    Upon receipt of the email, use the reset link provided to reset your password, after which you should be able to make the adjustments to iCloud that you wish to do.

  • How do I setup my Airport Extreme so that I can extend the coverage of my existing AT&T wifi network?

    How do I setup my Airport Extreme so that I can extend the coverage of my existing AT&T wifi network?

    Start by establishing a permanent fixed Ethernet cable connection from one of the available LAN <-> ports on the ATT modem/router to the WAN "O" port on the AirPort Extreme.
    Ethernet cabling can be run up to 300+ feet or 100 meters, so you should be able to locate the AirPort Extreme exactly where it will be needed to provide more wireless signal coverage.
    Configure the AirPort Extreme to "create" a wireless network using exactly the same wireless network name, same wireless security setting, and same wireless network password that the ATT wireless is using.
    The final step is to insure that the AirPort Extreme is configured to operate in Bridge Mode, so it will work correctly with the ATT modem/router.
    If you need more specific steps, we need to know what operating system you are using on your Mac or PC. If you have a Mac and do not know which operating system it is using.....click the Apple icon in the upper left corner of the screen and then click About This Mac, and post back with the OS X version number that you see there.

  • When I click share to Facebook it takes me to my sons Facebook account. How do I add my facebook account so that I can send photos to that instead of my sons!!?

    When I click share to Facebook it takes me to my sons Facebook account. How do I add my facebook account so that I can send photos to that instead of my sons!!?

    iPhoto Preferences > Accounts > click the little plus in the lower left corner and follow the onscreen instructions.
    Cheers

  • How do I set up my iPad so that I can recieve the emails from my Outlook Express account

    How do I set up my iPad so that I can recieve the emails from my Outlook Express account

    Your iPad doesn't receive email from Outlook Express (or any other email client).  It receives email from your email provider.  To set up your email account on your iPad go to Settings>Mail,Contacts,Calendars...tap Add Account and add your email provider's account settings with your username and password.  iCloud, Gmail, Yahoo, AOL and Hotmail email settings are automatically entered by tapping the appropriate button.  Others must be manually entered by tapping Other.  (Exchange accounts will also require you to enter your email provider's settings.)

  • How to scan a hard copy to pdf that I can convert to word for editing?

    I've got a HP deskjet 3050A and my operating system is Windows 7, how to scan a hard copy to pdf that I can convert to word for editing?
    This question was solved.
    View Solution.

    Hi,
    The software provided for your device does not include OCR functionality
    You may use any 3rd part OCR solution to scan as editable text.
    If you have Microsoft Office suite there is a good chance the office suite provide this kind of capabilities:
    Office 2007 or 2010:
    http://www.howtogeek.com/howto/14595/ocr-anything-with-onenote-2007-and-2010/
    Office 2003:
    http://agsci.psu.edu/it/how-to/perform-ocr-with-microsoft-office-2003-document-imaging
    Regards,
    Shlomi
    Say thanks by clicking the Kudos thumb up in the post.
    If my post resolve your problem please mark it as an Accepted Solution

  • I am trying to convert a PDF into a document that can be edited - it's a client feedback form. I am using Adobe forms Central and it's saying that it can't use my document.

    I am trying to convert a PDF into a document that can be edited - it's a client feedback form. I am using Adobe forms Central and it's saying that it can't use my document.

    Hi Michelle ,
    We are extremely sorry that you have had a bad experience with Adobe .
    As far as your issue is concerned ,Acrobat generally prompts for internet connection as it is required to activate the product before you could use it comfortably .Once the product is activated or licensed you would be able to use the software offline .
    This could be the possible reason you are experiencing this .Please check if you have done so and still facing this .And if you have not ,you need to license/activate your product by typing in your credentials ,i.e Adobe ID and password .
    You could also refer the following link to get updated about the activation of your product .
    https://helpx.adobe.com/x-productkb/policy-pricing/activation-deactivation-products.html#a ctivate-how-to
    Regards
    Sukrit Dhingra

  • How do I set up my system so that I can program in C

    How do I set up my system so that I can program in C,C  ? Without using Xcode. Just want to write simple "hello, world" stuff. So far, my Mac seem oblivious to my efforts even though it seems that all the files are there.
    At first, it could not find gcc. Then I added /Developer/usr/bin to the path and it seemed to find gcc.
    Then it didn't find stdio.h. I added /Developer/SDKs/MacOSX10.6.sdk/usr/include/ to the path but it still doesn't find stdio.h
    There must be a standard C setup that my Mac is not conformaing to. How can I get set up like a regular Unix system and do C programming like I used to?
    Thanks,
    JfromG

    None of the responses/experiences seems to apply to me. Let me ask the question this way, because it's partly for my education and also I'd like to program in C. Let's say I have a Unix box and I want to program in C. What files need to be where in what directories? And why wouldn't that work on a Mac? My impression is that the Mac OS X 10.8 contains all I need, but it doesn't work. At least I don't think it does. I may be out in left field here. But surely, being a Unix box, I can get this machine to compile C code in something like the usual fashion. I don't need editors or development environments beyond the basic stuff - unless your telling me maybe I do! Anyway, just wondering what files need to go where in order to compile C programs. Thanks for you forbearance. I appreciate it.
    JohnfromG

Maybe you are looking for