Starting a program from website!

I am very new to java and I just want to be pointed in the right direction. I want to use java to start Nascar Racing 2003 from a link on my website. Where would I start to acheive this goal?
Thank You

Guess the answer should be: don't do it
(I'm new to Java too)

Similar Messages

  • Starting a program from the shell into a vncserver running on 5901

    I started a vncserver via `vncserver -geometry 1792x1008 -alwaysshared :1` and within it, I am running xfce4 just fine.  I would like to start a program from a shell outside of the vncserver.  I tried the following but got errors.  What am I missing?
    % DISPLAY=1.0 lxterminal
    (lxterminal:17489): Gtk-WARNING **: cannot open display: 1.0

    Try
    $ export DISPLAY=:1
    $ lxterminal
    That works over here.
    Last edited by mwillems (2015-04-21 00:03:43)

  • 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

  • How to install program from website

    I recently purchase a new computer and Adobe Premiere Elements 11 but do not have a disk drive, on the new computer, that I can download the program from. How can I download this program from the Adobe website?

    Hi Isabel02,
    Thanks for posting on Adobe forums.
    You can download Premeire Elements 11 from this page.
    http://prodesigntools.com/photoshop-elements-11-direct-download-links-pse-premiere-pre.htm l
    please follow the instructions also.
    Thanks,
    Sandeep

  • Starting a program from an icon icon

    Is it possible to create a application which is started by an executable icon, and if so how do you do this?

    If by application you mean run a java program then sure. Just create a .bat file that has the command
    java <your_java_class>
    Then create a shortcut for it on your desktop. From there you can go to the shortcut's properties and select change icon.

  • Starting Windows program from APEX

    Is it possible to start a Windows program lets say from a button in an Oracle Application. If so any suggests would be great

    This didn't quite work. I put the following into the Page section: HTML Header
    <SCRIPT Language="JScript">
    function runcmd() {
    File="C:\Program Files\FMS\Sentinel Visualizer 4.0\SentinelVisualizer.exe";
    WSH=new ActiveXObject("WScript.Shell");
    WSH.run(File);
    </SCRIPT>
    I am not sure that it is suppose to go in this section. I have put other scripts in this section and it worked ok.
    The following I put into a region a HTML type and entered the following
    <! A href="#" onClick="runcmd(); return false;">Run wordpad.exe<!/A>
    Once again I am not sure this is the right spot either. All I get when I click on the link is an error on the page. Can you be specific as to where each part of the script goes in order to get this to work. I have tried severla spots with the a href (Source, footers but to no avail)

  • Starting Cobol program from JAVA

    Hi
    For a school project we have to do a part Java & a part cobol
    The COBOL programmes are all to read CSV files into an MS access DB
    Well as a challenge we have to make a buton in the GUI of our JAVA program that starts 1 of these COBOL programes when clicked
    The java program was written/modelled in Together Architect 2006 (eclipse plugin, sry the school forces us to use it) and the COBOL were/are written in percobol from legacyJ
    txn for any help

    i've done that but i seem to not getting the hang of
    it
    from what i get is it something like thhis
    runetime.getRuntime().exec("myCobolprog.cbl");
    yet it doesnt seem to work
    or i just get errors in the IORead this first:
    http://www.javaworld.com/javaworld/jw-12-2000/jw-1229-traps.html

  • Can't remove a default start up program from any .rar applications

    As said in the title I am currently using windows vista and accidentally put a default application from my computer to start up any .rar files that I choose. Is there any way I could remove this and return it to the unknown third party application, 
    even if I don't know what that application is? Thanks.

    If you mean unassociate the .rar file extension, download this
    http://www.winhelponline.com/articles/231/1/An-Utility-to-Unassociate-File-Types-in-Windows-7-and-Vista.html

  • Starting java program from a shortcut?

    Each time I wan't to run a Java Application I need to do it from my IDE (eclipse).
    Is it possible to just put a shortcut on the desktop and when double clicking it the program will run without opening eclipse?

    This is a decent BAT creating BAT that i wrote.
    it prompts for parameters
    and then makes the Java run BAT automatically.
    copy it into any text editor and then save it as ".bat" extension
    change ProgramMain in the last "create batch" section to your
    programs main class name. you can also easily look at this
    bat and have it prompt the user for the main class name
    and have it write it automatically.
    @ECHO off
    CLS
    TITLE Auto Install
    :Instructions
    ECHO.
    ECHO This will create and run a .bat to run a Java Program
    ECHO.
    ECHO You may run "RUN_PROGRAM.bat" once it is created
    ECHO.
    ECHO Enter the following folder paths
    ECHO.
    ECHO Do NOT end the paths with "\"
    ECHO Spaces ARE allowed - however,
    ECHO Do NOT put the paths in quotes,
    ECHO (this is done automatically)
    :GetJavaFolder
    ECHO.
    ECHO Enter Path to Folder Containing:
    ECHO \JRE\bin\java.exe
    ECHO.
    :PromptJF
    set jf=
    set /p jf=Path:_
    :GetProgramFolder
    ECHO.
    ECHO Enter Path to Folder Containing:
    ECHO \ProgramMain.class
    ECHO.
    :PromptPF
    set pf=
    set /p pf=Path:_
    :GetRAM
    ECHO.
    ECHO Enter max RAM for program to use:
    :PromptRAM
    set maxram=
    set /p maxram=RAM (64, 128, 256, 512):_
    :CreateBatchFile
    ECHO @ECHO off > RUN_PROGRAM.bat
    ECHO TITLE Plotter v4.1 >> RUN_PROGRAM.bat
    ECHO @ECHO on >> RUN_PROGRAM.bat
    ECHO CD "%pf%\P41" >> RUN_PROGRAM.bat
    ECHO "%jf%\jre\bin\java.exe" -cp . -Xmx%maxram%M ProgramMain >> RUN_PROGRAM.bat
    :RunBatchFile
    CALL RUN_PROGRAM.bat
    :End
    PAUSE

  • How to start JDBC program from web.

    Okay I have researched this alot on how you are suppose to connect to a database using JSP and all the example just show how to print the entire database. What I need to do is take a JDBC program I have written and make it run on a web page. How can I call the program to run on a web page. The JDBC program will search,update,add information into a database but how do I get the JDBC program run on a web server. I am a newbie in JSP.

    Then could someone tell me what is the point in learning JDBC if you can't use it for web applications? Could someone then tell me which to learn in order for me to implement using my database on the web. Should I learn how to do it as a servlet or in JSP. Which is going to require less time to learn. I am kinda in a time crunch on this one. I would really like to learn both and I will probably go back and do that but I don't have time to learn both so any advice would be helpful. Thank you for you time.

  • Start anothe program from PL/SQL

    Hello,
    I want to start a scanner via PL/SQL or APEX. How can I set a OS command?
    Regards
    Siegwin

    3 basic options:
    - external procedure (aka <i>ExtProc</i>)
    - using DBMS_SCHEDULER
    - Java stored proc
    For an extproc example see {message:id=2271919}.
    For a Java stored proc example see {message:id=1107330}.

  • Can't start any program after upgrading to Mavericks from Mountain Lion.

    After upgrading my Macbook Pro from Mountain Lion to Mavericks, I can't start any program from the dock or finder.  The screen flashes briefly gray, then returns to the desktop.  I repairded permissions from the recovery partition.

    No need to repair permissions from the recovery partition. You can do that using the Disk Utility app located in HD > Applications > Utilities.
    As for the issues with your Mac. Check to see if the startup disk needs reparing. (not the same as permissions)
    The startup disk may need repairing ...
    Launch Disk Utility located in HD > Applications > Utillities
    Select the startup disk on the left then select the First Aid tab.
    Click:  Verify Disk  (not Verify Disk Permissions)
    If DU reports errors, restart your Mac while holding down the Command + R keys. From there you should be able to acces the built in utilities in  OS X Recovery
    Make sure to back up all important files first before using OS X Recovery.

  • No sound from websites.Sound Ok on computer hard Drive!!

    All music and vocal programs from websites i.e: BBC. ITV etc cannot be heard!
    Music that is loaded on to the Hard Drive does not have a problem.
    This is a problem with the internet some how and I'm lost for answers as to how rectify it.
    Any suggestions would be apreciated.

    Try to clear the Flash local storage and settings.
    *Windows Control Panel > Flash Player > Storage: Local Storage Settings
    **Remove a specific domain: Local Storage Settings by site
    **Remove all domains: Delete All and Delete Data
    Flash Website Storage Settings panel:
    *http://www.macromedia.com/support/documentation/en/flashplayer/help/settings_manager07.html
    Global Storage Settings Panel:
    *http://www.macromedia.com/support/documentation/en/flashplayer/help/settings_manager03.html

  • 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.

  • Create Laucher for program from macports

    I am running mountain lion (10.8.4) on a MacPro.  I have downloaded the geany editor using macports ("sudo port install geany").  I can start the program from a terminal using the command "geany" or "geany file.py" if I wish to edit the file "file.py" (I program in python).  I am completely new to the Mac world (having come from Ubuntu Linux).  Note that geany uses XQuartz.  I wish to create a laucher app for geany and to make geany the default editor for .py files.  From what I have read applescript is the way to do this, but nothing I do works.  Any suggestions or links or references would be greatly appreciated.  I can write bash and python scripts to launch geany but cannot get beyound that point.  I keep coming across the comment that the applescript rules have changed for mountain lion.

    Use Applications -> Automator -> Application -> Run Shell Script
    Change the "Pass input"  to "as arguments"
    Change the
         echo $f
    to the full path to your geany executable.  Leave the $f
         /the/full/path/to/geany $f
    Save the Automator app. Give it a name you like.
    Now you can use twtwtw' trick to assocate .py files with the Automator app you have just created.

Maybe you are looking for

  • Restoring movies from Time Machine backup

    Last night I tried restoring my photos from a Time Machine backup. It appears that all my movies (.avi files) have been restored as .jpg files. When I open the pictures folder, it automatically opens iPhoto and starts importing my pictures. Is there

  • How can I clear an error message saying I can't open itunes due to missing dll on laptop?

    I can't open itunes to sync my iPad due to a missing .dll.  Says to reinstall itunes but still getting same message.  Anyone familiar?

  • Network UI control

    Hello, I have been searching through any and all documentation I can find regarding using the Network UI control to consume XML but have been hard pressed to find anything explaining event handling in a sufficient manner.  I have a very basic tree wh

  • Selection screen on screen.

    Hi all, I want to create two screens, one for selecting data, another for outputing data in table control. But I don't know how to do it, I can't create selection screen on the screen. Would you pls tell me how should I do?

  • How to import SH Sample Dimensions and Cubes with OWB Client

    Hi, is there a functionality to import the Dimensions and Cubes from the sample to reuse and manipulate them within the OWB Client? I can add Dimensions in the Enterprise Manager but mapping should be difficult- right? Specs: DB 10g rel2, OWB 10.1.0.