Running Chuck program from iphone application

Hi,
I am trying to integrate chuck to my iphone application. How I can do this.?
I want to run one chuck program from iphone application.
Regards,
Ganesh Pisal
Vavni Inc.

Expect to get a lot of problems as embedding Java GUI application into native X GUI application is very complicated process which usually requires clear understanding of design of AWT native code for X. One of the problems is events sharing, another is X resource sharing. If you could provide more details on design of your program and interaction with Java we might try to at least estimate hardness of the problems and possibility of such an implementation at all.
The questions are:
1) Does you program uses the same X display connection as Java?
2) What kind of X toolkit are you going to use?
3) How are you going to embed Java windows into you X windows(if at all)?
4) Are you going to use Java X window(or widgets) from your program or you are going to use JNI and Java to interact with them through Java?

Similar Messages

  • Cannot run batch program from Java Application

    Hi All,
    Im trying to run a batch file under windows from my Java Program. The batch file is located in the following path:
    C:\Program Files\MyApp\runme.bat
    The above-entioned path contains white space which is not allowed in NT.
    Im trying following code:
    import java.io.*;
    public class Exec {
    public static void main(String args) {
    try {
    Runtime.getRuntime().exec("cmd /c start C:/Program Files/MyApp/runme.bat");
    }catch(Exception ex){ ex.printStackTrace();}
    How to run this file?
    Thanks in advance.
    Ketan Malekar

    or use the overload that takes an array of strings as argument
    String[] command = {"cmd", "/c", "start", "C:/Program Files/MyApp/runme.bat");
    Runtime.getRuntime().exec(command);

  • Can we run EXE file/ Another Java Program from Java Application? How?

    Can we run EXE file and another java program from java application?
    Thanks in advance

    Example running adobe acrobat
    String command = "C:\\Program Files\\Adobe\\Acrobat 5.0\\Reader\\AcroRd32.exe /t "+selectedDocument+" \\\\CONTROL\\HP LaserJet 4L";
    Runtime rn = Runtime.getRuntime();
    Process process = rn.exec(command);
    process.waitFor();rykk

  • Running exe files from java applications

    Hello All,
    Is it possible to run executable files from java applications?
    I need to run an exe file on the client from the server machine, the exe could reside on either the server or any other machine on the LAN. Is it possible to specify the path of where the exe resides, and run it on a client machine?

    HI,
    I tried to launch a MS Word application using runtime.exec but it gives me some problem
    The foll. code to launch a txt file using notepad works.
    Runtime rt = Runtime.getRuntime();
    String[] callAndArgs = {"notepad.exe","C:\\coo7\\wizard.txt"};
    Process child = rt.exec(callAndArgs);
    However, oif I try to launch a MS Word application, it asks for the entire path of WINWORD.exe, (unlike just specifying notepad.exe as the first argument in String[] callAndArgs) and this can vary from one machine to another.. how do I get around this?
    The foll. code snippet works but the complete path of where WINWORD.exe might be installed on any machine, is not fixed:-(
    Runtime rt = Runtime.getRuntime();
    String[] callAndArgs = {"C:\\Program Files\\Office\\Office10\\WINWORD.exe","C:\\coo7\\wizard.doc"};
    Process child = rt.exec(callAndArgs);
    Any idea/suggestions pls..

  • How to run java program from website?

    Hello
    I'd like to know how to run java program from my web page.
    I'd like to push some button in this web page so java program that would be on my server
    would pop-up. Can it be done automaticaly upon running this web site? (without any buttons - I just enter website and program pops up).
    Cheers

    I rather thought about RMI. But I could try servlets. So how it would look like?.
    I would make http request in browser (enter address) and program would show up in its window?. And I would not have to change anything in my program?. This program would run then on both boxes?. One remotely and one not?.
    But I would have to learn some basics, I've never worked with servlets. Could you suggest some good sites about it?. With ready examples so I could tweak them to my purpose.
    Message was edited by:
    macmacmac

  • Call an ABAP Program from Web Application designer

    Hi Gurus,
    I have an requirement in which I need to fetch an CSV file from the server and place the file into an internal table in R/3.I got the function module and wrote the program for this,but now I need to call this ABAP program from Web Application designer.
    To make it more explicit ,I need to call an ABAP Program /function module from the WAD.I am new to WAD Please help.
    Ankit

    Hi Ankit,
    take a look:
    /thread/725385 [original link is broken]
    WAD and ABAP
    How to call a ABAP or ABAP Class from the WEB
    /people/kai.wachter/blog/2008/03/11/how-to-write-own-items-in-bi-70-java-runtime
    Regards
    Andreas

  • PE4-Win7: Please run this program from the Administrator account so it can set up your license. Once the license is set up, you can run it from any account.

    Hi,
    I'm using Premiere Elements 4 in Windows 7 (64 bit). When I launch PE I get the following error:
    Please run this program from the Administrator account so it can set up your license. Once the license is set up, you can run it from any account.
    Any idea how to solve it?

    I came across this link online. Please check it out and decide if it will or will not advance your case.
    http://www.howtogeek.com/howto/windows-vista/enable-the-hidden-administrator-account-on-wi ndows-vista/
    ATR

  • Running My Program From Windows?

    Hi, now that I'm done with my program, is there any way that I can run the program from windows by creating a shortcut? I would like the program to run on other machines without having to start or install the JDK.

    Hi, now that I'm done with my program, is there any
    way that I can run the program from windows by
    creating a shortcut? I would like the program to run
    on other machines without having to start or install
    the JDK.First, the other machines do not need the JDK - they need the JRE which is much smaller. Second, your question is a variant of the most asked question on this forum. Try searching for "exe" or "executable" or something similar and you will find lots of answers.
    Quickly I can tell you that if your program use any GUI (ie AWT/Swing), there is no way you can avoid having the JRE on the target machines. You can, however, make installation programs that install the JRE along with you program if you wish.

  • Run a program from java code

    I want to run this program from my java code,
    In Linux(ubuntu) I write this command to open the program window
    $ paraFoam -case /home/saud/OpenFOAM/OpenFOAM-1.5/run/tutorials/icoFoam/cavity/In my java code I wrote it like this("/home/saud/OpenFOAM/OpenFOAM-1.5/bin/" is the path of the program):
    String command = "/home/saud/OpenFOAM/OpenFOAM-1.5/bin/paraFoam " +
              "-case /home/saud/OpenFOAM/OpenFOAM-1.5/run/tutorials/icoFoam/cavity/";
    final Process myProcess = Runtime.getRuntime().exec(command);
    BufferedReader buf = new BufferedReader(new InputStreamReader(
              myProcess.getInputStream()));
    String line;
    while ((line = buf.readLine()) != null) {
         System.out.print(String.format("%s\t\n", line));
    buf.close();
    int returnCode = myProcess.waitFor();
    System.out.println("Return code = " + returnCode); Return code = 0
    but the program is not opening
    Edited by: Saud.R on Apr 11, 2009 3:37 AM

    Welcome to the Sun forums.
    I am not sure of the answer to your question, but people who use Processes regularly, warn other users to ensure they are also doing something with the error stream of the process, otherwise it can hang as you describe.

  • PLSQL WANTS TO RUN  WINDOWS PROGRAM FROM PLSQL PROCEDURE

    WANTS TO RUN WINDOWS PROGRAM FROM PLSQL PROCEDURE.
    I want to run EXE file from pl/sql program , i have tried host it does
    work in pl/sql .
    Is there any Solution to this problem
    Thank you

    Hi,
    It sounds like what you are trying to do, is run one mapping in a pre-mapping process of another mapping. You use a wrapper that implements sqlplus_exec_template.sql in PL/SQL. Is that correct?
    I don't think that by the way you execute this mapping, it ends up in the context of the process flow. The reason is because according to Warehouse Builder the mapping is being invoked standalone (through the wrapper that implements the template). As a result, the context in which Warehouse Builder would log the messages is lost.
    What I suggest you do (assuming I understand the problem correctly), is run the mapping as a separate mapping in the process flow. Because in the current release we do not support passing output parameters in the process flow, you will have to (temporarily) store the results of the first mapping in a table and pick it up from there in the other mapping. In the next major release (autumn 2004) we will support passing parameters between activities.
    Thanks,
    Mark.

  • Run a report from an application

    Hi all,
    I don't know if this post belongs here or in the Reports forum. Anyway, any help with this will be muchly appreciated. I thought this task would be straightforward enough, but I'm having a whole lot of difficulty finding any instructions on it.
    I have an application developed in JDeveloper using BC4J. And I want to be able to print reports from this application. It is a standalone program, i.e., not JSP. I have a number of reports I will want to run, and for now I have created the simplest one in Oracle Reports. How do I run this from my Java application? I would really rather not have to open a browser window or generate a PDF, but just print the thing immediately (or give the user a preview if desired).
    Thank you in advance,
    Owen Gibbins

    Does anyone have any thoughts on this?

  • Run java program from start menu

    Does anyone know how to write a class so that when a user is running my program for the first time they can run an installation file that will put a shortcut to my bat file in the start menu.Know of any place i can get info on setting up an installation class or something similar.
    If you could give me some info would greatly appreciate it,it's my first time doing anything this big and not really sure where to start with writing an installation file

    If your program is just for windows then giving the user an exe instead of a .bat file will help.
    http://www.rolemaker.dk/nonRoleMaker/javalauncher/marner_java_launcher.htm
    Your user will either need to have a JVM installed on their machine or you will need to provide one with the application. If you intend to provide one, the licence doesn't allow you to install it on to the target machine, but you can place the java dir in your directory structure and access the java/javaw command by a relative path (see the help on the above site for that)
    Once you have a directory structure set up for your application, you can use any comercial intall program to give give you a setup.exe file or whatever. if you are providing the VM with your distribution, then the file will at least 14MB plus your class and resource files. If you read the licence agreement for distributing the VM, it tell you what files can and can't be removed from it to make the file a bit smaller. For instance, you can remove webstart because you won't be using that.
    search http://www.download.com/ for installers. I think there are a few ad supported ones if you don't want to pay

  • Running powewrpc programs from the command line

    I am trying to run a powerpc application (quicken) from the command line. I want to log into the mac over my local network and run a powerpc program, but I get the following when I try it:
    cannot execute binary file
    I am logging in via ssh, and am running the X11 package from a different unix system which also runs X11.
    How do I get the application to execute? (it runs fine from the desktop).

    I am sitting at a Sun Solaris machine (it runs X11R6
    and Matif). I want to run Quicken, which is on the
    mac mini. I log into the mac with ssh -X. I find the
    Quicken program, but the permissions are set to 644
    (read, but not execute). If I change the permissions
    and try to run the program I get teh error message
    "cannot execute binary file".
    The window interface of the Mac is not X11: so you cannot output it on another X system. Is is not like connecting to another Un*x system.
    Said that, you should be able to launch a program, but you cannot see the output. However, usually Macosx applications are bundles with some executable inside, not directly an executable file: .app files are folders, not files. In order to launch such kind of apps, you have to use the open command I suggested in the previous post.
    I have no idea what VNC is. If this is how I can do
    this, then please provide me a link to it.
    VNC is a screen sharing application, just like Windows Remote Desktop. You may install a VNC server on your mac mini, and then connecting with a VNC client you will see all your computer screen as if you were there. It is cross platform, so no matter which is your client (including mobile phones).

  • I have no problem connecting my i-phone programs to my tv through apple tv. but one program from an application from appstore don't go through apple tv. It says an error occured while loading the content.This is just for one program. All other works good.

    My apple TV works fine with my I-Phone 4s. But one program from one of the application I downloaded from the app store dont work. When I load that a message comes "an error occured while loading this program" This is  only for one program all other most of the time works good. Any one knows why ?

    Hi there Mundaplackel!
    I have an article here for you that can help you troubleshoot the functionality of that app that you have purchased from the app store, and should be able to give you some steps that will help you resolve the issue:
    iOS: Troubleshooting applications purchased from the App Store
    http://support.apple.com/kb/TS1702
    Thanks for using the Apple Support Communities!
    Cheers,
    Braden

  • How to run java programs from a master java program?

    Hello,
    I have several java programs which run from the command prompt. I am seeking help with code for starting java programs from within a java program. For example, a program called master.java works something like this:
    import java.*;
    create connection pool
    create variables and result sets
    start/run slave1.java (var1, var2);
    start/run slave2.java (var3, var4, var5);
    start/run slave3.java (var1, var4);
    end of program master.java
    Each of the slave.java programs will run for up to an hour. I do not want the master.java program to pause for each slave program to stop. Instead, the master program will keep running and multiple slave programs will be running simultaneously with the master program. When a slave program starts, it is on its own. Also, if possible, I would like to have each of these slave.java programs open in a new separate command window, so I can observe each slave program running in separate windows.
    Any suggestions for code or helpful documentation are greatly appreciated.
    Thank you,
    Logan

    Thank you all.
    At the bottom of master.java I have successfully started a batch file with these lines:
    String jcmd = "cmd.exe /c start c:/data/simulations/MsgViewCount2.bat";
    Process proc = Runtime.getRuntime().exec(jcmd);
    But I still cannot get a java program to start. Here is one variation I have tried:
    String [] cmdArray = new String[2];
    cmdArray[0] = "java";
    cmdArray[1] = "slave1";
    Runtime runtime = Runtime.getRuntime();
    Process process = runtime.exec(cmdArray);
    This compiles, and no errors occur, but nothing happens.
    Regarding this comment:
    Why Runtime.exec? Either make the slaves Runnable or
    just call their main() methods.
    Oh, I see. Sepearate output. :PNone of the slave.java programs have any output.
    Thanks again.

Maybe you are looking for

  • Select query in materialized view with two dblinks

    Hi All, We have oracle 10g On windows. We are trying to create materialized view. Scenario is we have base table on other database and we are creating mview on different database. Basa database have two schema's and i am selecting records from that t

  • VG 224 Error while booting?

                       Hi, This VG 224 is right out of the box and during the booting it displays these errors. % Crashinfo may not be recovered at flash:crashinfo % This file system device reports an error Then when I tried to take a look at the flash i

  • Files from PS and AI don't appear right

    I've created some artwork in Photoshop and also in Illustrator, then when I open in Catalyst, the images area as small I don't know what and when I enlarge one it appears like a gear made up of pixels, and the image looks right on the right side, but

  • Airport express and itune streaming over distance

    What is the distance in airport express can pass signal through audio out port? Can I connect an 75 foot stereo mini to rca connector cable to my stereo successfully? Thanks for anybodies help.

  • Server Exception during PPR, #1 ... Problem...

    Hi, I am having the current exception... <RegistrationConfigurator><handleError> Server Exception during PPR, #1 java.lang.NullPointerException This exception present in a method in my bean that i invoke with a "<af:serverListener type="handleCommand