Is it possible to run a compiler in a java app?

Hey guys and girls,
I was wondering if it is possible to compile a java or cpp or c or python or ruby... app inside a java aplication. If you sellect a file and match it to the propper compiler can it compile? I know you would need to have the compiler for the language. Is it possable to run a compiler? If so is there any links or things i should seach / look up to start?
Thanks

BigDaddyLoveHandles wrote:
kingryanj wrote:
http://java.sun.com/javase/6/docs/api/javax/tools/JavaCompiler.html
has base code, but how do you impement it, or what part? any tips on starting?JavaCompiler is an interface. Did you read and study its documentation?Not to mention javac.exe is an executable :)

Similar Messages

  • Is it possible to run a website built in Java and applet from Safari browser in iPad

    Is it possible to run a website built in Java and applet from Safari browser in iPad?

    Java isn't supported on the iPad

  • How can i run a linux command in java app?

    i created a cell script to run the compile process of my C++ simulator and want to control it thru java application, i tried the following but it doesn't work.
    the command in linux should be. under the path /home/workspace/SIM/ run: . / zs_compile
    and i use runtime to do this
    String path="home/workspace/SIM/ . /zs_compile";
    try {Runtime.getRuntime().exec(path);}
    catch( IOException e) {
    e.printStackTrace() ;
    Error report is java.io.IOException: java.io.IOException: home/workspace/SIM/ . /zs_compile : not found
    who can help me to find the reason, thanks a lot!!!!!

    the reason is that the command you're truing to execute can't be found. se this article for other traps relatd to runtime.exec:
    http://www.javaworld.com/javaworld/jw-12-2000/jw-1229-traps.html
    the command in linux should be. under the path /home/workspace/SIM/ run: . / zs_compilecould yu elaborate a bit? "should be . under the path" -- do you mean it should be sourced from that path? Sourcing a script file makes no sense from a Java program.

  • Is it possible to run dos-command's in java?

    I have a small security problem. I have a dos-based java prog. with login at the start og the program, but I have problems hiding the password. I have managed to hide the password when it is typed, but when you press enter and get to the next menu, it is only to press the up-key, and dos recover the last typed sentence. (The password...) I have been able to fine the dos-command "doskey /reinstall", which will clear the memory, but I haven't been able to implemet this in my java-prog.
    Any tips/trics are appreciated.

    I have a small security problem. I have a dos-based
    java prog. with login at the start og the program, but
    I have problems hiding the password. I have managed to
    hide the password when it is typed, but when you press
    enter and get to the next menu, it is only to press
    the up-key, and dos recover the last typed sentence.
    (The password...) I have been able to fine the
    dos-command "doskey /reinstall", which will clear the
    memory, but I haven't been able to implemet this in my
    java-prog.
    I doubt that calling that in your program would help.
    doskey is specific to the process. Running it by any means in java means that a new process will exist. You can verify this by open two console windows and running doskey in both. Nothing that you do in one will be reflected in the other.
    I don't think your problem is a program problem. That means that it should not be solved by software but rather by management. For example you certainly wouldn't expect your program to make sure that someone wasn't standing behind the user when they typed their password right? And what if someone installs a key grabber on the computer? In that case any program, yours included, would have all the key presses logged to a file.
    Alternatively if you might be able to solve it with one of the following...
    - Recode the application to use a GUI. If there is no console the doskey isn't going to get anything.
    - Write some JNI that bypasses the java input handling. If you handle the input directly then you can turn off echo
    - Inspect the java source code for the VM. There might be a hidden method to turn echo off. Alternatively you can find the code responsible for this, modify them, and use them with the bootclass option to replace the ones in the VM. This solution is not distributable. And it might not be possible solely using java.

  • Strange running and compiling errors on some apps.

    Hey,
    I recently installed Archlinux 08.2012 (20 days ago aprox.), everything was going perfectly since yesterday.
    I guess that the problem started during the AUR installation of Cinnamon which showed me a strange and undocumented error, during the "make" process. I believe that the error is undocumented because I do not found any post or information about it. Here you have the error which is the same of AUR:
    [albert@(none) linuxmint-muffin]$ make
    make all-recursive
    make[1]: Entering directory `/home/albert/Baixades/linuxmint-muffin'
    Making all in src
    make[2]: Entering directory `/home/albert/Baixades/linuxmint-muffin/src'
    make all-recursive
    make[3]: Entering directory `/home/albert/Baixades/linuxmint-muffin/src'
    Making all in wm-tester
    make[4]: Entering directory `/home/albert/Baixades/linuxmint-muffin/src/wm-tester'
    make[4]: Nothing to be done for `all'.
    make[4]: Leaving directory `/home/albert/Baixades/linuxmint-muffin/src/wm-tester'
    Making all in tools
    make[4]: Entering directory `/home/albert/Baixades/linuxmint-muffin/src/tools'
    make[4]: Nothing to be done for `all'.
    make[4]: Leaving directory `/home/albert/Baixades/linuxmint-muffin/src/tools'
    Making all in compositor/plugins
    make[4]: Entering directory `/home/albert/Baixades/linuxmint-muffin/src/compositor/plugins'
    make[4]: Nothing to be done for `all'.
    make[4]: Leaving directory `/home/albert/Baixades/linuxmint-muffin/src/compositor/plugins'
    make[4]: Entering directory `/home/albert/Baixades/linuxmint-muffin/src'
    GISCAN Meta-3.0.gir
    /usr/bin/g-ir-scanner: line 26: __builtin__.__dict__[DATADIR]: command not found
    /usr/bin/g-ir-scanner: line 29: syntax error near unexpected token `('
    /usr/bin/g-ir-scanner: line 29: ` def on_exception(exctype, value, tb):'
    make[4]: *** [Meta-3.0.gir] Error 2
    make[4]: Leaving directory `/home/albert/Baixades/linuxmint-muffin/src'
    make[3]: *** [all-recursive] Error 1
    make[3]: Leaving directory `/home/albert/Baixades/linuxmint-muffin/src'
    make[2]: *** [all] Error 2
    make[2]: Leaving directory `/home/albert/Baixades/linuxmint-muffin/src'
    make[1]: *** [all-recursive] Error 1
    make[1]: Leaving directory `/home/albert/Baixades/linuxmint-muffin'
    make: *** [all] Error 2
    When the error appears my default mouse pointer disappears and is replaced by a cross. If I do not make 3 mouse clicks the compilation progress does not go and never shows the error. It remains waiting for my 3 clicks showing me on the prompt
    GISCAN Meta-3.0.gir
    As I saw that the error was related to g-ir-scanner I tried to run it:
    [albert@(none) ~]$ g-ir-scanner
    import: unable to grab mouse `': Resource temporarily unavailable @ error/xwindow.c/XSelectWindow/9047.
    /usr/bin/g-ir-scanner: line 26: __builtin__.__dict__[DATADIR]: command not found
    /usr/bin/g-ir-scanner: line 29: syntax error near unexpected token `('
    /usr/bin/g-ir-scanner: line 29: ` def on_exception(exctype, value, tb):'
    [albert@(none) ~]$
    And then the mouse pointer's strange cross appeared again with the same symptomes than the last issue.
    But the problem does not finish here. This evening I installed the Openshot software and when I tried to run it, the strange cross appeared again.
    And the prompt log out is:
    [albert@(none) ~]$ openshot
    /usr/bin/openshot: line 24: syntax error near unexpected token `('
    /usr/bin/openshot: line 24: `realfile = os.path.realpath(__file__)'
    [albert@(none) ~]$
    I really don't know what kind of problem I have, but It always repeat
    /usr/bin/X: line XX: syntax error near unexpected token `('
    I hope that someone will know how to help me.
    Thank you for your time.
    Wamest regars.
    Last edited by acasnaovas (2012-08-28 21:47:40)

    Waoo, I reinstalled the packages (pacman -Sf python python2 gobject-introspection) and the openshot works and pitivi to, there is no more strange cross and errors, well just one always after Pacman finishes :
    ldconfig: el fitxer «/lib/libakonadi-filestore.so» is empty, no es comprova
    ldconfig: el fitxer «/lib/libprison.so» és buit, no es comprova
    ldconfig: el fitxer «/lib/libkdepim-copy.so.4.9.0» és buit, no es comprova
    ldconfig: el fitxer «/lib/libkresources.so.4.8.0» és buit, no es comprova
    ldconfig: el fitxer «/lib/libgpgme++.so» és buit, no es comprova
    ldconfig: el fitxer «/lib/libakonadiprotocolinternals.so.1» és buit, no es comprova
    ldconfig: el fitxer «/lib/libakonadi-kcal.so.4» és buit, no es comprova
    ldconfig: el fitxer «/lib/libkxmlrpcclient.so.4.8.0» és buit, no es comprova
    ldconfig: el fitxer «/lib/libakonadi-kmime.so» és buit, no es comprova
    ldconfig: el fitxer «/lib/libqrencode.so.3» és buit, no es comprova
    ldconfig: el fitxer «/lib/libqgpgme.so.1.0.1» és buit, no es comprova
    ldconfig: el fitxer «/lib/libgpgme++-pthread.so.2» és buit, no es comprova
    ldconfig: el fitxer «/lib/libakonadi-calendar.so.4.8.0» és buit, no es comprova
    ldconfig: el fitxer «/lib/libgpgme++-pth.so.2» és buit, no es comprova
    ldconfig: el fitxer «/lib/libkldap.so.4» és buit, no es comprova
    ldconfig: el fitxer «/lib/libakonadi-kcal.so» és buit, no es comprova
    ldconfig: el fitxer «/lib/libsyndication.so» és buit, no es comprova
    ldconfig: el fitxer «/lib/libkpimutils.so.4» és buit, no es comprova
    ldconfig: el fitxer «/lib/libprison.so.0.0.0» és buit, no es comprova
    ldconfig: el fitxer «/lib/libkdepim-copy.so.4» és buit, no es comprova
    ldconfig: el fitxer «/lib/libkimap.so.4» és buit, no es comprova
    ldconfig: el fitxer «/lib/libmaildir.so» és buit, no es comprova
    ldconfig: el fitxer «/lib/libakonadi-kmime.so.4.8.0» és buit, no es comprova
    ldconfig: el fitxer «/lib/libkmindexreader.so.4.9.0» és buit, no es comprova
    ldconfig: el fitxer «/lib/libsensors.so» és buit, no es comprova
    ldconfig: el fitxer «/lib/libakonadi-kde.so.4» és buit, no es comprova
    ldconfig: el fitxer «/lib/libkblog.so» és buit, no es comprova
    ldconfig: el fitxer «/lib/libkpimutils.so.4.8.0» és buit, no es comprova
    ldconfig: el fitxer «/lib/libakonadi-contact.so.4.8.0» és buit, no es comprova
    ldconfig: el fitxer «/lib/libgpgme++-pth.so» és buit, no es comprova
    ldconfig: el fitxer «/lib/libkmbox.so» és buit, no es comprova
    ldconfig: el fitxer «/lib/libkholidays.so.4» és buit, no es comprova
    ldconfig: el fitxer «/lib/libkontactinterface.so.4» és buit, no es comprova
    ldconfig: el fitxer «/lib/libkmime.so» és buit, no es comprova
    ldconfig: el fitxer «/lib/libqalculate.so» és buit, no es comprova
    ldconfig: el fitxer «/lib/libakonadi-contact.so» és buit, no es comprova
    ldconfig: el fitxer «/lib/libgpgme++.so.2.8.0» és buit, no es comprova
    ldconfig: el fitxer «/lib/libakonadi-kabc.so.4.8.0» és buit, no es comprova
    ldconfig: el fitxer «/lib/libakonadi-calendar.so.4» és buit, no es comprova
    ldconfig: el fitxer «/lib/libqjson.so.0.7.1» és buit, no es comprova
    ldconfig: el fitxer «/lib/libqgpgme.so.1» és buit, no es comprova
    ldconfig: el fitxer «/lib/libdmtx.so» és buit, no es comprova
    ldconfig: el fitxer «/lib/libdmtx.so.0.0.0» és buit, no es comprova
    ldconfig: el fitxer «/lib/libkcal.so.4.8.0» és buit, no es comprova
    ldconfig: el fitxer «/lib/libGLESv2.so.2» és buit, no es comprova
    ldconfig: el fitxer «/lib/libGLESv1_CM.so.1.1.0» és buit, no es comprova
    ldconfig: el fitxer «/lib/libakonadiprotocolinternals.so» és buit, no es comprova
    ldconfig: el fitxer «/lib/libkdepim-copy.so» és buit, no es comprova
    ldconfig: el fitxer «/lib/libkmbox.so.4.8.0» és buit, no es comprova
    ldconfig: el fitxer «/lib/libkdepim-runtime-dms-copy.so» és buit, no es comprova
    ldconfig: el fitxer «/lib/libkmindexreader.so.4» és buit, no es comprova
    ldconfig: el fitxer «/lib/libmaildir.so.4» és buit, no es comprova
    ldconfig: el fitxer «/lib/libcln.so.6» és buit, no es comprova
    ldconfig: el fitxer «/lib/libkgapi.so.0.4.1» és buit, no es comprova
    ldconfig: el fitxer «/lib/libkalarmcal.so.2» és buit, no es comprova
    ldconfig: el fitxer «/lib/libqscintilla2.so.8» és buit, no es comprova
    ldconfig: el fitxer «/lib/libsyndication.so.4.8.0» és buit, no es comprova
    ldconfig: el fitxer «/lib/libkalarmcal.so» és buit, no es comprova
    ldconfig: el fitxer «/lib/libmailtransport.so.4» és buit, no es comprova
    ldconfig: el fitxer «/lib/libqscintilla2.so.8.0» és buit, no es comprova
    ldconfig: el fitxer «/lib/libakonadi-kde.so.4.8.0» és buit, no es comprova
    ldconfig: el fitxer «/lib/libakonadi-kmime.so.4» és buit, no es comprova
    ldconfig: el fitxer «/lib/libkblog.so.4» és buit, no es comprova
    ldconfig: el fitxer «/lib/libmicroblog.so.4» és buit, no es comprova
    ldconfig: el fitxer «/lib/libakonadi-kcal.so.4.8.0» és buit, no es comprova
    ldconfig: el fitxer «/lib/libqrencode.so» és buit, no es comprova
    ldconfig: el fitxer «/lib/libkcalcore.so.4» és buit, no es comprova
    ldconfig: el fitxer «/lib/libkabc_file_core.so.4» és buit, no es comprova
    ldconfig: el fitxer «/lib/libakonadi-kabc.so» és buit, no es comprova
    ldconfig: el fitxer «/lib/libmicroblog.so» és buit, no es comprova
    ldconfig: el fitxer «/lib/libkmindexreader.so» és buit, no es comprova
    ldconfig: el fitxer «/lib/libgpgme++-pth.so.2.8.0» és buit, no es comprova
    ldconfig: el fitxer «/lib/libktnef.so.4» és buit, no es comprova
    ldconfig: el fitxer «/lib/libkpimidentities.so» és buit, no es comprova
    ldconfig: el fitxer «/lib/libkabc_file_core.so» és buit, no es comprova
    ldconfig: el fitxer «/lib/libkmbox.so.4» és buit, no es comprova
    ldconfig: el fitxer «/lib/libGLESv2.so.2.0.0» és buit, no es comprova
    ldconfig: el fitxer «/lib/libkcal.so» és buit, no es comprova
    ldconfig: el fitxer «/lib/libqimageblitz.so.4» és buit, no es comprova
    ldconfig: el fitxer «/lib/libkpimtextedit.so.4.8.0» és buit, no es comprova
    ldconfig: el fitxer «/lib/libkalarmcal.so.2.7.0» és buit, no es comprova
    ldconfig: el fitxer «/lib/libakonadi-xml.so» és buit, no es comprova
    ldconfig: el fitxer «/lib/libqscintilla2.so.8.0.2» és buit, no es comprova
    ldconfig: el fitxer «/lib/libkcalcore.so.4.8.0» és buit, no es comprova
    ldconfig: el fitxer «/lib/libqimageblitz.so.4.0.0» és buit, no es comprova
    ldconfig: el fitxer «/lib/libqjson.so.0» és buit, no es comprova
    ldconfig: el fitxer «/lib/libakonadi-xml.so.4.9.0» és buit, no es comprova
    ldconfig: el fitxer «/lib/libakonadi-notes.so.4.8.0» és buit, no es comprova
    ldconfig: el fitxer «/lib/libkholidays.so.4.8.0» és buit, no es comprova
    ldconfig: el fitxer «/lib/libmailtransport.so.4.8.0» és buit, no es comprova
    ldconfig: el fitxer «/lib/libkldap.so» és buit, no es comprova
    ldconfig: el fitxer «/lib/libkontactinterface.so.4.8.0» és buit, no es comprova
    ldconfig: el fitxer «/lib/libdmtx.so.0» és buit, no es comprova
    ldconfig: el fitxer «/lib/libgpgme++-pthread.so.2.8.0» és buit, no es comprova
    ldconfig: el fitxer «/lib/libkblog.so.4.8.0» és buit, no es comprova
    ldconfig: el fitxer «/lib/libsyndication.so.4» és buit, no es comprova
    ldconfig: el fitxer «/lib/libkxmlrpcclient.so.4» és buit, no es comprova
    ldconfig: el fitxer «/lib/libkholidays.so» és buit, no es comprova
    ldconfig: el fitxer «/lib/libgpgme++.so.2» és buit, no es comprova
    ldconfig: el fitxer «/lib/libqrencode.so.3.3.1» és buit, no es comprova
    ldconfig: el fitxer «/lib/libqjson.so» és buit, no es comprova
    ldconfig: el fitxer «/lib/libakonadi-kde.so» és buit, no es comprova
    ldconfig: el fitxer «/lib/libGLESv1_CM.so» és buit, no es comprova
    ldconfig: el fitxer «/lib/libktnef.so» és buit, no es comprova
    ldconfig: el fitxer «/lib/libkimap.so» és buit, no es comprova
    ldconfig: el fitxer «/lib/libakonadi-kabc.so.4» és buit, no es comprova
    ldconfig: el fitxer «/lib/libsensors.so.4» és buit, no es comprova
    ldconfig: el fitxer «/lib/libkpimutils.so» és buit, no es comprova
    ldconfig: el fitxer «/lib/libkcal.so.4» és buit, no es comprova
    ldconfig: el fitxer «/lib/libkpimtextedit.so.4» és buit, no es comprova
    ldconfig: el fitxer «/lib/libakonadi-filestore.so.4.9.0» és buit, no es comprova
    ldconfig: el fitxer «/lib/libcln.so.6.0.2» és buit, no es comprova
    ldconfig: el fitxer «/lib/libkpimtextedit.so» és buit, no es comprova
    ldconfig: el fitxer «/lib/libkxmlrpcclient.so» és buit, no es comprova
    ldconfig: el fitxer «/lib/libmicroblog.so.4.8.0» és buit, no es comprova
    ldconfig: el fitxer «/lib/libmailtransport.so» és buit, no es comprova
    ldconfig: el fitxer «/lib/libkcalcore.so» és buit, no es comprova
    ldconfig: el fitxer «/lib/libakonadiprotocolinternals.so.1.8.0» és buit, no es comprova
    ldconfig: el fitxer «/lib/libgpgme++-pthread.so» és buit, no es comprova
    ldconfig: el fitxer «/lib/libkabc.so» és buit, no es comprova
    ldconfig: el fitxer «/lib/libkpimidentities.so.4.8.0» és buit, no es comprova
    ldconfig: el fitxer «/lib/libakonadi-filestore.so.4» és buit, no es comprova
    ldconfig: el fitxer «/lib/libkldap.so.4.8.0» és buit, no es comprova
    ldconfig: el fitxer «/lib/libakonadi-notes.so.4» és buit, no es comprova
    ldconfig: el fitxer «/lib/libkcalutils.so.4.8.0» és buit, no es comprova
    ldconfig: el fitxer «/lib/libkmime.so.4» és buit, no es comprova
    ldconfig: el fitxer «/lib/libakonadi-contact.so.4» és buit, no es comprova
    ldconfig: el fitxer «/lib/libprison.so.0» és buit, no es comprova
    ldconfig: el fitxer «/lib/libkcalutils.so.4» és buit, no es comprova
    ldconfig: el fitxer «/lib/libkontactinterface.so» és buit, no es comprova
    ldconfig: el fitxer «/lib/libsensors.so.4.3.2» és buit, no es comprova
    ldconfig: el fitxer «/lib/libkpimidentities.so.4» és buit, no es comprova
    ldconfig: el fitxer «/lib/libktnef.so.4.8.0» és buit, no es comprova
    ldconfig: el fitxer «/lib/libqalculate.so.5» és buit, no es comprova
    ldconfig: el fitxer «/lib/libkabc.so.4» és buit, no es comprova
    ldconfig: el fitxer «/lib/libmaildir.so.4.9.0» és buit, no es comprova
    ldconfig: el fitxer «/lib/libakonadi-xml.so.4» és buit, no es comprova
    ldconfig: el fitxer «/lib/libkcalutils.so» és buit, no es comprova
    ldconfig: el fitxer «/lib/libkabc_file_core.so.4.8.0» és buit, no es comprova
    ldconfig: el fitxer «/lib/libkabc.so.4.8.0» és buit, no es comprova
    ldconfig: el fitxer «/lib/libqimageblitz.so» és buit, no es comprova
    ldconfig: el fitxer «/lib/libkresources.so» és buit, no es comprova
    ldconfig: el fitxer «/lib/libqgpgme.so» és buit, no es comprova
    ldconfig: el fitxer «/lib/libkmime.so.4.8.0» és buit, no es comprova
    ldconfig: el fitxer «/lib/libGLESv1_CM.so.1» és buit, no es comprova
    ldconfig: el fitxer «/lib/libqalculate.so.5.0.0» és buit, no es comprova
    ldconfig: el fitxer «/lib/libkresources.so.4» és buit, no es comprova
    ldconfig: el fitxer «/lib/libqscintilla2.so» és buit, no es comprova
    ldconfig: el fitxer «/lib/libakonadi-calendar.so» és buit, no es comprova
    ldconfig: el fitxer «/lib/libGLESv2.so» és buit, no es comprova
    ldconfig: el fitxer «/lib/libcln.so» és buit, no es comprova
    ldconfig: el fitxer «/lib/libakonadi-notes.so» és buit, no es comprova
    ldconfig: el fitxer «/lib/libkimap.so.4.8.0» és buit, no es comprova
    How I have to make the Chroot tmpfs? I will compile cinnamon into the chroot.
    Thank you for everything.
    WorMzy wrote:
    I don't know what it is, and how I have it installed.
    Nevermind, pkgfile tells me that it's part of gobject-introspection. Try reinstalling that package. You might want to reinstall python2, it shouldn't be complaining about parenthesis there.
    I will try to build everything in a clean chroot. I have 8Gb of ram, so enough.
    You need disk space for the chroot. Approximately 1GB per (clean) chroot (e.g. /var/lib/archbuild/extra-86_64/root), potentially up to several GB for a "dirty" chroot. RAM is only necessary if you decide to make the "dirty" chroot (/var/lib/archbuild/extra-86_64/$username) into a tmpfs.

  • How do I close all running applications before launching my java app?

    Does anyone know of anyway I can code to close all running applications, even if I don't know the process names to begin with?
    Is there open source code than anyone has written to do this. Other applications interfere with my app and I need to terminate all running apps/processes before launching my app. Please advise.

    I see we aren't all on the same wavelength here, let
    me rephrase:
    How can I write JAVA code that will terminate all
    running applications so as not to interfere with the
    security of my application's content, as it is
    extremely sensitive content and I need to know that
    no applications are running which could defeat it.
    I would like my application to terminate all running
    applications, is this possible to write in java code.Do you consider all the processes running in the background (launched by the OS) as part of "all running applications"? Do you not consider the OS itself as part of it as well? You're really barking up the wrong tree. But go ahead, I know you won't be convinced regarding the wonkiness of your thinking.

  • Can I run gcc compiled programs in the terminal?

    I compiled a simple C program in the terminal using gcc 4.0 from the Xcode 2.2 distribution. I used gcc a.c at the command line and the compiler produced a.out. When I type a.out at the command line, I get the message
    tcsh: a.out: Command not found.
    Am I missing a step in the comilation phase? Is it possible to run gcc compiled programs in the terminal? I get the same results in the bash shell and when using X11.
    eMac G4   Mac OS X (10.4.6)  

    ./a.out is correct. Your current directory in not in your $PATH. You could add "." to the PATH, but that is considered a security compromise, because an unexpected command could be introduced either maliciously or inadvertently. (I have seen this happen.)

  • Is it possible to run scheduled job

    Is it possible to run scheduled job (custom developed java application), for doing some periodic database operstions in portal.
    I'm using portal database (maxdb) with my portal application.I must do some periodic calculations and store them into database table.Therefore i must use scheduled job running on ortal server.
    Is it possible? If possible, how?
    Thanks.

    Hi,
    Yes it is possible with SAP NetWeaver Scheduler for Java.
    You can check below link for more information:
    http://help.sap.com/saphelp_nwce71/helpdata/en/44/03d66015ee10b3e10000000a11466f/content.htm
    http://help.sap.com/saphelp_nwce71/helpdata/en/45/45d287e620507be10000000a1553f6/content.htm
    Thanks
    Sunny

  • Running a website in an java applet or frame

    Hi ppl,
    I was wondering if it is possible to run a website within a java applet or frame. I searched the web but cant find much information. Hope you can help me.
    Thanks

    I assume you mean to display web pages, like embed a browser in the application. You can use JEditorPane to display HTML pages, but it only supports HTML 3.2 and no Javascript. You can embed IE with a thing called IECanvas (have to search online for the link).
    If you are doing so in an applet then there are issues with access to other sites or using things like IECanvas. So you'd need a signed applet. However, since the applet is in the browser anyway, you can always call getAppletContext().showDocument()

  • Is it possible to make the compiler driver use a third-party pre-processor?

    In other compiler suites I've used in the past it's been possible to force the compiler driver to use a different pre-processor if it was needed.  Does Sun Studio offer similar functionality?
    Ultimately what I'm after is finding a way to force the compiler to do pre-processing and compilation in separate processes.
    -Brian

    What compiler(s) are you using --C, C++, or Fortran?
    What version of Studio are you using?
    The exact answer might depend on the compiler and version.
    But before looking at replacements for the compiler's own preprocessor, do you really want to run your own preprocessing program? If so, the the recognition of source code and the output format need to be compatible with the compiler.
    If you just want to separate preprocessing from the rest of the compilation, you can use the -P or -E options to get the preprocessor output, then compile that output. To maintain correspondence with the original source code files and lines, you would use the -E option. C example:
    % cc -E hello.c > newhello.c
    % cc newhello.c
    % ./a.out
    Hello
    For C++, templates can introduce problems when you expect the compiler to find template definitions automatically, as is the case with the standard library. You will  probably need to add the option -template=no%extdef to be able to compile template code. C++ example:
    % CC -E -template=no%extdef hello.cc > newhello.cc
    % CC -template=no%extdef  newhello.cc
    % a.out
    Hello world.
    Refer to the C++ Users Guilde chapters on template compilation models for for details.

  • What do I need to run a compiled vrsn of a serial interface ?

    I compiled and successfully ran the compiled verson of an app. with a serial interface on a WIN2000 computer with the full LabVIEW development suite.
    I installed the LabVIEW runtime engine only on a target computer (running WIN2000) and when I tried to run the app. got the following error -
    arning -1073807202 occurred at an unidentified location.
    Possible reasons:
    VISA: (Hex 0xBFFF009E) A code library required by VISA could not be located or loaded.

    You have to install NI-VISA.
    It is possible to avoid this seperate install by including all of the required support files.
    I believe there is a knowledge base article that lists all of the files that need to be included in your build.
    Ben
    Ben Rayner
    I am currently active on.. MainStream Preppers
    Rayner's Ridge is under construction

  • Is it possible to change the compiler that is built into Sun Creator?

    Is it possible to change the compiler that is built into Sun Creator?
    I would like to compile my project to run under the JNI. I have tried to use the command line to run the javah -jni filenames but I always get errors and my assumption is that I need to change or adapt the IDE WITHOUT violating any licensing agreements to get the JNI working in this IDE.
    I would appreciate any help that I could get in regards to this issue whther someone from SUN wants to comment or if any developer's have had this issue and have solved it...

    Okay, I just tried this. I changed the default location of J2SE JDK in the creator conf file. Saved the file.
    For example:
    #netbeans_jdkhome="C:\Program Files\Sun\Creator2_1\java"
    netbeans_jdkhome="C:\Program Files\Java\JDK1.5.0_04"
    On restarting the IDE the new path is taken. To see the change: go to main menu -> Help -> About Java Studio Creator . Go to Detail tab. You will see the values for Java and Java Home changed as per your change in the creator.conf file.
    Hope this helps.

  • Is it possible to run a Labview executable on a Windows 8 Phone?

    If I create an executable from Labview,will it be possible to run it on a Windows 8 phone?
    Solved!
    Go to Solution.

    No, as Mike already said.
    The reason being that a LabVIEW executable contains binary code that is compiled for the x86 CPU architecture and accesses the Win32 API. Windows Phone typically runs on ARM or RISC CPUs and did only provide a very limited Win32 subset in the past. With the new Windows RT technology it actually moved even further away from Win32 compatibility as it's entire architecture is based on the .Net technology.
    So even if you happen to get an Intel Atom based Windows Phone device which would be x86 compatible it couldn't work, since a LabVIEW executable is a Win32 portable executable format not a .Net bytecode image.
    Rolf Kalbermatter
    CIT Engineering Netherlands
    a division of Test & Measurement Solutions

  • Is it possible to run a JAR?

    My high school Computer Science teacher thinks it might be possible to run a JAR file in windows and have it run the java program (command promt type) in windows. I do not believe this is possible but he wanted me to check and see.
    Also is there any other way to run a java program in the form of class files without going through the DOS prompt or a compiler? Duke dollars if you know a way.

    when you install the JRE it should associate jar files
    with the JVM, hence double-clicking on them will run
    them. but....well... strictly they become associated with javaw
    to make a jar an executalbe jar it needs a
    'main-class' attribute in the manifest. That is make
    a directory that goes in to the jar called META-INF
    and in there a file called manifest.mf (just a plain
    text file).thought i had already mentioned that!
    test from the command line with
    java -jar myjarfile
    or
    javaw -jar myjarfiledouble-click issues an identical command - if it doesn't work one way then it won't work the other
    the difference between the java and javaw is that the
    javaw will not open a DOS window. true!

  • Is it possible to run Add-On application seperately from Windows?

    Hi,
    Is anyone know if it is possible to run the Add-On from Windows with SAP B1 client ? For some reasons, i can't install the Add-On my server now during my development, but i need my QA tester to test these existing finished Add-Ons. Can I just pass all compiled binary files to my tester and let him run the Add-On from his PC and test it in his SAP B1 client? I tried, but it always gives me application crash error. But the add-on runs very well after installed in the the SAP B1 or under visual studio developping mode.
    Thanks,
    Lan

    Hello
    Yes it is possible. You can run the addon the same parameters as you run in the development environment. You can use the same connectionstring used during development.
    1. Copy you addon into a folder
    2. Create a bacth file (start.bat) with notepad, and enter there your addon name and the connectionstring
    3. Run the batch file.
    It will start and connect to sap b1.
    I am also using this method to test the addons .
    Regards
    J

Maybe you are looking for

  • Smart Object - How do I keep ACR from changing workflow options?

    Open image in Photoshop as a Smart Object from Lightroom. Double-click to change the RAW characteristics. When I return to Photoshop, my image has been changed...  Color space is changed, bit depth is changed, size is changed........ I believe I know

  • Switching to AT&T with family plan -- need multiple iPhone 4's

    We are currently Verizon customers coming to AT&T for the iPhone 4. We want to get three iPhone 4's, along with another regular phone, and put them on a family plan. My son lives 4 hours away, and won't be able to come to the local AT&T store on June

  • Can't boot Power Mac G5 up from anything (DVD, USB or HDD)

    Hope someone can help me with this one My mum has an old PowerMac G5, the dual-core 2GHz one (I can't remember what it is exactly) and it won't boot up anymore. At first I replaced the hard drive because it was making some funny sounds... scratchy-ne

  • Dropped iPod, white screen 60gb model.

    Hello, First let me say I have done extensive research and have not found any viable solution to my problem. I dropped my iPod from about 5 feet off the ground. After I picked it up it had a white screen. I immediately tried to reset it, and it reset

  • Changing host name

    We are going to change the name of our UNIX servers. How will this affect my Oracle database besides changing connectivity in tsnames?