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.

Similar Messages

  • Running a java program from an icon

    I want to run my program from an icon on my desktop. I have a .bat file that I've built a shortcut to and it works.MY GUI program does display and run when I click on the icon. The problem is that the DOS window also shows up behind my GUI.
    Is there anyway to prevent the DOS window from showing? Or is there another way to run a Java program without resorting to a DOS command line or running it through FORTE or another IDD?

    Chris's solution worked well, with one small problem. Once my GUI starts, it takes up the whole screen. Normally when I run it, it appears as a small window.
    not a big problem, I can reduce it easily after it starts. But does anyone know a way to make it come up in the reduced size it norally comes up in when I run it from my IDE?

  • I have installed Adobe Premiere Pro cc on my laptop, but I cant find a way to start the program. No Icon, and it is not showing up in the start meny. It is showing up in add/remove programs, but nt anywhere else.

    I have installed Adobe Premiere Pro cc on my laptop, but I cant find a way to start the program. No Icon, and it is not showing up in the start meny. It is showing up in add/remove programs, but nt anywhere else.

    If you are using a Mac, simply hit Command-Spacebar to bring up Spotlight Search.  Begin typing the name of the application and when you see what you are looking for, press enter.  You should get a hit by the second or third letter you type.  Great way to launch apps on computers that you are not familiar with.
    Windows 7 and 8 should have something similar.  I think you simply press the Windows key and begin typing.  Press enter when you see a match.
    Both Mac and Windows search tools can be customized to search for applications, files, emails and so forth.  For Windows, look for Taskbar and Start Menu Properties.  For Mac, go to Preferences Spotlight.  Turn off items you know you won't need to speed up searches.
    Make Windows 7 Start Menu Search Find Your Applications Faster

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

  • I have downloaded ITUNES 10.7 on my Windows 7 laptop. When I try to start the program, 2 overlapping icons (ITUNES

    After Itunes 10.7 update, the program can't be started anymore on my Windows7 laptop. 2 overlapping icon (Itunes + Apps) appear on the start menu bar, but nothing happens. The screen is frozen and the program can't be opened. Any ideas how to solve this problem or what I should do next?

    I haven't seen that one reported before.
    In the course of your troubleshooting to date have you worked through the version of the following document that is appropriate to your Windows OS?
    iTunes for Windows Vista or Windows 7: Troubleshooting unexpected quits, freezes, or launch issues
    iTunes for Windows XP: Troubleshooting unexpected quits, freezes, or launch issues

  • Problem w chrome registration failure when starting up mozilla from desktpo icon which prevents all updates from loading

    Have to close chrome registration window 3 to 4 times before I
    successfully get into mozilla home page
    I recently installed the latest version 3.6 3.7 and get the same problem

    Have to close chrome registration window 3 to 4 times before I
    successfully get into mozilla home page
    I recently installed the latest version 3.6 3.7 and get the same problem

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

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

  • Forms deployment from an icon to executing a form

    I'd love to have the knowledge of what is necessary to execute a form, starting from a windows icon/shortcut on the desktop. It's easy enough to execute the form from forms builder, but I'd like to setup an end user's route. I'm curious whether you need the application server installed, where/when the login process takes place, and anything else involved. Thanks!

    Mike,
    if you are talking about Oracle9i Forms and above, then you must have an application server to run the application.
    The Forms Developer building environment comes with an integrated HTTP server that is used for testing applications, thus not requiring an Application server. Unfortunately the Oracle Developer Suite is certified for development and testing only and not meant to provide client-server support.
    Generally and to answer your question, starting an application from an icon on the desktop only requires you to create a shortcut for the browser (e.g. IE) and then add the Forms application URL to it.
    e.g. internetexplorer http://server:port/forms90/f90servlet?config=myapp
    Frank

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

Maybe you are looking for

  • Can not connect to wireless network any more, missing command

    I can not connect to any wireless network. I have been having this problem for days. In desperation I installed 10.4 in a seperate HD. I clicked on the airport icon in the upper tool bar, selected my network name and clicked on "open internet connect

  • Firewire avc1394 camcorder to v4l for ekiga and cheese

    (this is detailed and lengthy because i couldn't find anything in arch that discussed it -- hopefully now searchers will have a jump point] the camcorder is attached via firewire from pcmcia $ dmesg ieee1394: Node suspended: ID:BUS[0-01:1023] GUID[08

  • How to install Oracle 817 Client on Redhat Linux7.2

    I try to install oracle 817 client on a dell server running Redhat Linux7.2, the installer won't start. Are there any pre-requisites I have to set for client install to work on linux? Does 817 installer work on Linux7.2? Thanks, Joe

  • WorkFLOW Most Basic Questions How To Get Started

    First, I posted in Final Cut Pro for help getting MPEG-2 out of Final Cut Pro 5.04 http://discussions.apple.com/thread.jspa?threadID=506951&tstart=0 Can someone please help me with the first step: How do I get that MPEG-2 into DVD Studio Pro? I simpl

  • Am I able to transfer files from DropBox?

    I'm new to Adobe and I can't figure out how to transfer my files from DropBox.