How can I get informations about PATH variable ?

I have a programme installed on my computer and I need informations about its path. For example I can get Java home path like this:
System.getProperty("java.home");, but how can I do that for my programme.
If you know another way I can do this please let me find out.
Thanks !

To sergey35:
Thanks! This work very well.
Now I want to launch an application from java, but I don't know how can I test if my application exists (is installed).
For example if I want to launch winamp or any other application, but how can I verify if my application exists indeed. The end user isn't interested if my application really exists. He push a button and he wants to launch that application. If it doesn't exists I have to notify through a message this fact. And most difficult I think is to know exactly the path where is installed that application.
If anyone can help me with documentation or suggestions please reply to this thread.
Thanks!

Similar Messages

  • HT204088 how can I get information about getting credit toward a purchase of a new ipad by turning in an existing one/

    Can I trade the iPAD 3 G that I have towards the purchase of a mini retina

    You can either use Apple's recycling program if they offer that in your country or sell it to someone other than Apple.
    (103987)

  • How do I get information about filing a claim for kids purchases

    How can I get information about making a claim for kids unauthorized purchase?

    I have seen nothing formal from Apple though I have read they are open to discussions about the matter.
    If it is an individual instance, there is a  section on the purchase receipt that invites you to report a problem   Report the purchase and the circumstances.
    However, if it is a recurring problem you would have been expected to utilize the parental control features.

  • How can I obtain information about the recently finished commands?

    How can I get information about the recently finished jobs / bash commands? (eg. date / time of termination)

    $ e echo foo
    foo
    $ type e
    e is a function
    e ()
    $@ && echo $@ - $(date) >> test.txt
    $ cat test.txt
    echo foo - Wed Jan 1 12:10:54 CET 2014
    $ e echo bar
    bar
    $ cat test.txt
    echo foo - Wed Jan 1 12:10:54 CET 2014
    echo bar - Wed Jan 1 12:11:09 CET 2014
    $ e htop
    <here I do something with htop for a little while>
    $ cat test.txt
    echo foo - Wed Jan 1 12:10:54 CET 2014
    echo bar - Wed Jan 1 12:11:09 CET 2014
    htop - Wed Jan 1 12:15:14 CET 2014
    Last edited by karol (2014-01-01 11:20:36)

  • How do I get information about new legal requirements?

    Hi
    We are 4 people in a company that has 39 active company codes in about 25 countries. How can we subcribe to whenever SAP releases new reports that meets legal requirements in specific countries? Some of our companys have their bookkeeping taken care by a neighboring country, so the bookkeepers would not know if there is a new report released from SAP. So how can we get information about new reports without having to read throug all the release documentation?
    Hope you can help
    Jens Bald
    IC Companys
    Denmark

    Hello Jens,
    this is a real problem.
    What is my experience? The first priority is: try to use the SAP Standard as far as possible. No user-defined reports, no exits. Try to be always up to date with hotpackages.
    A further help for me are the userforums here. If you have five minutes left, just have a look at all the questions and answers.
    I know, there is a lot of stuff to read, but the releasenotes have to be checked. Unhappily I didn't find another way.
    Sometimes SAP reacts just in time regarding new legal requests - and I can understand this. At least I have to say: It is not possible to manage this without having any support from the accountancy side. This enables you to search for this requests - instead of reacting.
    If a country changes statutory requests regarding taxreporting or new taxtypes, changing of rates the guys from local accountancy ought give you a hint. Because they get this information at first.
    I made good experiences with internal accounting forums or user groups (i. e. northern countries, westeurope, USA, southeurope). 
    Maybe it gives you a little help and I am very interested in all the answers to this thread.
    Best regards
       Horst

  • Can I get information about client DNS from GSS?

    Can I get information about the client's DNS request and which Data Center was choosed for this request? How long these informations are stored in GSS? Can I change this settings?
    Thank you.

    Following link will give you good start
    http://www.cisco.com/application/pdf/en/us/guest/netsol/ns378/c649/cdccont_0900aecd80122a78.pdf
    Its a two year old document but gives a good overview.
    For details visit
    http://www.cisco.com/en/US/products/hw/contnetw/ps4162/tsd_products_support_configure.html
    Syed

  • Where can I get information about Oracle Selective Audit?

    Hi all.
    I would like to know where can I get information about Oracle Selective Audit. Is included in some package? Resources it needs, manuals, etc. I don't find much information.
    We have Oracle 9i.
    Thanks

    I need information about the Oracle Selective Audit solution. It works on oracle 9i? Requirements, how to get and install it. Is this package useful for report generation, etc.
    Thanks for the link.

  • How can I view information about an image, such as the file name and exposure,  on the Ipad?

    how can I view information about an image, such as the file name and exposure,  on the Ipad?

    You can't with the built-in Photos app, but there are apps such as iPhoto which allow you to see the exposure details (aperture, shutter speed, focal length, ISO). PhotoMeta also shows you that info

  • How can i get info. about sun systems in real life situation

    Hi
    infact i m not so experienced ? but i have got certification and nowadays i m improving myself and applying for jobs. please tell me how can i get info about the sun systems in real life situation. i mean that how can i get details like that mostly companies use which systems ? what is the trend of companies and how i can get detail of history of sun systems?
    Thanks in advance

    hmm.......... its very difficult to explain. an its more difficult simulate....well my suggession is to get in to some job with your present knowledge and try to learn more from there....

  • HT204053 how can i chancell information about my credit card

    how can i chancell information about my credit card

    On an iOS device:
    Settings>iTunes & App Stores
    Tap on your Apple ID
    Tap View Apple ID
    Enter your password
    Tap payment information
    Tap None
    On the iTunes on a computer:
    Go to the iTunes Store
    Click on your Account Name in upper left corner of the Store and click Account (or click sign in)
    Enter your Apple ID and password
    Click Edit, next to Payment Type
    Click None

  • How can i chancell information about my credit card

    how can i chancell information about my credit card

    Easiest way is to redeem an iTunes gift card. If you don't want to do that:
    Go here:
    https://getsupport.apple.com/GetproductgroupList.action
    ask for assistance.

  • How can I get a local path of the local disk with swf

    Since FileReference.download() doesn't download multiple
    files, I want to download files with php ftp_get by FTP.
    I need to pass the local path of the local disk where I can
    download the files from a remote serveur. How can I get a prompt to
    have a user choose a folder on his computor (local disk), if any
    way possible?

    OK, at least 3 is working.
    I don't know how you have a Tape Recorder icon on your Home Screen. I cannot add one myself. But, I am running Holo Launcher in replacement of the default LG "Optimus" User Interface. It's much better in my opinion.
    Try long pressing the icon and select Edit and maybe you can change some attribute of the icon.
    Another thing you could do, is long-press an empty area of your desktop, to add an icon. Select Shortcut, then Select Contact, and scroll through your contact list and choose the contact that you added for *86.
    You realize if you have voice mail you haven't heard, there is a tape recorder icon in the notification bar, which you touch and pull down, then press it to dial voicemail.
    If that functionality doesn't work, you MIGHT want to consider doing a factory data reset on your device, but that is going to nuke all your personalizations and cause you work to set up again.

  • How do i get information about a business object?

    By using reflection i am able to get the list of objects and properties in SAPbobsCOM.BoObjectTypes.
    How can i get a classified list of all objects from the same.
    I mean classified with respect to modules.
    DI API business objects are grouped to the following modules of SAP Business One application :
    Administration
    Finance
    Marketing Documents and Receipts (Sales - A/R and Purchasing - A/P)
    Business Partners
    Inventory and Production
    MRP
    Banking
    Service
    Humanresource

    Hello
    If you read more in the help, you can see which modules holds the corresponding objects...
    Example:
    Marketing Documents and Receipts (Sales - A/R and Purchasing - A/P)
    object called: documents and you may track the correct object types (oOrders, oInvoices, etc)
    if you see the help on Documents object, you can find detailed description there
    Regards
    János

  • How can I get information off my old hard drive?

    Recently my old mac book died. The genius bar said that it would be 750$ for repairs and since it had been 5 years since I'd gotten the laptop, I opted to buy a new MacBook Pro. The problem is I have stuff on my old hard drive that I want to keep (mostly the pictures from my iphoto), so the genius bar took the hard drive out for me. So now I have the hard drive from my old laptop and I'm not sure how I get the information off of it.
    I tried to look it up online and saw something about a hard drive caddy? I have no idea what these are/ how they work. Do you just put the hard drive inside of it and connect it with a usb chord? Are all of these compatible with the macbook hard drives and will it work with my new macbook pro?
    Or could/should I just go to best buy or something to see if they could put it on a CD for me?
    What are my options/how can I go about getting the information from the old hard drive onto my new laptop?
    Thanks!

    You want to buy an enclosure that will accept a 2.5" IDE hard drive(I think that is what your computer probably had). Once you put the old hard drive into the enclosure, just connect it to your new computer using USB or Firewire(if the enclosure has Firewire ports) and copy your stuff over.
    Now is a GOOD time for you to buy another external hard drive and back up your new computer to it often. This will save you the trouble of recovering your information in the future. It is always recommended that you back up your important files to several places.

  • How can I get informations of a char in a JTextArea

    I read a String from a JTextArea. After this I want to know
    what kind of char (like bold,italic,underline etc.) i have.
    I walk true the String with an for(i=1;i<Stringlength();i++)
    and read each character of this String.
    To generate a HTML-File I need Informations about the
    settings of the character.What can I do ???
    greetings povray

    Like many other APIs, Swing separates the data from the view. The JTextArea has an underlying Document object made up of Element objects. Walking these Element objects can get you the AttributeSet(s) which define font etc.
    see
    javax.swing.text.Document
    javax.swing.text.Element
    javax.swing.text.AttributeSet
    I recommend you search java.sun.com and the web for examples of how this works.

Maybe you are looking for

  • Where do I find MPN on my MBP?

    I'm trying to find the MPN for my MBP (to register iDVD/iLife), but don't see anything under Utilities/System Profiler. Any advice? Also tried looking on my package but can't see any M#####... number. Thanks- MacBook Pro   Mac OS X (10.4.7)  

  • HT201364 how can i tell how old my macbook pro is?

    how can i tell how old my mac book pro is?

  • Need specific points in xy graph

    I have xy graph-similar I drow and I'd like to find points, marked with red, automaic(not by hand with cursor) For he right point y value (x=0) and for he left one x value (y=0) The input are two arrays. ..if anyone can help.. Attachments: gr.JPG ‏17

  • Notification Problem on: Calendar Server 6.0 and IMServer 6.1

    Hello everybody, I have a very confusing problem with the Instant Messenger notification feauture for the Sun ONE Calendar server. I have set up both servers and the jms can communicate with ens and the other way round. But if a event occours I get t

  • Cluster_files and db_files

    Hi If i want install cluster by using ASM must put OCR & VD & DB_files all in one ASM_disk_grp or i have to cr8 other disk_grp for DB_files