Where should an user package be stored ?

Suppose I create a package
package MyPackage;
public class MyClass {
How can I compile MyClass so it is placed in the appropriate
package directory structure and make the new class available
to the compiler and the interpreter ?
Thank you,
Hung Vo.

Suppose I create a package
package MyPackage;
public class MyClass {
How can I compile MyClass so it is placed in the
appropriate
package directory structure and make the new class
available
to the compiler and the interpreter ?
Thank you,
Hung Vo.(This is for windows. Make appropriate changes for other environments)
1. Make a directory MyPackage
2. Copy MyClass.java to MyPackage
3. compile as javac MyPackage\MyClass.java
4. In order to make this class available set root directory of MyPackage in classpath. for eg if you created directory with c:\test\MyPackage and copied MyClass.java so that the path is
c:\test\MyPackage\MyClass.java then
set CLASSPATH=c:\test;%CLASSPATH%
javac c:\test\MyPackage\MyClass.java
Now you are ready to use MyClass.class ( But remember the class must be referred to as MyPackage.MyClass )

Similar Messages

  • I'm new to Apple products. Can someone point me to where an applications user data is stored. For example: skype user data

    I've been searching through the various folders on my Mac Pro hard drive and cannot see where user data is stored.As an example, I deleed Skype and reloaded it and my old profile data is still available. but I cannot determine where it is stored. Can someone point me to whaere this type id data is stored

    Skype and other applications as well may store all their data within their application package. Or they store their data elsewhere such as the Documents folder, as I mentioned.
    There are hidden folders but they are system folders and files. There is no reason for you to ever access them.
    Skype may also store all that it needs to function in its /Home/Library/Preferences/ preference folder. The storage of any other produced data is located wherever the user designates.
    iPhoto stores your photos in the iPhoto Library which is found in your /Home/Pictures/ folder.

  • Where Should the JavaScript Go if I'm Calling from the Page HTML Header?

    In the Application Express User's Guide under "Calling the JavaScript File from the HTML Header Attribute" point 4 says:In HTML Header, call the JavaScript file using the following syntax:
    <script src="/my_images/custom.js" type="text/javascript"></script>However, it doesn't say where my_images is located.
    Where should the .js file be stored?
    Thanks,
    Gregory

    naviagte to shared component in the application edit screen and upload your .js file to static files.
    now you can ref. this file as
    In HTML Header, call the JavaScript file using the following syntax:
    <script src="#WORKSPACE_IMAGES#custom.js" type="text/javascript"></script>
    {?code}                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • Looking for answers on XMP files - where should they be stored as sidecar files?  With the original raw file or in a separate folder?

    Looking for answers on XMP files - where should they be stored as sidecar files?  With the original raw file or in a separate folder?
    Relatively new user of Adobe LR5 and PS CC, about a year old. 
    If they should be stored somewhere beside the folder that contains the originals, where and how to change the settings?
    If I choose to write metadata to the original files, is that sidecar files or does the XMP file show separately?
    To be honest, I usually find a video and I cannot figure this out.  I have never received an answer on any of my questions by the way. 

    Hi there,
    You answered a prior question from me so I wanted to reach out to you about this.   I just need a step by step on how, if possible, to View LRCC on my MacBookPro when the main interface is on my iMac

  • Where are the persona packages stored on a Win7 PC with FF6/7b? Also, I can not find any actual info on what the process is to create a new persona theme, all of the info I can find is rather vague and never even tries to explain anything.

    I want to make a custom persona, but none of the info I find on the web actually states where or how persona packages are actually stored on a Vista/Win7 PC. I'm using FF 6 and 7beta. Where the heck are custom persona stored while they are disabled?

    See also:
    * http://kb.mozillazine.org/Themes (Lightweight theme)
    A Persona consists of two images.<br />
    One large image (lightweighttheme-header, 3000x200) for the toolbars at the top and a smaller (lightweighttheme-footer, 300x100) for the footer that are stored in the Firefox Profile Folder.
    The list of installed personas is stored in prefs.js in the Firefox Profile Folder in the lightweightThemes.usedThemes pref in JSON object format ({"id":"#","name":"xxx",...}).
    * http://kb.mozillazine.org/Profile_folder_-_Firefox
    The first entry of that pref is the currently used persona.<br />
    Only the image files of the currently selected persona are stored in the Firefox profile folder.<br />
    All other personas are loaded from the server if you choose another persona.

  • Where is owb user information stored in tables

    Hi All,
    I am using OWB Repository 10.2.0.4.0 . I need to know, where is OWB User information stored in physical tables of repository.
    Please help me in this regard?

    You can refer the following queries
    1. select owner from dba_objects where object_name = 'ALL_IV_INSTALLATIONS' and owner not in ('PUBLIC');
    2. select distinct grantee, substr(granted_role,5,25)
    from dba_role_privs
    where substr(granted_role,1,4)='OWB_'
    and substr(granted_role,1,6) not in ('OWB_A_','OWB_D_','OWB_O_','OWBR_')
    and default_role='NO'
    and admin_option='NO';
    Thanks,
    Sutirtha

  • What is the package name where the default SE11 programms are stored ?

    Can any one help me in finding out the package name where the deault SE11 programms are stored... Programms like Creating database table, Creating domains Etc......
    Please help !
    Moderator message : Duplicate post locked.
    Edited by: Vinod Kumar on Jul 18, 2011 4:41 PM

    Hi Venkat,
    Check out table /SAPSLL/LEGCOM.  I guess that's what you're looking for.
    Best regards,
    Dave

  • Where should I store the collatoral files that are associated with photos stored in lightroom?

    Where should I store the collatoral files that are associated with photos stored in lightroom? Items such as pdf files, word documents, etc. How should I connect them to each other so I can find both the photo and the related data?

    Lightroom itself will not help you with pdf, word, etc.
    However, there is a plugin you can use called AnyFile which will allow you to manage these documents in Lightroom (by assigning keywords and other metadata) so that you can search for all documents (photos, pdf, word, music, powerpoint, etc.) with given metadata.
    Because you do this via metadata, it doesn't matter where you put these files. Put them anywhere you want.

  • Where is the User Group stored

    Hi all
    I have a question about the User Groups.
    I want to know where are the User Groups and their information stored in Business Objects.
    Is there a system table from where I can access/pull this information.
    Thanks.

    Hello,
    You can use the Query Builder (on the BusinessObjects Administration Launchpad under Administrative Tools) to query the CMS database.
    The following query would return some details of all user groups in your system:
    SELECT
    SI_NAME, SI_DESCRIPTION, SI_ID, SI_ALIASES, SI_GROUP_MEMBERS
    FROM
    CI_SYSTEMOBJECTS
    WHERE
    SI_KIND = 'usergroup'
    You can find documentation on querying the CMS in the Developer Library:
    http://devlibrary.businessobjects.com/BusinessObjectsXIR2/en/devsuite.htm#en/BOE_SDK/boesdk_java_dg_doc/doc/boesdk_java_dg/SDKFundamentals34.html#1033059
    [Dev Library Home|http://devlibrary.businessobjects.com/BusinessObjectsXIR2/en/devsuite.htm] > Enterprise SDK > Java Developer Guide > SDK Fundamentals > How do I use the query language to retrieve classes from the CMS repository?
    Cheers,
    Fritz

  • Where and how users and password are stored?

    1) I'd like to know where and how users and passwords are stored in portal30_sso schema.
    Does anybody know something about?
    2) Why have I to start httpd with ssl enabled as root user? Isn't it insecure?

    This only applies to Unix
    Mike
    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by Sebastiaan van Dijk:
    Hi,
    When the portnumber is under 1024, you have to start it as root, but you can run it as another user.
    So, your SSL webserver instance can run under another user than root. Root only has to start it up.
    HTH, Sebastiaan<HR></BLOCKQUOTE>
    null

  • Where is the install package stored from the app store for Lion?

    This is an all new way of deploying OS updates from Apple. From what I can see, this presents some issues:
    1. Where is the install package that I bought from the app store, and how can I save that offline?
    2. If there's a problem with my device in the future, I have no media of Lion to restart from- so what's the procedure to restore from a TM backup? Go back to 10.6, and then to the 10.7 update?
    3. What if I want to boot from disc or a drive? I don't have a copy of the install to make a bootable image.
    Thanks for the help

    OK, once you install Lion the Installation Package gets deleted. However once you have installed Lion, do following:
    - Open the AppStore Application
    - With pressed Option (on German Keyboard ALT) Key klick on the "Purchased" Tab!
    - You will now see that the prviously greyed out "Install" key for Lion becomes active
    - Download the install package
    - Do not start installation
    - In order to create a bootable DVD or USB drive containing the installer follow instructions posted on
    http://www.macworld.com/article/161069/2011/07/make_a_bootable_lion_installer.ht ml
    This is how you can create installation media.
    For maintenance options (means your Lion installation has some problems but your drive is still OK)
    you can boot from the hidden recovery partitions that was created when you installed Lion.
    To do so, press the Option (ALT) Key while booting. You will have now the option to boot from
    Lion or recovery partition.
    Hope this helps!

  • I have just started with Logic X, having been a Logic 8 user for many years. I have some expensive plug-ins which are not being recognised by the news Logic. Where should I install them ?  YoursdisillusionedbyLogic

    I have some expensive plug-ins which are not being recognised by the new Logic. Where should I install them ? 
    I am using Mavericks OS, and I am considering transfering my choiceof DAW to Protools.
    YoursdisillusionedbyLogic

    Hi
    LPX only supports 64bit Audio Unit plugins. You probably need to get the latest updates for all of your plugs.
    Some plugs are not currently available as 64bit versions: you may want to try
    http://www.soundradix.com/products/32-lives
    CCT

  • 8.1.7 LoadJava. Where do the class files get Stored

    I am using an 8.1.7 Database. I have class files in my database that were loaded using loadjava. I want to extract these class files to do a binary comparison. Does anyone know where a users schema the actual class files are stored. In 9i i believe that they are stored in CREATE$JAVA$LOB$TABLE but they aren't stored there in my 8.1.7 database. Where should i be looking in an 8.1.7 database???
    Cheers
    Paul

    found a solution. In case it is of interest to anyone, using enterprise manager from a 9i client, connected to my 8.1.7 database, and under, schema--> user-->source types--> java classes. for each class, select the class and there is an option to export the class on the RHS. Selecting this, can export class files to hard drive.

  • Webapp - where to store user files?

    Hi All,
    My app is packaged in a WAR file, which gets expanded by servlet container during deployment.
    The app operates with folders containing user data (files uploaded by users, email templates, etc).
    Where should I create these user data folders - inside the webapp directory structure or outside?
    If outside - will I be able to access them from my servlet?
    If inside - how do I protect these folders from overwriting when a new WAR version is expanded?
    What is the best practice in this case?
    Maybe it's a trivial question, but I coudln't find a definite answer... I would really appreciate some help!

    There are a number of solution to your problem:
    1. if you wish to deploy your app using a war file then you will have to package your user data
    everytime you make a new deployment (which resides in your development directory), and if that user date changes then you will have to maintain that change (i.e. in the development and deployment directories)
    so that in your next deployment you don't loose any changes.
    2. If you don't want to maintain changes to your user data in two places, then a simple way is not to deploy
    using a war file. Keep your user data in one place (within your web-app deployment directory), and simply place any changes (html, jsp, and servlet classes) to your application to the appropriate place.
    3. If none of the above approach is suitable then think about maintaing these user data in a database and
    thus be done away with problems relating to directories and files.
    Hi All,
    My app is packaged in a WAR file, which gets expanded
    by servlet container during deployment.
    The app operates with folders containing user data
    (files uploaded by users, email templates, etc).
    Where should I create these user data folders - inside
    the webapp directory structure or outside?
    If outside - will I be able to access them from my
    servlet?
    If inside - how do I protect these folders from
    overwriting when a new WAR version is expanded?
    What is the best practice in this case?
    Maybe it's a trivial question, but I coudln't find a
    definite answer... I would really appreciate some
    help!

  • Where should my videos go?

    I recently upgraded my Hard Drive from 80 to 500Gb. In the past I have stored my video clips of my kids, from my cannon elph point and shoot camera, on an external hard drive, not on my Macbook hard drive. But, I find that I never see the video because of it being on an external drive. Now, since I have so much room on my internal hard drive, I am thinking it would be nice to be able to have all my videos in one place, where they could be viewed, edited and created in to a family movie, etc. I would like to move them to my internal drive, unless that is a bad idea>? Here is my question: should I put all the movies into iPhoto, where my photos are currently? Should I put all the movies into iMovie08? Should I buy iLife09 and put them in iMovie09 (is there a noticeable difference for a beginner between iMovie08 and iMovie09)? Should I wait for iMovie10? Should I try some other movie software that will be a good library for my video? It is only movies of my kids, I am not making a hightech hollywood type film. Just a dvd for the grandparents. Is there an application that I can use that will store and organize both movies and videos? Then everything is in one place? So, in a nutshell... where should I keep my videos? Please advise and thanks for listening.

    Try user folder/Movies.

Maybe you are looking for