How to find JDK bin folder

Hello:
I had just finished to search about how to find JAVA HOME while programming. For this I found this line of code:
String javaHome = System.getProperty("java.home");
I notice this line of code returns me the jre path on mi pc; however, is there any other System property or method which may help me to find JDK bin folder. I mean, I want to access to the java compiler(javac), so I need jdk bin folder.
If this is not posible, can I be sure that "java.home" is always going to return me the jre path??.; in order to only take the characters that correspond to java path and add "bin" to it, so that I can find javac.
Thanks for taking the time to read this post.
Bye.

When I say JDK bin folder, I want to mean JDK bin's path.
Sorry for the bad english.

Similar Messages

  • How to Find JDK version ?

    hi all,
    can any one tell me how to find the jdk version through java program ?. thanks in advance.

    Again randy_ortan assign dukes, get his answer and *do NOT give the promised dukes*. Check out his message history!

  • How to find "My Templates" folder in the hard drive?  Or "Mainstage Concerts" folder, "Mainstage Layouts" folder

    So far I have saved quite a few concerts as templates, but now I want to delete some of the older ones, so they stop showing up teach time I want to start a new concert from a template. I have been looking for the folder in library, application support, logic, also in the mainstage app icon's package contents, but I can't find how to delete those saved templates, and exported layouts. Please advise me on this.

    Hi
    If you are running Lion OS, the <User> (Home) folder where MS 2.1.3 stores these files is hidden by default.
    The easiest way to get there is using the Finder;Go menu: Hold down Option (Alt) and the Library will show up in the Go Menu.
    Once you have the User Library window open, drag it to the Sidebar.
    (There are also ways of 'un-hiding' the <User> Library via Terminal etc)
    The Mainstage files are in
    <User> Library:Application Support:Logic.
    CCT

  • How to find list or folder name from SharePoint document URL

    I'm implementing the SharePoint client object model in my VSTO application in .NET framework 4.0(C#).
    Actually we open MS Word files from SharePoint site, we need to create a folder inside the opened documents list/folder and after it we want to upload/add some files to that created folder.
    My problem is that how to get list name/title and folder name of opened document by using the documents URL or Is there an another option to find the list or folder name of opened document.
    Any help will be appreciable.

    In document Library you can get the name of document library directly in URL. for folder name you can try below:
    using System;
    using Microsoft.SharePoint;
    namespace Test
    class ConsoleApp
    static void Main(string[] args)
    using (SPSite site = new SPSite("http://localhost"))
    using (SPWeb web = site.OpenWeb())
    if (web.DoesUserHavePermissions(SPBasePermissions.BrowseDirectories))
    // Get a folder by server-relative URL.
    string url = web.ServerRelativeUrl + "/shared documents/test folder";
    SPFolder folder = web.GetFolder(url);
    try
    // Get the folder's Guid.
    Guid id = folder.UniqueId;
    Console.WriteLine(id);
    // Get a folder by Guid.
    folder = web.GetFolder(id);
    url = folder.ServerRelativeUrl;
    Console.WriteLine(url);
    catch (System.IO.FileNotFoundException ex)
    Console.WriteLine(ex.Message);
    Console.ReadLine();
    http://msdn.microsoft.com/en-us/library/office/ms461676(v=office.15).aspx
    http://social.msdn.microsoft.com/Forums/sharepoint/en-US/801d1a06-0c9b-429b-a848-dd6e24de8bb9/sharepoint-webservice-to-get-the-guid-of-the-folder?forum=sharepointdevelopmentlegacy
    You can also try below:
    http://blogs.msdn.com/b/crm/archive/2008/03/28/contextual-sharepoint-document-libraries-and-folders-with-microsoft-dynamics-crm.aspx
    http://social.msdn.microsoft.com/Forums/sharepoint/en-US/d2d5d7cf-9bbd-4e0f-a772-ecdce4e6149f/how-to-fetch-document-guid-from-sharepoint-document-library-using-sharepoint-web-service?forum=sharepointdevelopmentlegacy
    http://stackoverflow.com/questions/2107716/how-to-get-guid-of-a-subfolder-in-a-document-library-programmatically

  • How to find which screen/folder an app is in?

    I thought I read this a while ago but can't find it and can't remember...is there a way to find the "location" of an app?
    That is, I can use search to find an app to *launch* it. But what if I wanted to e.g. move it or delete it? It can be really hard to figure out what screen/folder an app is in. Is there some sort of command similar to the "open containing folder" type of command on Mac?
    If it makes a difference, I'm on IOS 7.

    If found in Spotlight, the folder it's in will be show to the right of the app.
    If no folder is listed, it's not in a folder, it's on one of the home screens.
    Access Spotlight Search by swiping down from the middle of any home screen.

  • How to find "Deleted Messages" folder?

    Often when I search for something in an old email, it shows the folder it is in as "Deleted Messages" in my Mail account.  Where IS this folder?  I tried looking for the Mail folder in Library, but it is no longer visible (see screen shot).  I'm running Mavericks - has that changed it?

    Your mail folder is in the Library inside of your home folder.   To make the Library visible go into your Home folder and then select View Opions from under the View menu.   In the View Options on the bottom there will be a checkbox there to "Shiw Library Folder".  Just check that and you will be abe to see the Library folder.

  • How to find mail folder in mavericks backups

    Hi,  I am trying to find some mail messages that would be part of my backups of my computer. The OS is Mavericks.  I know that the folder "library"  is hidden and I can find this folder on my current system but I don't know how to find a hidden folder in a backup.  This is what I can see:
    Thank you for your help.

    Go to Finder and select your user/home folder. With that Finder window as the front window, either select Finder/View/Show View options or go command - J.  When the View options opens, check ’Show Library Folder’. That should make your user library folder visible in your user/home folder. Select the Mail/V2 folder and enter time Machine.

  • How to find the unused files for deletion?

    After mapping 600 xml files, how does one find the unused files for deletion from the folder? (eaiser and cheaper translations)
     

    iWeb will open any file with the extension .sites2 - it doesn't have to be named "Domain".
    See this page for how to open separate Domain files when using Lion/Mountain Lion...
    http://www.iwebformusicians.com/iWeb/mountain-lion.html
    The above page will also let you know how to find the library folder now that its hidden.

  • How can I move pictures from Finder to a folder on my main screen?

    I'm trying to put a bunch of photos that are currently in Finder into a folder on my main screen so I can drag them easily onto photo printing sites. How do I do that?
    Thanks!

    Thanks! But I have like 100 pictures………is there a way to do them as a group instead of individually?  I also want them in some sort of folder not just 100 individual photos all over the main screen. Is there a way to create that?

  • How do I Import Bookmarks from one profile to another ? I have tried searching online but I can find no "bookmarksbackups" folder and no "places.sqlite" Thanks

    Hi,
    I was wondering how to Import Bookmarks from an old firefox profile to a new one ? My laptop stopped working but I managed to copy my firefox data from the mozilla appdata folder. I want to now copy my old bookmarks to my new firefox profile on my new laptop. I have tried searching online for guidance but most methods mention a "bookmarksbackups" folder and a "places.sqlite" file. However, I can find no "bookmarksbackups" folder and no "places.sqlite" file. Among the files in profile I am trying to import FROM are a "bookmarks" html file(which seems to only contain the default firefox bookmarks) as well as "places.sqlite-shm" and "places.sqlite-wal" files. Although, the NEW profile on my new laptop I am trying to import TO DOES have a "bookmarksbackups" folder and a "places.sqlite" file.
    I would be most grateful for any help received. Many thanks in advance for your help and for your time

    ''the-edmeister [[#answer-668475|said]]''
    <blockquote>
    f458italia,
    Per your screenshot - you don't have the /bookmarksbackup/ folder nor the places.sqlite file - your bookmarks don't exist in that old Profile. ''cor-el mentioned another file that is missing, so that Profile wouldn't have been operational.''
    Are you sure that you don't have another Profile for that user account?
    beemarco,
    Sorry that we missed your question over here:
    https://support.mozilla.org/en-US/questions/1036975
    I'll provide an answer for you in that thread.
    </blockquote>
    '''Thank you for your reply. If my bookmarks etc. were to unknowingly be saved in another profile how could I find/access this profile? Many thanks in advance '''

  • After migrating an account to my MacBook Air, it still has its old settings and won't let me find the Applications folder - how do I fix this?

    So I just migrated (using the Assistant) my Admin account from my old Powerbook G4 to my MacBook Air (used) , but now it's disregarding its new Trackpad settings (such as scrolling and double finger tapping, etc.) It also won't let me find my Applications folder (I used Finder), whereas the Admin account can, but see back on my old laptop I this account was an Admin. I feel like there's something written that's telling it to behave like it did on the Powerbook. I don't know - me no professional, yo, that's why I'm here. NOTE: Before I migrated, I'd started using the Admin account on here; for example, I signed in with my appleid since I figured the accounts could be merged - guess not. A family member's been helping me, but I wanted feedback from the forum.
    Thanks, guys!

    What exactly is the error you get?
    How are you attempting this copy?
    There's almost certainly a way to accomplish what you want to do (probably best from the terminal possibly copying the entire user dir and fixing up permissions, etc.) but I'm not sure you will end up with the results you want.  There are plists in the preferences dir that you probably don't want to copy over (e.g., many of the com.apple.* prefererences).  And many apps also create more than just plists.  There may be stuff in Application Support, LaunchAgents, Internet Plug-Ins, etc.).  And this would be stuff you do want to copy.  Bottom line is it is not a trivial exercise which is probably why the system is slapping your hands for even attempting it

  • How can I add .m4r files (thatI have shortened to 30 seconds or less) to iTunes 11.0.1? I cannot find a ringtones folder in Itunes ans it won't let me drag the files to the sidebar...

    How can I add .m4r files (that I have shortened to 30 seconds or less) to iTunes 11.0.1? I cannot find a ringtones folder in Itunes and it won't let me drag the files to the sidebar...thanks!

    How can I add .m4r files (that I have shortened to 30 seconds or less) to iTunes 11.0.1? I cannot find a ringtones folder in Itunes and it won't let me drag the files to the sidebar...thanks!

  • How can I get a search bar added to my email archives screen to make it easier to search for the right archives folder, Samsung has one so I was surprised to see that I have to scroll up and down to find the right folder?

    How can I get a search bar added to my email archives screen to make it easier to search for the right archives folder, Samsung has one so I was surprised to see that I have to scroll up and down to find the right folder?

    Start Firefox in <u>[[Safe Mode]]</u> to check if one of the extensions is causing the problem (switch to the DEFAULT theme: Firefox (Tools) > Add-ons > Appearance/Themes).
    * Don't make any changes on the Safe mode start window.
    * https://support.mozilla.com/kb/Safe+Mode
    * https://support.mozilla.com/kb/Troubleshooting+extensions+and+themes
    You can modify the pref <b>keyword.URL</b> on the <b>about:config</b> page to use Google's "I'm Feeling Lucky" or Google's "Browse By Name".
    * Google "I'm Feeling Lucky": http://www.google.com/search?btnI=I%27m+Feeling+Lucky&ie=UTF-8&oe=UTF-8&q=
    * Google "Browse by Name": http://www.google.com/search?ie=UTF-8&sourceid=navclient&gfns=1&q=
    * http://kb.mozillazine.org/keyword.URL
    * http://kb.mozillazine.org/Location_Bar_search

  • I lost an xcel doc. Tried to find the Library folder in Users not there when use Finder. But when trying to upload a photo, iphoto found the library folder I can see my doc in Office 2011 Autorecov, but can't access it! How do I get User to show Library

    I lost an xcel doc a couple of days ago. Tried to find the Library folder in Users but not there when I use Finder (even when I do shift-command-G). But when trying to upload a photo in iphoto I found the library folder in Users. I can see my doc in Office 2011 Autorecovery, but can't access it! How do I get User to show Library then I can get to my long lost document?

    The auto recovery dat should be in the Microsoft User Data folder in your documents folder, not in the Library. However, I Haven't had to look recently.

  • How to find out which user create folder

    how to find out which user create folder in shared drive?

    Hello,
    you have to enable Auditing in on the DCs OU and also on the top folder level where this should be monitored.
    http://technet.microsoft.com/en-us/library/cc784387(v=ws.10).aspx
    http://support.microsoft.com/kb/310399
    Best regards
    Meinolf Weber
    MVP, MCP, MCTS
    Microsoft MVP - Directory Services
    My Blog: http://msmvps.com/blogs/mweber/
    Disclaimer: This posting is provided AS IS with no warranties or guarantees and confers no rights.

Maybe you are looking for

  • How to edit a SWF file

    Hello, I'm a newbie so please try to help me with a simple solution. I have a flash banner that is designed to run animation continuously, I need it to stop running after 15 seconds. What's the easiest way to do so? This is very important for me so I

  • Error: ORA-02298 while creating a new app at DRM 11.1.2.3.300

    Hi All,         There's something weird happening when I try to create a new DRM app at DRM Management Console. After provide all information about database connection and admin long on i am getting the following error during the repository creation

  • PXIe 8262 streaming performance with HDD 8264 on a PXIe 1062Q chassis

    Hello, I have a PXIe 1062Q chassis, running Win XP, with one 8262 connected to an HD8264 and two PXIe 6537 installed, all the three board being on the express slots (3, 4 and 5). Running the benchmark application for testing the streaming speed (Win3

  • Javascript Calculations

    When I put the following code and run it in a browser it works without issue var monthstart = '05'; var monthend = '06'; var daystart = '1'; var dayend = '25'; var monthweeks = new Array('4.43','4','4.43','4.3','4.43','4.3','4.43','4.43','4.3','4.43'

  • I have Problems with starting em dbconsole after a fresh Installation

    I have been having problems running EM console on Oracle 10g R2 on windows xp after a fresh installation and I did not receive any error messages while the Installation was going on. I was able to log into sqlplus successfully and I started the insta