What is compilers default directory?

I tried to compile a file from the /bin directory (where javac.exe) is located and it says can't find file. ????

BobbyG wrote:
I can open command prompt and type javac "path\to\bin\example.java" and it works fine, but I have to specify my entire path to the .java file.
Edited by: BobbyG on Mar 28, 2008 1:47 PMYes, that's the way it works. Like most commands that take filesnames as args, you have to either specify a full path, or a path relative to the current directory.
You could always CD to the directory where your .java file is and just execute java MyClass.java.

Similar Messages

  • What is the default directory for the PHP uploads, i.e. upload_tmp_dir = ?

    I would like to know the default directory that is referenced in the php.ini file under the category of "upload_tmp_dir =" for the OS X server 10.5.8.

    This is the best info that I have found:
    http://bugs.php.net/52460
    Still, just wondering what the default for 10.5.8 is supposed to be before I go and change the php.ini entries.

  • Default directory for sql script in iSqlplus 10g

    I want to run an sql file from the url as "http://machine_name.domain:5560/isqlplus/dynamic?script=http://machine_name2.domain/myscript.sql
    ". What is the default directory to place the file myscript.sql in? Do I need to create a DAD for specifying a different directory?
    Am using Oracle 10g.
    AN

    Hi Alison,
    I tried putting the sql script on different directories on the Oracle server but the url doesnt seem to find the script at all. It gives an error "Cannot find sql script".
    I have not installed Oracle Application server 10g yet. Am only running Oracle Database 10g with iSqlplus and PL/SQL.
    AN

  • Default directory for FileRaeder

    Hi, i have a question, what is the default directory that the filereader class uses?
    I have written an application witch uses the following line:fr = new FileReader(fileName);
    i know filename is the correct name of the file because it works corretc with my other jre. But my other jre can't find it.
    Thanks for any help.
    robert

    i found out it is Thnx. I overlooked that posibility at first becausea .lnk file was starting my program.
    Thnx
    Robert

  • Question on default directory

    which method can be used if i need to know what is the default directory of a program? e.g.C:\Program Files\JBuilder\

    You could try :
    String deflt = new File(".").getAbsolutePath();The dot represents the current directory.

  • Default Directory

    When you run Servlet in tomcat, what is the default directory?

    it used directory which you specify in <tomcat>/conf/server.xml
    example:
    <Context path="/kios" docBase="kios" debug="0" reloadable="true">
    <Logger className="org.apache.catalina.logger.FileLogger" prefix="kios_log." suffix=".txt" timestamp="true"/>
    <Ejb name="ejb/EmplRecord" type="Entity" home="com.wombat.empl.EmployeeRecordHome" remote="com.wombat.empl.EmployeeRecord"/>
    </Context>
    url address for servlet woul be http://localhost/kios/servlet/Yourservlet
    on your disk it would be:<tomcat>/webapps/kios/WEB-INF/classes/Yourservlet.class

  • How to change default directory of exe file

    I have created a VI that reads a template and writes on the template and saves it to a new file. When i created to an exe file, I would like for this exe to be able to be used on any computer. As such, the directory where i will open my template will change on different computers. Hence I am having this problem of how to change my VI such that it will choose this template in a new computer and set it as its default directory.
    I understand that in my own computer, I can simple "set current values as default" so that my VI will always open this file from a particular path. But what i need help with is when i put it on another computer where the particular path would definitely be different. I tried using the config file.vi but I could not understand how it is used.
    Please assist me in this. Thanks

    Hi Aaron,
    Micorsoft suggest to use folders like UserAppData to store files for your own programs.
    Put your template in there and use GetSystemDir function to get the UserAppData path...
    Or you put the template in the program folder or one of it's subfolder (not recommended by MS) and use a relative path to load it...
    Best regards,
    GerdW
    CLAD, using 2009SP1 + LV2011SP1 + LV2014SP1 on WinXP+Win7+cRIO
    Kudos are welcome

  • How can I specify a default directory on my external drive, for iPhone photos to be imported to on Macbook Air?

    I use both a PC as well as my Macbook Air and when I sync my iPhone with my PC (I connect the phone to PC) my phone (or is it my computer)? knows to import my photos and videos to a specific directory/folder on my external hard drive (I am able to tell my PC which folder to import my photos and videos to). For example, it imports all photos and videos to the external drive and organises the photos and videos by date (it creates a separate folder for each date the photos/videos were taken; I had to tell my PC to import to the default directory (external drive) when I did this for the first time, and it now creates a new folder for each date which is useful for keeping photos organised, etc. 
    I'd like to be able to do the same thing, using my Macbook Air, i.e., when I connect my iPhone to the Macbook air, I want my Macbook Air to know to import my photos to my external hard drive; is this possible? I am not familiar with the photo programmes on the Macbook air, but to be honest, I don't want to use them for this; I just want my photos and videos on my iPhone to import to the same folder when I use my Macbook air to sync, as when I use my PC to sync  (I use my PC at work and have my Macbook at home). I'd like to be able to sync my phone when at home and not have to wait till I get to work, etc.
    Many thanks for any help you can provide...

    Yes there are many, but the question is why won't the new folder create on the drive?
    What format is it?
    I think you've not grasped what iPhoto is. Have a read of these
    For help accessing your photos in iPhoto see this user tip:
    https://discussions.apple.com/docs/DOC-4491
    This User Tip
    https://discussions.apple.com/docs/DOC-4921
    has details of the options in the Export dialogue.
    Though dealing with different topics, they explain some of the background and the differences between what you're looking for (file management) and what iPhoto does (photo management).

  • What is the default staging mode when it is: (not specified) ?

    Hi All,
    What is the default staging mode when none is specified?
    As per docs, there are three: stage, no stage and external stage
    http://docs.oracle.com/cd/E17904_01/apirefs.1111/e13952/taskhelp/deployment/SetAServerStagingMode.html
    Many thanks.
    Running Weblogic 10.3.5.0 on OEL.

    "stage" directory means that the EAR file will be temporarily copied to that location and will be used only when the application source directory is not available OR when the administration server is down.
    It is like a local copy of the source directory for your application.
    Sometimes, during restart/redeployment, the managed server could pick the application files from the stage directory.
    But, in general if you use the "Update" option in "Deployment", the files in the stage directory are replaced by the files from the "source" directory.
    What I suspect here is in PROD, if you might have any permission issues with the stage directory?
    Can you please check that the stage directory is owned by the user running the server process AND that the directory permissions is set to 755. And not only directory the files also should inherit the same ownership and permissions.
    That is the only thing I can suspect.
    Arun

  • What is the default admin user account login id and password in Windows 8?

    Hi all,
    The current admin acccount in Windows 8 system are changed to Standard and no other Admin account is available in the system.
    What is the default admin user account login id and password in Windows 8?
    Or 
    Is there way to change the User role for the account?
    Please use Marked as Answer if my post solved your problem and use
    Vote As Helpful if a post was useful.

    I am able to login as a Normal user, can not login as administrator.Hence can not install any software or change my user settings or create a new user.
    What is the default admin password. How can i reset it form my user account
    C:\Users\Amit>net user Administrator
    User name                    Administrator
    Full Name
    Comment                      Built-in account for administering the computer/domain
    User's comment
    Country/region code          000 (System Default)
    Account active               No
    Account expires              Never
    Password last set            7/26/2012 12:57:03 PM
    Password expires             Never
    Password changeable          7/26/2012 12:57:03 PM
    Password required            Yes
    User may change password     Yes
    Workstations allowed         All
    Logon script
    User profile
    Home directory
    Last logon                   9/16/2013 1:16:30 PM
    Logon hours allowed          All
    Local Group Memberships      *Administrators
    Global Group memberships     *None
    The command completed successfully.

  • EJB server\default directory not found

              this is the error that i am getting when i deploy my war and I
              am not able to figure out what is server\default EJB directory.
              can some one help in realizing what mighht be the problem
              <Mar 22, 2001 3:15:39 PM PST> <Notice> <Management> <Loading configuration
              file .\config\mydomain\config.xml ...>
              log file: C:\bea\wlserver6.0\.\config\mydomain\logs\weblogic.log
              <Mar 22, 2001 3:15:43 PM PST> <Info> <Logging> <Only log messages
              of severity "Error" or worse will be displayed in this window.
              This can be ch
              anged at Admin Console> mydomain> Servers> myserver> Logging> General>
              Stdout severity threshold>
              Warning: lib\ejipt.properties not found
              Error: Ejb directory servers\default not found
              

    It appears that your WAR is meant to work with another appserver. In other
              words, the WAR is dependent on the workings of ejipt.
              Gary
              Jay Hombal <[email protected]> wrote in message
              news:3aba89a8$[email protected]..
              >
              > this is the error that i am getting when i deploy my war and I
              > am not able to figure out what is server\default EJB directory.
              >
              > can some one help in realizing what mighht be the problem
              >
              >
              >
              > <Mar 22, 2001 3:15:39 PM PST> <Notice> <Management> <Loading configuration
              > file .\config\mydomain\config.xml ...>
              > log file: C:\bea\wlserver6.0\.\config\mydomain\logs\weblogic.log
              > <Mar 22, 2001 3:15:43 PM PST> <Info> <Logging> <Only log messages
              > of severity "Error" or worse will be displayed in this window.
              > This can be ch
              > anged at Admin Console> mydomain> Servers> myserver> Logging> General>
              > Stdout severity threshold>
              > Warning: lib\ejipt.properties not found
              > Error: Ejb directory servers\default not found
              >
              

  • Jsp default directory

    Hi , what can I do to know which is my jsp default directory ?
    There is a config file somewhere in the Oracle9iAS that tell me which is this directory ?
    Thanks
    Max

    Hi Peter...
    I'm using Oracle9iAS Portal 3.0.9 , and now I installed jpdk.
    I reach the welcome test page , but in that page there are not all the sample portlets.
    If I login to Portal , and I go to see my portlets repository , I cannot find the sample WebPortlets.
    I followed all the steps for the installation , but I have two doubt:
    1)in which directory I must paste all the subdirectories with the samples ( my default jsp runtime directory which is ??)
    I pasted them into C:\oracle\ora9ias\Apache\Apache\htdocs\jpdk ( where jpdk is the new directory I have created according with what the installation manual tells).
    2)When I configure the provider.xml , at the top I have this code:
    <?xml version="1.0" encoding="ISO-8859-1" standalone="yes"?>
    <?providerDefinition version="2.0"?>
    <!DOCTYPE provider [
    <!ENTITY virtualRoot "/jpdk/">
    <!ENTITY physicalRoot "C:\oracle\ora9ias\Apache\Apache\htdocs\jpdk\">
    ]>
    Then this code repeated for all the portlet, here I paste just the sample code for the first portlet:
    <portlet class="oracle.portal.provider.v1.http.DefaultPortlet" version="1" >
    <id>2</id>
    <name>Lottery</name>
    <title>Lottery Portlet</title>
    <description>This portlet shows your winning numbers.</description>
    <timeout>5</timeout>
    <timeoutMsg>We timed out</timeoutMsg>
    <showEdit>true</showEdit>
    <showEditToPublic>false</showEditToPublic>
    <showEditDefault>true</showEditDefault>
    <showPreview>false</showPreview>
    <showDetails>true</showDetails>
    <hasHelp>true</hasHelp>
    <hasAbout>true</hasAbout>
    <acceptContentTypes>
    <item>text/html</item>
    </acceptContentTypes>
    <defaultLocale>en.US</defaultLocale>
    <portletRenderer class="oracle.portal.provider.v1.http.PageRenderer" >
    <appPath>/jpdk/</appPath>
         <appRoot>C:\oracle\ora9ias\Apache\Apache\htdocs\jpdk\</appRoot>
         <showPage>lotto.jsp</showPage>
         <editPage>custom.jsp</editPage>
    <showDetailsPage>details.html</showDetailsPage>
    <aboutPage>about.html</aboutPage>
    <helpPage>help.html</helpPage>
    <renderContainer>true</renderContainer>
    </portletRenderer>
    <portletPersonalizationManager class="oracle.portal.provider.v1.http.DefaultPortletPersonalizationManager" >
    <dataClass>oracle.portal.provider.v1.http.BaseCustomization</dataClass>
    </portletPersonalizationManager>
    </portlet>
    If I have the physicalRoot , and the virtualRoot at the top of the provider.xml , I must repeat it in all the <appRoot> , and <appPath> tags ???
    So , I tried to describe as well as I could my situation , can you help me in someway ???
    Thanks a lot :-)
    Maxy

  • Obtaining default DIRECTORY

    seems trivial but am having a hard time with it.
    I need to strip out a default DIRECTORY (not default drive)
    from a file name (which includes path).
    There is no way for me to know apriori what the
    path directory or file name will be, or how many
    levels below the drive the file name will reside.
    For example: the name might be d:\xxx\yyy\zzz.spc
    or it might be d:\zzz.spc.
    In the first case, I need to be able to strip out to get
    d:\xxx\yyy\ and in the second case, I need to strip
    out to be able to get d:\
    It is not obvious to me what pattern to search for since
    I don't have any clue as to what the file name or path
    will be beforehand. Have any ideas?

    Under the Functions Palette/File I/O, use the strip path function. It
    returns the stripped path and the last component.
    donroth455 wrote:
    >
    > seems trivial but am having a hard time with it.
    > I need to strip out a default DIRECTORY (not default drive)
    > from a file name (which includes path).
    > There is no way for me to know apriori what the
    > path directory or file name will be, or how many
    > levels below the drive the file name will reside.
    >
    > For example: the name might be d:\xxx\yyy\zzz.spc
    > or it might be d:\zzz.spc.
    > In the first case, I need to be able to strip out to get
    > d:\xxx\yyy\ and in the second case, I need to strip
    > out to be able to get d:\
    >
    > It is not obvious to me what pattern to search for since
    > I don't have any clue as to
    what the file name or path
    > will be beforehand. Have any ideas?

  • Change default directory for Creative files (such as Media Databa

    I'm using a Zen xtra with WinXP Pro on my company laptop. The Creative software puts a lot of files (7 MB!) in my user profile under Document and Settings. Unfortunately, this is making my profile larger than my company allows, since they back up the profile over the network.
    How can I change the default directory for these file? I can't find any .ini files that might declare the path, and I can't find anything in the Windows Registry that points to my profile.
    Help please?
    Thanks,
    Luke

    Thanks for the suggestion of deleting the JetFileBackup folder, Micromouse. I'll try it.
    Any other files look deletable? Without any way to move them, I may have to try deleting some and see what happens.
    I'm not even sure which Creative programs can be uninstalled (other than Nomad Explorer) and still be able to use MediaSource to play songs from my Zen Xtra (through a USB connection). Windows Add/Remove Programs says that I've used all of these programs today:
    Creative Jukebox Driver
    Creative MediaSource
    Creative MediaSource AudioSync Plugin
    Creative MediaSource NOMAD Jukebox 2/3/Zen Plugin
    Creative NOMAD Jukebox Zen Xtra
    But all I've done is open MediaSource and start a playlist from my Zen Xtra. Anybody know which of those can be uninstalled without affecting my use? (Maybe this deserves a separate topic.)
    Thanks,
    Luke

  • Changing default directory for iTunes Library.itl and iTunes Music Library.

    I need to change the default directory for the files iTunes Library.itl and iTunes Music Library.xml permanently.
    It must be relocated from the My Documents directory due to VPN reasons.
    Has anybody an idea if this is possible? I could not find a corresponding registry entry.
    Notebook Windows XP Pro

    Using TweakUI to Move or Create Your Library/My Music Location
    Use TweakUI (See: ’Disk is locked’ or ‘iTunes folder cannot be found’ when installing or opening iTunes ) to create a 'My Music' folder in a spot where you desire. iTunes should then find this location and deposit its Library files there, and the 'iTunes' folder and sub-folders as well (if you direct it to).
    First, see this Article for some background information: What are the iTunes Library files?
    If you cannot see the ‘My Music’ folder within the TweakUI drop-down selection, proceed on to the following:
    1 On the start menu go to ‘Run’
    2 Type in RegEdit
    3 Navigate in RegEdit to HKEYCURRENTUSER\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders
    4 Delete any entry for ‘My Music’
    5 Navigate up the tree to HKEYCURRENTUSER\Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders
    6 Make sure there is an entry for ‘My Music’ and is pointing to C:\Documents and Settings\[username]\My Documents\My Music (you can edit the value by double clicking it)
    7 Close RegEdit
    8 Reboot
    iTunes &/or TweakUI should now be able to find the folder.

Maybe you are looking for

  • Remote 2 no longer allows direct access to chapters?

    One of the coolest features of the original Remote app was how I could play a movie on my ATV, go to "now playing" on the iPhone, tap to flip the cover art over, and tap on a chapter title to jump the movie directly to that chapter. If I do the same

  • Need smartform output in different languages

    Hi expert, Can you please let me know how can I see the output of a smartform in different languages. I'm seeing the output of a sales order. I have three output types . ZZAC,ZZ00, ZZ01. The smarform is developed with the language attributes of Trans

  • Connecting MBA to HDTV

    This is going to be my first time connecting my Macbook Air to a TV. I would like to know what I need in order to do that and get the best display quality. I already have an HDMI cable that I bought a long time ago and that is connected in a PS3. Do

  • One agent issue: CTIOS is not prompting about a call and constantly logging itself off

    Hello all, One agent in the call center is experiencing the following issue: The coming calll will not ring into the agent's desktop application CTIOS. The softphone(CTIOS)  is not prompting about a call.  ( The coming call will ring into the phone s

  • IS-Retail: Site stock levels in Store and DC

    Hi Friends, I have created a site 1200. I maintained the same as DC in WB01 and created article and in Logistics:DC view and maintained stock level like reorder point, max stock , etc. If I have to extend the same article to another DC and I want to