(Urgent) Using java to invoke other programs

Guys..
is there any way possible to use java to invoke other programs
eg. java.open(TextPad) or java.execute(NotePad)
something like this
Thx guys

Well... im onli 19 and im an interm in a company. My
boss wanted me to help him look for some ways to do
some process.. So actually this is my 1st time trying
out this java forum. I didn't know that you guys took
such a serious views at screen nick... Forgive me for
my ignorance.I actually don't care that much about it, but you might consider changing it for the reasons I gave. You are only 19 now, and might not be an experienced developer, but you will become one later on (if you continue with Java development), and your account can in that case be an asset for you.
Kaj

Similar Messages

  • After closing Firefox to use IE8 or any other program, everything is very choppy and slow. I have to go into Taskbar, Processes, and close firefox.exe manually (which is using up all the memory/CPU). Then, and only then, does everything behave normally. W

    After closing Firefox to use IE8 or any other program (like InterVideo to watch a DVD), everything is very choppy and slow. I have to go into Taskbar, Processes, and close firefox.exe manually (which is using up all the memory/CPU and should have closed before). Then, and only then, does everything behave normally. What is going on and what am I doing wrong or missing??
    == This happened ==
    Every time Firefox opened
    == about a couple months ago and happens every time I close Firefox.

    <u>'''Kill Application'''</u>
    In Task Manager, does firefox.exe show in the <u>'''Processes'''</u> tab?
    See: '''[http://kb.mozillazine.org/Kill_application Kill Application]'''
    '''<u>Causes and solutions for Firefox hanging at exit:</u>'''
    '''[[Firefox hangs]]'''
    '''[http://kb.mozillazine.org/Firefox_hangs#Hang_at_exit Firefox hangs at exit (Mozillazine article)]'''
    '''[[Firefox is already running but is not responding]]'''
    <u>'''Safe Mode'''</u>
    You may need to use '''[[Safe Mode]]''' (click on "Safe Mode" and read) to localize the problem. Firefox SafeMode is a diagnostic mode that disables extensions and some other features of Firefox. If you are using a theme, switch to the DEFAULT theme: Tools > Add-ons > Themes before starting Safe Mode. When entering Safe Mode, do not check any items on the entry window, just click "Continue in Safe Mode". Test to see if the problem you are experiencing is corrected.
    See:
    '''[[Troubleshooting extensions and themes]]'''
    '''[[Troubleshooting plugins]]'''
    '''[[Basic Troubleshooting]]'''
    If the problem does not occur in Safe-mode then disable all of your extensions and then try to find which is causing it by enabling one at a time until the problem reappears. You have to close and restart Firefox after each change via File > Restart Firefox (on Mac: Firefox > Quit). You can use "Disable all add-ons" on the Safe mode start window.
    <u>'''''Other Issues''''': to correct security/stability issues</u>
    <u>'''Update Java'''</u>: your ver. 1.6.0.19; current ver. 1.6.0.20 (<u>important security update 04-15-2010</u>)
    ''(Windows users: Do the manual update; very easy.)''
    See: '''[http://support.mozilla.com/en-US/kb/Using+the+Java+plugin+with+Firefox#Updates Updating Java]'''
    Do the update with Firefox closed.

  • Mouse freezes while using Firefox. No other programs affected. Also in safe mode. Tried reinstall without resolution. Disabled Addons. Happens especially while loading pages but also at other times.

    Hi.
    The mouse freezes when using firefox. No other programs are causing this problem, which stops immediately once I use CTRL-ALT-DELETE to delete the firefox task.
    I have done a full uninstall of firefox after trying safe mode without resolution. I deleted the install directory to make sure that no files remained in the default installation area.

    radjrown wrote:
    was only after migrating the old account that things went wrong.
    Hmm...that's the last place I'd expect an issue?
    EDIT: Wait... if you didn't migrate the first time you booted up the system in Setup Assistant than you may have created another Home folder. Check your /Users in Safe Mode.
    Thought twice about cracking open a new MBP, but spent quite a bit of cash fitting SSDs in 2 desktops and a laptop 6 months ago, so didn't feel like coughing up another 600 USD again.
    Yes, that what I thought and in concept it's a good idea but I'm actually quite hardware challenged myself, so wouldn't even dream of it
    Again, there's a lot of savvy hardware folks here, so I hope you get some concrete help.
    -mj

  • How can I use Java to do Seismic programming as Motif?

    One of my friend recently finished a seismic on-site data processing program using
    Motif on Solaries.He asked me if I can implement the same function to use Java language
    so that the program can run on different platforms such as Windows,Unix.
    Seismic data is usually enormous.And I don't have any experence in plotting seismic
    curves by using Java.
    Is there any seismic processing software programmed with Java available?
    I will appriciate any help.
    Thank you

    I think the point is not the word seismic than 'how to plot curves in Java.'.
    You can find many resources about plotting curves you want in Java2D.
    Refer to these URL:
    Java2D http://java.sun.com/products/java-media/2D/index.html
    Java2D Tutorial http://java.sun.com/docs/books/tutorial/2d/index.html

  • How to use java output with other application

    hi ,
    I am using acme.crypto to encrypt data. this is completely written in java. i need to pass input to this using VB6 and return the output to VB6
    how can i achieve the same, is there any readily available dll that can be used in vb?
    I am rigorously searching solution, which i am not finding.
    I need to know how should i place the java code so that it could be used with VB, as i am new to java world. Do i need to create component using java bean or how?
    The code i refered above is nothing but encryption algorithm. I need to pass the input string from vb to java, which will process me the output which inturn should be passed to vb6.
    Kindly guide me through this.

    Why not create a Java ServerSocket in your Java program.
    Connect the VB program to this ServerSocket.
    Send the input to the Java Program over this socket and have the Java Program encrypt the information and pass it back on the same socket.
    Don't know how hard Sockets are in VB6 but a Server Socket in Java is simple.
    No need for new DLLs, JNI, etc.

  • How to run different programs and use their output in other programs

    Dear java members,
    I am trying to figure out how to get data from a file, database, or program and use that information in another
    program. Can you help please?
    I have looked through several texts and while the information is there somewhere I have not found the specific
    capabilities or examples that explain how to do this.
    I want to learn how to do this with objects.
    The specific applications I am working with are the GIS (Geographic Information System) suite of ESRI products
    such as ArcInfo and ArcView.
    I am working with simulators for hydrologeology (ground water) and other geophysical phenomenae. Programs for
    decisions and assessment of probability such as found in geostatistical analyses packages. Drawing programs
    and data manipulation programs such as spreadsheets in windows and scripting languages found in most Unix
    packages.
    I want to be proprietary platform free! I want to be accessing apps and or data wherever they are and in
    whichever form they are in or best used.
    Web techniques and protocols are where I think most of my effort will be focused.
    One of the mediums (media) that I expect to use a lot is XML.
    If I can find a simplified (generalized) explanation how this is done and how the parts fit together through and or
    with objects. If I can find references to texts and examples I will be very appreciative and very much less
    confused.
    I am interested in using the Java programming language.
    Thank you
    ctavares1

    Hello ctavares1,
    I am not quite sure that I understand what you are trying to do. The programs that you mention: ArcInfo and ArcView, are they stand alone, native, platform dependent applications? Or are they written in Java? It sounds like there are stand alone, native, platform dependent applications, that write their output to either a file or a database.
    The other piece that is puzzling me is: Do you intend to write an Applet or a Java Application? This is important because Java places several restrictions on what an Applet can do.
    There is also the question of how the data is produced. Is it produced all at once in batch or is it produced a little at a time in real time?
    These and other questions will need to be answered before you can begin designing your application. There are many tutorials dealing with opening a file or database and manipulating that data from an Applet or a Java Application, but it is a different matter all together getting data from an application.
    Here are a few tutorials on File I/O and JDBC:
    http://java.sun.com/docs/books/tutorial/jdbc/index.html
    http://java.sun.com/docs/books/tutorial/essential/io/index.html
    -Merwyn,
    Developer Technical Support,
    http://www.sun.com/developers/support.

  • URGENT using java in Forms 9i

    Hi,
    I need to use one Java module in Forms 9i, i use the Import Class Java, no problems. But when i try to use this function, i can't recuperate the data in this object in Forms.
    In this program works the 2 first instruction, but the 3 work, but i don't obtain the good object.
    Thank for alls.
    Forms:
    declare
    new ora_java.jobject;
    documento ora_java.jobject;
    busqueda ora_java.jobject;
    cont      number;
    begin
    new := TRControlDoc.buscar(documento,busqueda);
    cont:= ORA_JAVA.get_array_length(new);
    nuevo:= ora_java.get_object_array_element(new,1);          
    end;
    JAva in Forms:
    -- Method: buscar (Lgesdoc/model/TRBusqueda;)Ljava/util/Vector;
    FUNCTION buscar(
    obj ORA_JAVA.JOBJECT,
    a0 ORA_JAVA.JOBJECT) RETURN ORA_JAVA.JOBJECT IS
    BEGIN
    args := JNI.CREATE_ARG_LIST(1);
    JNI.ADD_OBJECT_ARG(args, a0, 'gesdoc/model/TRBusqueda');
    RETURN JNI.CALL_OBJECT_METHOD(FALSE, obj, 'gesdoc/model/TRControlDoc', 'buscar', '(Lgesdoc/model/TRBusqueda;)Ljava/util/Vector;', args);
    END;

    Hello Francois:
    I obtain the next message when i try the obtain one field the this object
    [03/28/06 11:12:46 Hora estándar romance]::Client Status [ConnId=0, PID=3016]
         >> ERROR: Abnormal termination, Error Code: C0000005 ACCESS_VIOLATION
    ======================= STACK DUMP =======================
    Fault address: 08074ED7 01:00073ED7
    Module: C:\OraDev904\jdk\jre\bin\client\jvm.dll
    System Information:
    Operating System: Windows NT Version 5.1 Build 2600 Service Pack 2
    Command line: ifweb90 server webfile=HTTP-0,0,0,webutil
    FORM/BLOCK/FIELD: F_CDOC_GEDAS_1:BLOCK3.BUSCAR
    Last Trigger: WHEN-BUTTON-PRESSED - (In Progress)
    Msg: <NULL>
    Last Builtin: MESSAGE - (Successfully Completed)
    Registers:
    EAX:14834500
    EBX:02AD1D68
    ECX:0000000B
    EDX:02B98DC0
    ESI:02B98DC0
    EDI:02AD3D78
    CS:EIP:001B:08074ED7
    SS:ESP:0023:0012D4FC EBP:0012D508
    DS:0023 ES:0023 FS:003B GS:0000
    Flags:00210206
    ------------------- Call Stack Trace --------------------- Frameptr RetAddr Param#1 Param#2 Param#3 Param#4 Function Name 0x0012d508 65fef98a 02b44058 02b98dc0 02b98dbc 65fc3502 0x08074ed7 ------------------- End of Stack Trace -------------------
    Thanks for all

  • I want to use Java for dynamic web programming...

    And don't know what to learn, JSP or servlets or both. I'm guessing it would be best to learn both, but I don't want to buy two books. Are there any books that teach both fairly well?

    I don't know how it covers them I am not learning them at the moment.
    Why don't you try searching for JSP and/or Servlets at Amazon.co.uk, Doesn't the JSP and Servlet section of the java.sun.com also have recommended books?, I have just done that search at amazon.co.uk and found these three instantly...the top two have reviews and ratings from other people. There are MANY book websites out there, try searching on this as well.
    JSP, Servlets and MYSQL; Paperback ~ David Harms
    Java Servlet Programming (The Java Series); Paperback ~ Jason Hunter
    Java Servlet and JSP Cookbook; Paperback ~ Bruce W. Perry

  • I have a 2011 Mac Pro purchased in April. In the am the battery worked for my four hour class.  I went home and charged it FULLY- then took it off power source and it last 60 minutes using ONLY word, no other programs or wireless running?

    I have restarted computer and reboot computer but that has not stopped it from draining.  I made sure all programs but word for calss was closed.  I also made sure that netwrok shut off and the display on hlaf contrast and got it last two hours this am.  WHAT IS GOING ON?  This laptop is 2/3 months old and NEVER had this problem.  It held charge for 5+ hours yesterday am for class, what could have caused this change?  THANKS

    I would start with How to safely apply system updates
    Most problems are from using the computer while updating; not repairing the boot drive ahead of time; forgetting to make a bootable backup. And restart before updating.
    I would suspect an underlying problem.
    Startup Fails
    Login Problems
    One thing I always do before an update is to run something like Applejack to clean the cache folders, make backup with SuperDuper, and run Disk Warrior.
    Why updates fail, and how to prevent from happening
    Mac Pro 2GHz 4GB 10K Raptor 23" Cinema   Mac OS X (10.4.9)   WD RE RAID Aaxeon FW800 PCIe MDD-G4 APC RS1500 Vista

  • Opening files from java application by other programs

    Hi! Could you tell me how to solve such task. After saving of file on local drive by applet i need to show a link "View file" that will open file by assotiated programs (.doc - MSWord, .pdf - Acrobat Reader etc. applet will work on Linux platform too). Thanks!

    Just provide a link to the file and leave it up to the OS to determine which program to use to open it.

  • Cannot use photoshop or any other program even though i am up to date with payments and nothing appears to be wrong? Help

    I have been trying to use Photoshop, as it was working fine about an hour ago, and now it will not open files and says my subscription has ended even though i have a subscription up until November of next year. Can anyone help? Or have had the same thing happen and have some advice?

    Sign in, activation, or connection errors | CS5.5 and later
    Mylenium

  • I have to export from Iphoto to use my photos in other programs (like Photo

    I'm new to MAC or IMAC. Moved my photos so IPhoto could use them and apparently IPhoto eats them. The only way I have access to them is to load them in IPhoto then export them.This seems unreasonable. So I'm hoping I've misunderstood some basic procedure. I use Iphoto to organize not to edit.
    TIA -
    Barb

    Barb
    Yes that is unreasonable, however the good news is that it's not necessary:
    You can set Photoshop (or any image editor) as an external editor in iPhoto. (Preferences -> General -> Edit Photo: Choose from the Drop Down Menu.) This way, when you double click a pic to edit in iPhoto it will open automatically in Photoshop or your Image Editor, and when you save it it's sent back to iPhoto automatically.
    That's the way to have pics you edit in PS (or whatever)
    There are three ways (at least) to get files from the iPhoto Window.
    1. *Drag and Drop*: Drag a photo from the iPhoto Window to the desktop, there iPhoto will make a full-sized copy of the pic.
    2. *File -> Export*: Select the files in the iPhoto Window and go File -> Export. The dialogue will give you various options, including altering the format, naming the files and changing the size. Again, producing a copy.
    3. *Show File*: Right- (or Control-) Click on a pic and in the resulting dialogue choose 'Show File'. A Finder window will pop open with the file already selected.
    To upload to MySpace or any site that does not have an iPhoto Export Plug-in the recommended way is to Select the Pic in the iPhoto Window and go File -> Export and export the pic to the desktop, then upload from there. After the upload you can trash the pic on the desktop. It's only a copy and your original is safe in iPhoto.
    This is also true for emailing with Web-based services. If you're using Gmail you can use THIS
    If you use Apple's Mail, Entourage, AOL or Eudora you can email from within iPhoto.
    If you use a Cocoa-based Browser such as Safari, you can drag the pics from the iPhoto Window to the Attach window in the browser. Or, if you want to access the files with iPhoto not running, then create a Media Browser using Automator (takes about 10 seconds) or use THIS
    Also, for 10.5 users: If you use the extended Open or Attach dialogue (with Column View) you can scroll to the bottom of the Shortcuts and find the Media browser there. Select any pic you want from there.
    Regards
    TD

  • What exactly IS Creative Cloud? Can i use Photoshop * all the other programs Adobe offers, by purchasing a membership?

    What is Creative cloud? I Have Elements 11, but want Photoshop. Do I purchase the large membership to gain access to all programs?

    It is Adobe’s largest software release since CS6 and it includes all-new versions of 14 CC desktop applications, 4 new mobile apps, the immediate availability of creative hardware and new offerings for Enterprise, education and photography customers.
    There are hundreds of new features that are performance boosters, that make everyday workflow better, support for chanign hardware and formats, as well as some Adobe magic that customers have come to expect, like the new Blur Gallery motion effects in Photoshop

  • Where can I store my VI's so I can use them in other programs

    When I write a VI where can I store this VI to use in other programs as sub-VI's and how do I retreave them.
    (Example) I build a special timing program and want to use this timing in other programs. So iI don't have to re-write this program over and over. I am using LabView 6i with some revisions. (Older cards)

    You can store them where ever you want. To retrieve them you can drag and drop them to the diagram or use "Select a VI..." from the function palette. The later will open a file dialog that will allow you to navigate to where you stored the vi. Another way to do it is to store your vi in the LabVIEW\user.lib directory, then you can retrieve your vi from "User Libraries" in the function palette.
    Hope this helps
    Brian

  • What make's java different from other kinds of programming?![/b]

    How is it different from the other programs like the turbo programming and all those other stuff?!

    you jut can't copare Java to every other programming language. each language are designed differently. an answer to your question ccould well be 100,000+ pages (single space). There are many programming languages..most of which..you and i have never heard of.
    Many programming languages are created to target a specific domain (intentionally or unintentionally).
    1. procedural language (c, c++, fortran, basic, pascal)
    2. object oriented (java, small talk, c#, c++) - although c++ and Java are hybrid
    3. metalanguage (HTML)
    4. recursive (ML)
    5. logic (Prolog)
    6. forgot the category) (Schema, LiSP)
    Shema and Lisp are more suited for writing artifical inteligence. Java is more toward solving buisness problem. Choosing the right language culd means ease of development and saving in cost, and possibly performance.

Maybe you are looking for