Installation directory

Hi All
I have a code of core java which is working.In the exiting code i have use "LOG FILE" which is created and run well. But in this code i set the path manual.Now i want to set the path where my application is installation. How i set the path of installation directory..
Here i am useing code for set the logfile ..
FileWriter fstream = new FileWriter("C://LogRecord//" +st ,true);Now I want to set the path according to installation directory..
Plz help me
Edited by: Vijayjava on May 23, 2008 12:16 AM

Vijayjava wrote:
Hi All
I have a code of core java which is working.In the exiting code i have use "LOG FILE" which is created and run well. But in this code i set the path manual.Now i want to set the path where my application is installation. How i set the path of installation directory..
Here i am useing code for set the logfile ..
FileWriter fstream = new FileWriter("C://LogRecord//" +st ,true);
You don't need the double /, one is enough.
To write to a relative (existing) directory, you can do:
FileWriter fstream = new FileWriter("LogRecord/" +st ,true);

Similar Messages

  • Creative Cloud - BUG Changing Installation Directory for Apps

    I searched and could only find this similar post here
    http://forums.adobe.com/message/5498967#5498967
    Which stated the issue I am experiencing.  In the preferences of the creative cloud desktop program I changed the installation directory to D drive because I have my main hard drive partitioned and the programs would take up too much space on C.  Regardless of the change in preferences the applications were still installing to my C drive.  I tried restarting and reinstalling and nothing seemed to work. 
    Finally I decided to reallocate my D partition back to C, I have yet to complete this because I am waiting for all the data on D to be transferred to an external drive so I can recombine it to C without losing data ( I don't know if this is necessary, I haven't recombined partitions in the operating system before, but just to be safe)
    ANYWAY
    As I am waiting for the transfer (Over 120gbs takes a while)  I changed the installation directory in the Creative Cloud preferences back to C and went ahead and installed the program I was trying to prior to all this.  Guess What?  It installed to my D drive!!!
    This isn't a serious bug for me, just incredibly annoying and causing a lot of extra work on my part just to install the program I wanted.  However for someone who requires a different directory to install to and cannot rearrange their computer to accommodate this bug I could see it being more serious.  Has anyone else had this issue and did you find a solution?  Thanks.
    P.S. Adobe you rock, I hope your other CC programs don't feel rushed for release like your installer does

    ADOBE WILL TRY TO DELETE YOUR LEGACY APPS!!!!  Do NOT let them! They could put you out of business! Here is a tech support transcript, see for yourselves:
    Vipin: May I have your permission to connect to your computer remotely and try to solve the problem while you watch?
    ADOBE CUSTOMER: I need to know that NONE of my legacy adobe apps will be affected. CS5 suite and CS6 products will NOT be affected is that right??????????????
    info: Your chat transcript will be sent to dixxx.net at the end of your chat.
    Vipin: It will be affected.
    ADOBE CUSTOMER: WHOA! you are saying that my CS% and CS 6 apps will be hurt and not run correctly is that right?
    Vipin: We need to remove all the Adobe apps installed on your computer.
    Vipin: Is that okay.
    Vipin: May I have your permission to connect to your computer remotely and try to solve the problem while you watch?
    ADOBE CUSTOMER: There is no way I give permission to delete CS5 creative suite, CS6 video production suite or hurt them in any way what so ever. I have THOUSANDS of dollars of plugins and other workfow products that depend on them. Sorry but my only recourse is to
    ADOBE CUSTOMER: see if you have ANY loyalty to an OVER 30 years adobe customer (me) when you demand payout for the remaining 5 months of the subscription. I'm betting you will just send the bill to collections for non payment. If so, you WILL be sued for non service and non delivery of product. And yes, I am ready to spend over xxxx on a suit vs adobe because of how you have treated me. The point is I know that I am not alone, and that's sad.
    Then after TECH NO SUPPORT, CSRs try to 'handle' me:
    If you do decide to cancel, we can refund your subscription.
    If you stay with the service, we can provide 2 free months as an apology for the technical difficulties. We cannot provide a free year.
    Please let me know which you would like to do.
    Thanks,
    Britt
    Like · Reply · 35 mins
    ADOBE CUSTOMER:You want me to stay with a service that provides no product? And has not provided me with a usable product since October of 2014? And now the word is out that you are raising subscription prices after the first year? Who do you think you are? You HURT peoples ability to earn a living! You cost us hours and days and months trying trying to fix your problems so we can move forward with your products? Who in the hell do you think you are? Tell you what, dont cancel a thing. A media blitz and maybe a subpoena to San Jose is the right move to protect peoples rights. Your company needs to learn a lesson in how to treat legacy customers. It seems no one has taught you that "if you take care of the customer, they will take care of adobe." Britt, care to guess how many dollars I have given adobe in almost 30 years?
    Adobe Creative Cloud Hi ADOBE CUSTOMER:
    We value all our customers and would love to help resolve your issue. Would you like to arrange a callback with tech support? I can make sure the technician is a senior staff member that can offer more troubleshooting solutions. Let me know if you would like to schedule this, and what a suitable time would be.
    Thanks,
    Britt
    Like · Reply · 19 mins
    Adobe Creative Cloud Regarding Creative Cloud prices, it is noted on the purchasing page that some subscriptions offer "promotional rates for the first year only." Our full subscription terms can be viewed here: https://www.adobe.com/misc/subscription_terms.html
    -Britt
    Like · Reply · 18 mins
    ADOBE CUSTOMER: You see, that is EXACTLY how you should take care of a customer. Tell them they are wrong and have it NOT RELATED to a simple request to FIX a company software PROBLEM. Tell your customers that after FOUR months of unusability of your product, DAYS of the customer trying to fix the company problem, that your solution is give them TWO months FREE then JACK the price up for them! You MUST have thousands of people in LINE to YOU to get this celebrated DEAL!
    Like · Reply · 6 mins
    ADOBE CUSTOMER: I have a hunch some adobe board members are going to have fun with your conversation and offer, Britt. I would hush up now before you have to look for a different job because I know you mean well BUT you have no experience or skills solving a client's issues and in fact, you are hurting adobe's future earnings.
    Like · Reply · 2 mins
    Adobe Creative Cloud I apologize for the frustration regarding Adobe's pricing policy, Kee. Please let me know if you would like additional help troubleshooting the problem. We would love to locate the cause of the download issue and get this resolved for you.
    Thanks,
    Britt
    Like · Reply · 7 mins
    ADOBE CUSTOMER: The Russian cracked version of PS 2014 will have to do on another clients machine until you have a total new WORKING release. I'm tired of being your company's test pig, doing the boiler plate cleaner routines, and having the same failures. It's one thing to have broken software, but NOT acceptable to treat customers the way I have been treated, and then, be greedy on a remediation offer from you.
    You say,"We value all our customers."  Again, clearly NO ONE from the BOD has taught you that if you take care of the customer, then the customer will take care of adobe.
    You guys and gals have essentially asked for a fight, and a fight you shall have. good night.

  • Installation Directory BO/InstallData/InstallCache/ needs a lot of space

    HI together,
    maybe someone of you know a solution?
    We have installed a BO4.0 Enterprise Server, and we installed a lot of patches since now.
    The installation directory (BO/InstallData/InstallCache/) needs now a lot of space.
    Is it possible to reorganise this directory or is it possible to delete some files?
    Thanks in advance
    David

    Hi David Bartuli,
    Run Disk Cleanup you will get some space.
    Right click the drive Select Properties. Click Disk Cleanup....
    If you want to reduce the number of unnecessary files on your hard disk to free up disk space and help your computer run faster, use Disk Cleanup. It removes temporary files, empties the Recycle Bin, and removes a variety of system files and other items that you no longer need.
    Edited by: pardhasaradhi.t on Oct 9, 2011 5:22 PM

  • Why do we need write access to Java installation Directory

    We are Upgrading from Siebel Analytics 7.8 to OBIEE 10.1.3.4.
    As OBIEE needs Java 1.5 or higher as a pre-requisite we are planning to uninstall Java 1.4 and install latest version of Java 1.5.
    According to OBI Installation and Configuration Guide http://download.oracle.com/docs/cd/E10415_01/doc/bi.1013/b31765.pdf -> Page 39 "If you are installing using the Basic installation type, make the user or user group permissions
    writable for the user installing Oracle Business Intelligence, for all JDK 1.5.0 installation directories,
    subdirectories, and files". Can anybody let me know why we need write access to Java Installation Directory??
    Thanks,
    Chandra
    Edited by: user6086408 on Apr 5, 2010 3:07 PM

    I had this same question and asked Oracle. Here's what I was told:
    Per Dev:
    "For OBI Presentation Services and OBI Publisher, jdk fonts files are copied into the JDK location because we do not bundle our own JDK. To ensure the install can do this you need to ensure that the Oracle BI installer has permissions to copy files to the specified JDK location.
    This means that if the same user who installer/untarred JDK is also installing Oracle BI, the install should work. In this case the the permissions of the JDK is probably 755.
    It will not work if a root user installs JDK and a normal user installs Oracle BI because the normal user does not have access to write to the JDK location or will not work if the JDK location is read-only, i.e. 444. In this case running chmod -R 777 will work."
    Jerry

  • I need to Add the configuration file '.airinstall.cfg' to the air bundled runtime installer directory. where do i get the airinstall.cfg from

    i need to Add the configuration file '.airinstall.cfg' to the air bundled runtime installer directory. where do i get the airinstall.cfg from what are the contents of the .airinstall.cfg file please help.

    http://helpx.adobe.com/acrobat/kb/acrobat-downloads.html

  • Installation Directory Path Permissions

    Hi,
    I have a SCCM 2012 Virtual Lab as follows:
    Host - 2012 R2, Hyper V Role installed. Nothing else.
    VM: 2012 R2 DC Edition. SQL 2012 installed on D Drive. SCCM 2012 Installed on D Drive.
    Issue:
    All folders within D:\Program Files\Config Mgr are "Access Denied" to the account I created for SCCM Installation. This account is a member of domain admins, enterprise admins, Schema Admins. (It's only a lab......)
    I could not even find log files until I gave myself access to the LOGS folder. This happens to every folder within the parent installation directory. I am assuming this is not normal. Could someone please confirm that I can just say "Yes" when
    the OS asks me if i want access? I'm having issues with PXE which I cant help but feel could be caused by the lack of access across all these folders.......
    Interestingly, I have had this numerous times on other Server 2012 deployments and on Windows 8! Maybe this is an underlying inherent behvaiour??? Much appreciate any responses regarding this.
    Cheers everybody

    Disable UAC: C:\Windows\System32\UserAccountControlSettings.exe
    We
    are trying to better understand customer views on social support experience, so your participation in this
    interview project would be greatly appreciated if you have time.
    Thanks for helping make community forums a great place.

  • Change the Standard Installation Directory of SMD Agent

    Hi Everyone,
    Standard Installation Directory of SMD Agnet is /usr/sap/SMD which I want to change & Install the SMD Agent
    under /usr/sap/<SID>/SMD directory
    I dont want maintain soft link way
    Is it possible , If yes then How ??
    Thanks in advance
    Regards
    Deepak Gosain

    Dear Deepak Gosain
    Keep in mind that Diagnostics Agent 7.11 is the new version for SAP Solution Manager EHP1 > SP20. Depending on your current version of Solution Manager you might want to start installating the new version.
    The new version has it's own unique SID and acts like a SAP system: for example for stop/start it uses stopsap and startsap commands, instance profiles and SAP JVM instead of OS JVM.
    Structure in new version is /usr/sap/<SID>/SDMA<instance no> where SID needs to be unique (so not your existing SAP system SID).
    Kind regards
    Tom

  • Sequence app with modify rights to installation directory

    Hey there
    I've got an application, where the user must have Change / Modify Rights to the Installation Directory. By Default, the Installation is installed in C:\Vendor\App1. If i just install the application locally the application can be launched without any
    problem.
    I tried to sequence the App with App-V 5.0 SP2 HF4 with PVAD "C:\Vendor1" and i selected the Option "Allow virtual application full write permissions to the virtual file System" on the Advanced Tab of the Sequencer. If i start the application
    i get an error that the database (Application is an Access addin) is only in read mode, and that the application can't get startet.
    Also i'm not able to manually add or modify rights in the Installation Directory.
    Have i missed something? Isn't the Option "Allow virtual application full write permissions..." for this case?
    Thank you in advance!
    Best regards, Simon

    In the first post I read it as you captured to PVAD, and in the post above you set it to VFS.  Did you do a second capture?  If not which are the files in?
    You can always run procmons, etc, to try to figure out what is going on.  The application can always be doing something 'weird', unfortunately its hard to give you a really solid solution with all the potential variables.
    You could upgrade to SP3, and resequence.  Beyond that, you could try going into the VE, and writing a dummy file to that DIR, to see if you get any permissions error.  Does the program put itself into PATH or anything like that?  If there
    are references to the C:\ProgramData location, its possible the program is trying to write to that folder, which is the outside folder you can't write to.

  • Need detailed instructions on how to enable " Check for Updates" option on the Firefox installation directory for Windows XP.

    I have Firefox 2.0 (running Windows XP) and want to update it to 3.6, but the "Check for updates" option on the Help menu is grayed out and need to enable this option by changing permissions on the Firefox installation directory. I need detailed instructions on how to access the Firefox installation directory and change the permissions.
    Can someone please assist?
    Thank you.

    See http://kb.mozillazine.org/Installing_Firefox#Mac_OS_X
    Download a new copy of the Firefox program: http://www.mozilla.com/firefox/all.html
    Trash the current Firefox application to do a clean reinstall.
    Install the new version that you have downloaded.
    Your profile data is stored elsewhere in the [http://kb.mozillazine.org/Profile_folder_-_Firefox Firefox Profile Folder], so you won't lose your bookmarks and other personal data.

  • OT: Permissions for FrameMaker installation directory

    I have never run into this before. I jumped into my FrameMaker installation directory, because some things in maker.ini are not available in the copy in my profile path (such as paste preferences), and I was blocked from saving changes because I lacked permissions.
    Why do IT departments lock that down?
    I mean, clearly programs can install there, so a virus or malicious code could still do harm, but why do they lock me, the local admin, out? Any thoughts.
    Also, let's pass along to Adobe the need to move all those ini settings somewhere else.
    Cheers,
    Sean

    Psst – if you’re getting locked out of your own c:\ drive, you’re not a local admin – you may have to “promote” yourself to give yourself rights to those folders – since Vista, Mr. Bill’s been trying to protect us from ourselves (LOL)

  • SCCM 2012 Installation Directory Registry Key chaning automatically to Old Installation Path

    Hi Guys,
    I have recently recovered SCCM 2012 SP1 CAS Site from Primary Site by reinstalling CAS site and database was replicating with Primary sites properly after CAS recovery. But we noticed that after approx. 2 hours of CAS site recovery database replication stopped.
    After long digging into SCCM log files we found that SCCM installation directory was pointing to old CAS Site Installation Directory (Which was before recovery) instead of NEW Installation Directory so we changed SCCM CAS Site Installation Directory manually
    to new installation path in below registry key and everything was running fine again on CAS Site.
    HKEY_LOCAL_MACHINE\Software\Microsoft\SMS\Identification
    But again when we restarted SMS_EXEUTIVE Service, SCCM Installation Directory again changed to old installation patch under above registry location and all is bad again. We are unable to figure out what is causing this and even we formatted our HDD before
    installation CAS Site.
    Can anyone please help to get rid of this issue. Our while CAS site is down due to this issue.
    Thanks.

    I think that you have to use the same installation directory in a site recovery scenario.
    Torsten Meringer | http://www.mssccmfaq.de

  • Installation Directory in Xcode 4

    I'm writing Mac app for my own use only.
    I keep in certain folder all my AppleScript Editor apps and run them from there.
    "Xcode also has an Installation Directory build setting that lets you install a build product in a specific location. The Installation Directory is in the Deployment collection."
    How i tell Xcode 4 to put working copy of app to this custom folder without moving any stuff in DerivedData folder?
    I can't have any DerivedData stuff in this folder, because it would mess my workflows.
    Thanks

    1st. create a new viewController in your storyboard.
    2nd. create new file that's called objective-C Class, choose a name for your class (example SecondViewController) and make sure that you have selected UIViewController.
    If you have created that file go to you SecondViewController.m, and scroll down to
    return (interfaceOrientation != UIInterfaceOrientationPortraitUpsideDown);
    Delete: return (interfaceOrientation != UIIinterfaceOrientation PortraitUpsideDown);, and put in state of that: return YES;
    Dont forget to link up that SecondViewController to your new viewController in storyboard.
    I hope that this will solve your problem.

  • Installation directory of Operating System

    Hi all,
    I am trying to know installation directory of operating system. I tried to get it with System.getProperty(key). But no key returns installation directory of OS. Currently i am working with windows XP. I need to save one dll dynamically in its /Windos/System32 directory. Plz help me how to do this.

    I want to know in which directory operating system is installed dynamically. i have to download my library in windows/System32. Just repeating the same question doesn't offer any clarification.
    Why do you want to find this directory? Why do you think you have to put your DLL there? What are you trying to accomplish by doing that? That's not your actual requirement; it's a solution you've come up with to whatever your actual requirement is. If you want that question answered, I suggest you define what you mean by "the directory where the OS is installed," because in general, there isn't really such a thing. Or you could answer my question about what you're actually trying to accomplish.
    Edited by: jverd on Sep 7, 2010 12:16 AM

  • Manually coping agent installation directory in windows.

    Hi
    One of my production server's hardware is going to be upgraded from ProLiant DL380 G4 to ProLiant DL380 G5 with higher configuration in Windows 32 bit OS. My network team is rebuilding this server as a new box with the same ip address. I don't want to loose the history of this node target databases in the Grid repository for reporting purposes.
    If I install the oracle agent as a fresh installation I will loose the history. I am planning copy the entire agent installation directory to new server. I am curious to know once I secure the agent and start the agent with because ip addresses are same will it start? How to create a agent service here? Is there any manual process to create the agent service. I want to preserve the history of the node and targets in the Grid here.
    Your valuable suggestions are highly appreciated.
    Rao

    Rao,
    You won't be able to just copy the software directory to the new server. The installation process addes entries to the registry, updates the path, etc.
    The sc command allows you to interact with services. If you type "sc" at a command prompt, you will get a listing of the syntax.
    I wouldn't think that you could copy the configuration from an "old" host & use it on a "new" host. There would be too many differences that would cause conflicts. I guess you could try it & drop & recreate the objects from the repository if it didn't work.
    Thanks,
    Brian

  • Can't change default installation directory for silent installation of Flash Builder 4.5

    Hello,
    I'm trying to create a custom installation script for Flash Builder 4.5 in silent mode.
    I have created a flash builder msi installer using "Adobe Application Manager Enterprise Edition".
    I would like to change the default installation directory during silent installation.
    Could you please help ?
    Thank you in advance.
    Best regards,
    Ryad

    The install.xml in the "Adobe Flash Builder 4.5 Installer/deploy" folder will have the INSTALLDIR property. You can change this property to your custom location.
    <?xml version="1.0" encoding="UTF-8"?>
    <Deployment>
      <Properties>
        <!--Note that the INSTALLDIR value is machine specific.  The value below is a suggested default value but may need to be overriden.-->
       <Property name="INSTALLDIR">C:\Program Files\Adobe</Property>
      </Properties>
      <Payloads>
    </Payloads>
    </Deployment>
    Thanks
    Unni G S

  • Windows installation directory

    We have a bunch of PC's where the Windows installation directory is not "Windows" but "Windows.000". Is there a way I can use inventory to discover which PC's have that Windows.000 directory?
    Thanks for your help,
    Philippe

    On Thu, 31 May 2007 14:19:06 GMT, Philippe Leroy wrote:
    > We have a bunch of PC's where the Windows installation directory is not "Windows" but "Windows.000". Is there a way I can use inventory to discover which PC's have that Windows.000 directory?
    IIRC you can store the software location too, in this case notepads
    location should show you
    Marcus Breiden
    If you are asked to email me information please change -- to - in my e-mail
    address.
    The content of this mail is my private and personal opinion.
    http://www.edu-magic.net

Maybe you are looking for

  • H323 Call Routing - 911

    I'm missing something here in this config.... If we dial 10 digits the call goes out the FXO port just fine, 911 gives us a fast-busy. configs below along w/ the debugs..   weird thing is on the 911 call it appears to be changing the called number an

  • Time machine restore stuck on filevault password screen

    I have a new macbook pro.  I am trying to restore from a backup on timemachine through migration assistant.  The problem is that the backup is too big to fit on this new computer's storage, so it attempts to do it and then fails.  which is fine, beca

  • 802.1x authentication fail with MS IAS

    dear friends, i want to configre .1x authentication for my wireless user and trying to integrat our controllers with MS WINDOWS Server 2008 to configure as a Radius server i followed this documentation here is the link http://www.cisco.com/en/US/prod

  • MacBook Pro goes to sleep when copying files from attached drives

    I have noticed that since installing Yosemite my MacBook Pro goes to sleep when it is in the middle of copying a large number of files.  When I wake it up the copying continues. I have also noticed that when I am watching videos from my shared iTunes

  • Financial Reporting Studio and Windows 7

    Anyone running Financial Reporting Studio 9.3.1 or a similar version on Windows 7? When I try to open a report I'm receiving an error: "Error connecting to database connection <database name>. Thanks