How to use original java VM in microsoft windows applications

I have seen few applications like of Oracles, They use Java Beans and classes in the windows applications.
Can any one of you tell me how can i use java classes in Windows applications(through oroginal java VM only, not by microsoft Java VM).

actually i think they use the same way i use in my applications:
i have Microsoft Visual C++ 6.0 by which i write a windows program interface (like oracle) then create from inside it, in reflection to a button event for example, a procedure which runs "javaw.exe -cp ... MyJavaProgram.class" this java program executes in its own work space and i can terminate it from within my C++ program, but i can't get data from within it directly, i use the DBMS as a way to get data from within it.
but i'm not tried for example to run java bean directly in my VC++ program, emaple, not run swing component inside my VC++ main window Created by Visual C++
that is what i'm doing. i hope there is a better way to do so because i don't like it that way i do.

Similar Messages

  • How to use a java version on a CD application?

    i need to specify the location of a version of java on a cd, meaning that i want the java applet on the cd to use the version of java that i will supply on the cd, regardless of what is on the machine itself. can i do this? and how?
    thanks

    So you'd like to have people run your applets without having to install a JRE? I don't think that's possible. (That is: everything except for a paradox is possible, but it won't be worth the while.) I think your best shot will be to provide an URL to the sun site (where the latest JRE/plugin can be found).
    Kind regards,
      Levi

  • How to Use the JAVA SCRIPT code in .htm page of the component

    Hi .
    In my requirement i have to use Java Script Function in .htm code ..how to use the java script code and functions in .htm???
    thank you
    B.Mani

    Check this document  [Arun's Blog|http://wiki.sdn.sap.com/wiki/display/CRM/CRMWebClientUI-TalkingwithJava+Script]
    Regards
    Kavindra

  • How to use the Java embedding activity in BPel

    hi all,
    How to use the java embedding activity in BPEL
    pls can u provide sample example

    1 Use [Oracle BPEL Process Manager Client Java API Reference|http://download-uk.oracle.com/docs/cd/B31017_01/integrate.1013/b28986/overview-summary.html] and especially [com.collaxa.cube.engine.ext|http://download-uk.oracle.com/docs/cd/B31017_01/integrate.1013/b28986/com/collaxa/cube/engine/ext/BaseBPELXExecLet.html]
    Instead of System.Out.println use addAuditTrailEntry(java.lang.String message)
    2. If you want to import a package write in code (Source View) of bpel process
    +<bpelx:exec import="package_name"/>+ for example +<bpelx:exec import="java.util.regex.Matcher"/>+
    example 1:
    String bodyAsString;
    StringBuffer myStringBuffer = new StringBuffer();
    try {
    bodyAsString = (String)getVariableData("BodyString");
    addAuditTrailEntry("bodyAsString1: "+ bodyAsString);
    Pattern pattern = Pattern.compile("goodDay");
    Matcher matcher= pattern.matcher(bodyAsString);
    while (matcher.find()) {   
    matcher.appendReplacement(myStringBuffer, "shitDay");
    matcher.appendTail(myStringBuffer);
    bodyAsString = myStringBuffer.toString();
    addAuditTrailEntry("bodyAsString2: "+ bodyAsString);
    } catch (Exception ex) {
    addAuditTrailEntry("Failed+bodyAsString",ex.getMessage());
    I put in code (Source View) the following
    <bpelx:exec import="java.util.regex.Matcher"/>
    <bpelx:exec import="java.util.regex.Pattern"/>
    example2:
    Object temp;
    try {
    temp = ((XMLElement)getVariableData("inputVariable","payload","/ns2:FiscalisMessage/ns2:Body")).getChildNodes().item(1);
    setVariableData("AdjReceipt",temp);
    addAuditTrailEntry("ok",temp.toString());
    catch (Exception ex) {
    addAuditTrailEntry("Failed :",ex);
    I put in code (Source View) the following
    <bpelx:exec import="oracle.xml.parser.v2.XMLElement"/>

  • How i use OEM 12c to monitor Microsoft Active directory.

    Hi,
    How i use OEM 12c to monitor Microsoft Active directory.Please assist me on this.
    Thanks,
    Sagar

    Hi,
    The fundamental problem with this scenario is that you have non-failover capable modules in a failover chassis - think of the ASA failover pair as one device and the IPS modules as two completely separate devices.
    Then, as already mentioned, add only the primary ASA. (The secondary will never be passing traffic in standby mode so it's not actually needed in MARS) Then, with the first IPS module you can add it as a module of the ASA or as a standalone device (MARS doesn't care). With the second IPS module the only option is to add it as a separate device anyway.
    In a failover scenario the ASA's swap IP's but the IPS's don't so whereas you'll only ever get messages from the active ASA you'll get messages from both IPS IP's depending on which one happens to be in the active ASA at the time.
    Don't forget that you have to manually replicate all IPS configuration every time you make a change.
    HTH
    Andrew.

  • How to use find my iPhone app for windows pc

    How to use find my iPhone app for windows pc ... Is it possible to do..
    Or what is the closest app to do that.,,,,,

    iPhone User Guide (For iOS 5.0 Software)
    iCloud: Find My iPhone
    iCloud: Find My iPhone overview
    iCloud: Set up Find My iPhone

  • How to use Time Capsule via INTERNET WITH WINDOWS 7 SMB Cloud

    how to use Time Capsule via INTERNET WITH WINDOWS 7 SMB Cloud

    Get a vpn router.. I have no idea where you are in the world but you can find reasonable stuff for not too much money or even a general router that takes third party firmware like dd-wrt can run openvpn. 
    Set up the vpn router in place of the TC, as the main router in the network. Simply bridge the TC and place it behind the router. It will be accessible as part of the network via the vpn.
    This is the only safe way to do it via windows.
    http://www.dyncommunity.com/questions/18132/accessing-time-capsule-from-windows- 7-over-the-int.html
    If you google around I have seen posts about how to access TC by port forwarding SMB on the TC.. using a different port.. To me this is going to slow down the hackers by a day or two.. then they will discover the open port and access your network.. not just the TC.. they now have SMB access to everything. Don't do it. There is very little security on SMB.

  • SMP3 - AppDevelopment (Agentry):how to use GCM (Google cloud Messaging) for Agentry Application.

    Hi, I have a question on SMP3 and AppDevelopment (Agentry): how to use GCM (Google cloud Messaging) for Agentry Application for PUSH notification

    Pratik,
    Let me walk you through the flow with the assumption that the user is on an Android device and "connected" to the Agentry server.
    An emergency workorder is created in SAP and assigned to the technician. 
    The SAP backend system will notify the Agentry server via an XML message that there is a workorder to send.
    Agentry will get the details and if the user is connected attempt to send the workorder to the device via the Push mechanism
    If the push fails to reach the Agentry client, the Agentry server will send a GCM message to the user
    When the user returns to the Agentry client, the normal push processing / fetch will occur to receive the workorder from the server assuming the push retrys are in effect.
    So, essentially you should not have to do anything to get the GCM to work as a secondary notification mechanism.
    If you are looking to do something else with GCM that would be outside of Agentry.
    --Bill

  • I can't open application "Setup EXE" because Microsoft Windows applications are not supported on OS X.

    I can't open application "Setup Exe" because Microsoft Windows applications are not supported on OS X!  How do I install Windows software?

    Sorry I misinformed you this is update bundle, if you already have Office installe, you can search Amazon for Micrsoft Office for Mac, sorry for the error,
    Check here:
    http://www.amazon.com/Office-Mac-Home-Student-2011/dp/B0064PFB9U/ref=sr_1_1?ie=U TF8&qid=1387734396&sr=8-1&keywords=microsoft+office+mac+download
    Also check around you may find better pricing, I included tis for an example.

  • You can't open the application "MFI_Simulator.exe" because Microsoft Windows applications are not supported on OS X. Can someone assist. I have Office for Mac 2011 on MacBook Pro 13''.

    You can’t open the application “MFI_Simulator.exe” because Microsoft Windows applications are not supported on OS X. Can someone assist. I have Office 2011 on my MacBook Pro, OS X, 10.9.1.

    Your Office 2011, though a Microsoft product, is designed to work with OSX the Mac operating system.  Any program/application ending .exe is an executable program for Windows.  It will only work in Windows and is not part of or openable with Microsoft Office.
    the application you want to open needs Windows - you have a couple of alternatives:
    Open it on a Windows PC
    Install a valid version of Windows via Bootcamp (or Parallels or VM Fusion) which will allow you to boot your Mac into Windows where it will function like a Windows PC and you can use it to run the application.
    See if the manufacturers of MFI_Simulator have a Mac version available.
    Please note that if you follow the second option, then you will need to purchase a copy of Windows (if you do not have one already). BootCamp is free (part of OSX) but Parallels and VM Fusion cost too.  I see quite a few posts from people who buy Parallels and try to run the program under Parallels - this doesn't work - you need to install Windows as well.
    Hope this helps.

  • I'm trying to download internet security and an error of microsoft windows applications are not supported on OS x keeps coming up

    I'm trying to download internet security and an error of microsoft windows applications are not supported on OS x keeps coming up

    That's because you must be trying to download a Windows application, and they do not run on a Mac unless you are running Windows on the Mac.
    Helpful Links Regarding Malware Protection
    An excellent link to read is Tom Reed's Mac Malware Guide.
    For adware removal see The Safe Mac » Adware Removal Guide and The Safe Mac » Adware Removal Tool.
    Also, visit The XLab FAQs and read Detecting and avoiding malware and spyware.
    See these Apple articles:
      Mac OS X Snow Leopard and malware detection
      OS X Lion- Protect your Mac from malware
      OS X Mountain Lion- Protect your Mac from malware
      OS X Mavericks- Protect your Mac from malware
      About file quarantine in OS X
    If you require anti-virus protection Thomas Reed recommends using ClamXAV. (Thank you to Thomas Reed for this recommendation.)
    From user Joe Bailey comes this equally useful advice:
    The facts are:
    1. There is no anti-malware software that can detect 100% of the malware out there.
    2. There is no anti-malware that can detect anything targeting the Mac because there
         is no Mac malware in the wild, and therefore, no "signatures" to detect.
    3. The very best way to prevent the most attacks is for you as the user to be aware that
         the most successful malware attacks rely on very sophisticated social engineering
         techniques preying on human avarice, ****, and fear.
    4. Internet popups saying the FBI, NSA, Microsoft, your ISP has detected malware on
        your computer is intended to entice you to install their malware thinking it is a
        protection against malware.
    5. Some of the anti-malware products on the market are worse than the malware
        from which they purport to protect you.
    6. Be cautious where you go on the internet.
    7. Only download anything from sites you know are safe.
    8. Avoid links you receive in email, always be suspicious even if you get something
        you think is from a friend, but you were not expecting.
    9. If there is any question in your mind, then assume it is malware.

  • I'm trying to load photoshop elements 12 on my mac os x and when i click setup.exe i get :    You can't open the application "Setup.exe" because Microsoft Windows applications are not supported on OS X.

    i'm trying to load photoshop elements 12 on my mac os x and when i click setup.exe i get : You can’t open the application “Setup.exe” because Microsoft Windows applications are not supported on OS X.  The premiere elements 12 out of the same box loaded just fine.

    An .exe file means you have the windows version. Go get the mac version:
    Download Photoshop Elements products | 12, 11, 10
    but I hope you have a mac serial number.

  • Why does 'You can't open the application "setup.exe" because Microsoft Windows applications are not supported on OS X.' pop up whenever i try to download the latest flash player?

    whever i try to access websites, most of them work but facebook, youtube, my school email, sometimes even google, and alot other websites wont work for me and will tell me i need to update the lastest Flash Player. but when i try to download it, it says 'You can’t open the application “setup.exe” because Microsoft Windows applications are not supported on OS X.' what does that even mean?? This happens on safari, google chrome and i downloaded firefox and it worked for a couple of hours and then stopped working again.
    please help, thanks in advance.

    1. Install Adobe Flash Player from Adobe site.
        http://get.adobe.com/flashplayer/
       Download it first. Click Safari in the menubar and select “Quit Safari”.
        Follow the prompts and install it.
        Restart computer. Relaunch Safari.
    2.  Allow  Plug-ins
        Safari > Preferences > Security
        Internet Plug-ins >  "Allow  plug-ins"
        Enable it.

  • Microsoft Windows applications are not supported on OS X. help

    Im trying to watch a DVD for a health and safety test i need to do and I'm getting "You can’t open the application “RunMe.exe” because Microsoft Windows applications are not supported on OS X."
    Im not very good with computers so any help greatly appreciated 

    You chose a Windows program, what else can you do.
    If you had a Windows machine and the DVD required a Mac you wouldn't be able to run it at all (Winboxes can't run OSX) so at least the Mac gives you the option.

  • Microsoft Windows applications on OS X?

    Does anyone know what to do in order to be able to open Microsoft Windows applications on OS X?

    You either need to create a Bootcamp partition and install Windows or get a program like Parallels and install Windows. Either way, you need a valid copy of Windows.

Maybe you are looking for

  • Update tables in a view

    Is it possible to update the tables in a view?

  • :NEW cannot be used in After Delete Trigger ?

    Hi, Is there any way to get the :NW.value in the After delete trigger for each row. My requirement is audit log of the end user DML operations along with user Name (HERE THE USER IS NOT THE ORACLE USER, BECAUSE OF THE LARGE NUMBER OF END USERS WE ARE

  • Photo application won't open anymore on my ipad

    I have about 8gb of pictures on my 64gb ipad and been syncing it on the iphoto on my mac. Ive been doing that for quite sometime and working perfectly but after i used faces on my mac and synced it again, Photo application on my ipad wont open anymor

  • Purchase orders item texts incorrect display

    Hi everyone, i am having a bit of a hard time solving an incorrect display of purchase orders item texts. For an unknown reason, i can't manage to modify the item's text of a purchase order, it's as it has been set on "display". I checked AKTH, ME21,

  • How do I put a panoramic photo as my wallpaper

    I have the iPhone 5c and I would really like to know how to set up the panoramic wallpaper every time I try and fine the folder for it i can't any help?!?!?!?!?