Need help with setting the entry point for application

Hi there,
I am kinda new to creating JAR files for application. I checked out the tutorials for creating the jar files, and I understood most of the concepts. There is one part in the tutorial which I still don't understand
it says:
We want to execute the main method in the class MyClass in the package MyPackage when we run the JAR file.
We first create a text file named Manifest.txt with the following contents:
Main-Class: MyPackage.MyClass
I am not exactly sure what the package is. Is it the name of the jar file, which I wish to create? Your detailed explanation would certainly be helpful. Thank you in advance.
Regards,
Young

Hi there,
I am kinda new to creating JAR files for
for application. I checked out the tutorials for
creating the jar files, and I understood most of the
concepts. There is one part in the tutorial which I
still don't understand
it says:
We want to execute the main method in the class
s MyClass in the package MyPackage when we run the
JAR file.
We first create a text file named Manifest.txt with
the following contents:
Main-Class: MyPackage.MyClass
I am not exactly sure what the package is. Is it
it the name of the jar file, which I wish to create?
Your detailed explanation would certainly be helpful.
Thank you in advance.
Regards,
YoungIts just the package name in your code hierarchy.
http://jarticles.com/package/package_eng.html

Similar Messages

  • I need help with setting up time machine for backup

    I would like help with setting up time machine for backup.

    You will need an external hard drive (formatted for a Mac).
    Then you plug it in and go to system preferences>time machine and select the external HD and turn it on.
    The backups are automatic.
    Barry

  • Need help with changing the product name for a HP LaserJet Pro 401n to use on a ePrint network.

    I am in a school environment, naming printers is imortant. 
    Bonjour Service Name and Device Description name have been changed. IOS7 devices see the Bonjour name but ChromeBooks see the Product name. How can I change the Product name on the printer so that it is then recognized by HP Connected and shown to ChromeBook devices?

    You should be able to change the product name in Google Cloud.  The ChromeBook uses Google Cloud to print (Google Cloud uses HP ePrint).  Log into your google account and change the printer name there.
    I am an HP employee.
    Opinions expressed are mine and do not necessarily reflect the opinions of HP.
    Reminder: Please select the Accept as Solution button on the post that best answers your question. Also, you may select the Kudos button on any helpful post to give that person a quick thanks.

  • Purchased extreme to replace modem/router DSL used telephone cord need help with set up

    Prior to purchasing Airport Extreme had a standard modem/ wireless router from ATT for DSL. I have two macbooks both dropped connections while online with older modem.
    Airport Extreme purchased to correct connection issues I need help with set up. The older modem just used telephone cord. I tried to use telephone with extreme it did not work.
    How do I get extreme to work as the modem and router ?

    How do I get extreme to work as the modem and router ?
    you can't. the extreme is only a router. you need a separate modem (or disable the wireless part of your old router and use it as a modem - if that's possible).

  • I need help with setting up my Sun Java Studio Creator

    Hello all, i need help with setting up the Studio Creator, i"m new to all that staff so is there anyone to help me just a little with all that if yes email me at [email protected] or get me on AOL Instant Messanger with the screen name: wretch17
    thanks :-)

    Hi,
    Welcome to the Creator community! Thanks for your interst in Sun Java Studio Creator. Please feel free to post any question related to creator on this forum .
    Take a look the creator website at
    http://developers.sun.com/prodtech/javatools/jscreator/
    CreatorTeam

  • Question: Need help with overcoming the following message:  "Nothing was imported.

    Need help with overcoming the following message:  “Nothing was imported.  The file(s) or folder(s) selection to import did not contain any supported file types, or the files are already in this catalogue”.
    The photos being scanned are old film shots.  They have NOT been previously scanned.  I am using Photoshop Elements 9 software.
    QUESTION:  how do I override this STOP and or circumvent the photo comparison option????
    Thanks for the help. Bob K ---  [email protected]

      Are you scanning as jpeg, tiff or some other format?
    Are you using continuous numbering for files names as by definition scanned files have no exif data.
     

  • Need help to find the "leading point size"

    Hi,
    I need help to find the "leading point size".
    Any para style leading is more than 2 points of my font size, I need the alert message "Its more than 2 points for your font size". For instance my para font size is 10 here my leading should be 12 points rather than its 14 points, I need the alert message.
    Is this possible by script?
    by
    hasvi

    Hi Hasvi,
    Try this.
    var doc = app.activeDocument;
    var texts = doc.stories.everyItem().textStyleRanges.everyItem().getElements();
    var pstyle = "Following paragraph styles have more leadings:\r\r";
    for(var i=0;i<texts.length;i++)
        var ps = texts[i].pointSize;
        if(texts[i].leading > ps + 2)
            pstyle += texts[i].appliedParagraphStyle.name;
    alert(pstyle)
    If it is correct than mark the answer as correct and don't mark your question as correct answer.
    Regards,
    Chinna

  • I need help to find the serial number for Photoshop Elements 11

    Hi! I need help to find the serial number for Photoshop Elements 11 I downloaded last year on Apple Application Store.. I have been using photoshop on mac for over a year and now need the serial number to be able to use it on macbook. I looked up Adobe's website for help but found none and noone to ask for support.. Any ideas how I can get the serial number using the App Sore bill I have?

    Please post Photoshop Elements related queries over at
    http://forums.adobe.com/community/photoshop_elements

  • Need help with set up for extensions

    I'm new to OA Framework development and am just ramping up (do have years of Java development experience) and could use some help. I've read through the OA Framework Developer Guide and gone through a few of the tutorials. My task is to add some extensions to the R12 Customer Standard pages.
    I've looked in the $JAVA_TOP at the following directory structure.
    /oracle/apps/ar/cusstd/...
    I find java classes and the server.xml files but there are no PG.xml files to work with. Are these located in a different structure? What is the best approach to obtaining the base Oracle source files to start with and for configuring your local development environment to extend R12 OA Framework pages? Do you need to include the entire $JAVA_TOP in your development client environment classpath as well?
    Thanks in advance!

    To run the oracle seeded party create/update page, you can refer &lt;&lt;your Jdeveloper Installation directory&gt;&gt;\jdevhome\jdev\myhtml\OA_HTML\test_fwktutorial.jsp.
    Create a new custom jsp similar to test_fwktutorial.jsp. Modify this JSP based on your environment and user setup. Modify the links also. With this, you should run this jsp first. By clicking the link in the JSP run, you can launch party create page.
    The error you posted in RED color is thrown because you are trying to modify the web bean hierarchy in the processFormData method. Example, setting some items property to rendered false or true. All these kind of modifications should be done in the proceeRequest method of the controller.
    Following is from DEV guide to launch the forms application.
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    Launching Oracle Applications Forms from OA Framework Pages
    To launch an Oracle Applications form from OA Framework, you must first define a button, link or image web
    bean. The web bean then relies on the FormsLauncher applet provided by Oracle Applications (AOL/J) to
    launch the specified form.
    Declarative Implementation
    Step 1: In the OA Extension Structure pane, select the region in which you want to create the web bean to
    launch an Oracle Applications form. Choose New > Item from the context menu.
    Step 2: Set the ID property for the item, in accordance with the OA Framework File Standards, and set the Item
    Style property to button, image, or link. You may also launch an Oracle Applications form from a submit
    button. See the Runtime Control section below for more details.
    Step 3: Set the Destination URI property of the item with a value following this format (replacing the italicized
    text as appropriate):
    form:responsibilityApplicationShortName:responsibilityKey:securityGroupKey:functionName
    For example, if you want to launch the FND Menus form, the Destination URI property should be set to:
    form:SYSADMIN:SYSTEM_ADMINISTRATOR:STANDARD:FND_FNDMNMNU
    Step 4: If you wish to pass parameters to the form, set the Destination URI property with a value using the
    following format (Note that the parameter list is delimited by a space between each "parameter=value" pair):
    form:responsibilityApplicationShortName:responsibilityKey:securityGroupKey:functionName:param1=
    value1 param2=value2 param3=value3
    Note: If you wish to send varchar2 parameter values that contain spaces, use \" to enclose the string value.
    For example, to pass in something of the form:
    TXN_NUMBER=LT INVOICE 1
    Use:
    TXN_NUMBER=\"LT INVOICE 1\"
    Step 5: Refer to the following Chapter 4 topics for information about additional properties you may need to set
    for the specific item: Buttons(Action/Navigation), Buttons (Links), or Images in Your Pages.
    *Runtime Control*
    There are no special programmatic steps necessary to launch an Oracle Applications form from a button,
    image, or link in an OA Framework page. The OAButtonBean, OALinkBean and OAImageBean support the
    special form function URL format described above for the Destination URI property. When OA Framework
    encounters this special value, it generates the appropriate URL and also adds a hidden IFrame (inline frame)
    to the OA Framework page. The hidden IFrame is the target of the FormsLauncher applet provided by Oracle
    Applications.
    Launching an Oracle Applications Form From a Submit Button
    If you wish to launch an Oracle Applications form from a submit button in an OA Framework page, you must
    use the OAPageContext.forwardImmediatelyToForm(String url) method from
    548
    oracle.apps.fnd.framework.webui.OAPageContext. An example of how to use this API is shown in the code
    sample below:
    public void processFormRequest(OAPageContext pageContext, OAWebBean webBean)
    super.processFormRequest(pageContext, webBean);
    if (pageContext.getParameter("Apply")!=null)
    String destination =
    "form:SYSADMIN:SYSTEM_ADMINISTRATOR:STANDARD:FND_FNDMNMNU";
    pageContext.forwardImmediatelyToForm(destination);
    *Usage Notes*
    Microsoft Internet Explorer supports the IFrame element, so when you launch an Oracle Applications form from
    OA Framework, only a splash window appears. Any other windows required by the FormsLauncher applet
    use(s) the hidden IFrame as the target and therefore remain(s) hidden from the user. Netscape Navigator, on
    the other hand, does not support the IFrame element, so in addition to a splash window, the user also sees
    another window used by the FormsLauncher applet.
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    let me know if you got struck.

  • I just bought my MacBook Pro 13" and I tried to install an anti virus but then it went into a grey folder with a question mark I need help with restoring the iOS please

    I need help taking out the grey folder with the question mark and I've try everything except the CD thing because my MacBook didn't come with one so I really need help please

    What anti-virus software did you install? Although there's a lot of bad anti-virus software out there, no anti-virus software should cause such a problem. A gray screen with a flashing question mark on a folder means that no bootable system could be found, which means that the system was badly damaged or corrupt. Even installing bad software would not normally cause that, so either there was something badly wrong with the system already or the anti-virus software you tried to install was really, really bad!
    As mende1 says, you need to reinstall the system at this point. After your system is back up and running, read my Mac Malware Guide. If, after reading that, you want anti-virus software, use one of the programms recommended in that guide.

  • [SOLVED] Need help with setting up X

    Hello guys am new to the forum and this is my first post here. I am in need of a little help.
    Need help with X configuration. It starts like this, I installed xorg-server , xorg-utils, xorg-server-utils. When I tried installed xorg-init it says no package, anyway I ignored and moved on.
    Now I installed regular mesa stuff and installed xf86-video-ati driver for my HD4250 graphics adapter. with libgl and ati-dri (I have old arch wiki print so it mentioned to install those while newer doesn't list some stuff)
    Now the problem is that Xorg -configure doesn't work with newer X and nor the packages has generated /etc/X11/xorg.conf file.
    Anyway I created the file manually and added each and every section as mentioned in the "old" guide that I have.
    I even added a /etc/X11/xorg.conf.d/20-radeon.conf file for my graphics card with the content as
    Section "Device"
    Identifire "r"
    Driver "radeon"
    EndSection
    After manually creating all such files I installed x-term, xclock and twm. But when I tried to start X by startx or Xinit it says command not found. Add to that a simple X shows couple of errors.
    Please see the errors here Paste #399362 | LodgeIt!
    Some more questions : My old guide mentioned to install HAL while newer guide on the net mention DBUS. Though I have added DBUS to be on the safe side but why not HAL ? Is it because of Udev ?
    So please help me getting X up and running.
    Regards
    Last edited by Shashwat (2011-06-04 09:47:47)

    Ok  I sorted out the misprints in the file and installed xinit but still can't get it to work.
    1. There are few errors in xorg.conf that I cannot make it out.
    2. The X output says no screen found. ?
    http://paste.pocoo.org/show/399383/
    Now when I add EndSection at the last its says invalid parameter and when I remove it, I get an error "No EndSection, EOF missing"
    Kind of bugging
    Please do help.

  • Need help with setting up lightscribe to burn onto dvd label with external

    Bought the LG external mac compatible drive and have the smile on my mac disc label (bought) - have set the 'CD Boundary for text formatting' to LightScribe Full Label and there is supposed to be a lightscribe pop-up popping up when i press print but no pop up.
    Could the lightscribe that i downloaded from their site not be installed even though it said 'successfully installed?'
    anyone know what i am talking about? and could help?
    thx
    debcoo

    Lightscribe is not an Apple product, so you might get better answers on the Lightscribe forums:
    http://www.lightscribe.com/discussionBoards/index.aspx?g=posts&t=4296

  • Need help with accessing the program.

    I need help with accessing my adobe creative cloud on my windows 8.1 laptop. I have an account but do not have an app. I need this for my online classes. Please help!

    Link for Download & Install & Setup & Activation may help
    -Chat http://www.adobe.com/support/download-install/supportinfo/

  • Need Help with Oracleasm - a kernel module for the ASM library

    I am a beginner, trying to install Oracle RAC. I have a system with SuSE Linx 11 (64 bit) loaded. I need to get the correct ASMLib packages needed for installing ASM. I think I got the following packages that are needed for installing ASM
    1) oracleasmlib- the ASM libraries (oracleasmlib-2.0.4-1.SLE11.x86_64.rpm)
    2) oracleasm-support- utilities needed to administer ASMLib (oracleasm-support-2.1.3-1.SLE11.x86_64.rpm)
    I am unable to find the third package.
    3) Oracleasm - a kernel module for the ASM library
    I looked at my kernel version it says "2.6.27.19-5-default". I am not sure where I can get the above third package. If you have an answer/know ase share your thoughts.
    Thank You

    Hi!
    Don't use ASMLib, it will be no longer available, it will only came in Oracle Unbreakable Kernel for Linux 6.
    The easly way to set the permissions on your devices is with a /etc/init.d script that do the job.
    Here is an example:
    #! /bin/bash
    # chkconfig: 2345 25 19
    # description: Set ASM Permissions on to devices at boot.
    case "$1" in
    start)
    /bin/chown oracle:oinstall /dev/sdb1
    /bin/chmod 0660 /dev/sdb1
    stop)
    #do nothing
    status)
    ls -l /dev/sdb1
    echo "Usage: $0 {start|stop|status}"
    exit 1
    esac
    exit o
    You need to replace the /dev/sdb1 for your acctual partitions.
    Please check the Docs to be sure that you meet all pre-reqs.
    http://docs.oracle.com/cd/E11882_01/relnotes.112/e23558/toc.htm
    http://docs.oracle.com/cd/E11882_01/install.112/e22489/toc.htm
    http://docs.oracle.com/cd/E11882_01/install.112/e24321/toc.htm
    Hope it's helps.
    Best Regards,
    Julio

  • Need Help with Set

    folks
    I have the following code
    Set siteIds=upb.getSiteIDs();
    StringBuffer sb = new StringBuffer();
    for(Iterator it=siteIds.iterator();it.hasNext();){
    sb.append(it.next());
    if(it.hasNext())
    sb.append(",");
    As it returns multiple Site Id's with (,) comma separated, Now i need to pick only the first Site Id from this Set, I appreciate if any one helps me out
    thanks
    mathew

    When you post code, please use [code] and [/code] tags as described in Formatting Help on the message entry page. It makes it much easier to read and prevents accidental markup from array indices like [i].

Maybe you are looking for

  • HT1473 How can I add an album to itunes so it stays as an album?

    I have an album. On the album are 12 tracks. The album has already been ripped to my hard drive and lives in a single folder,. When I 'add folder' to itunes, it gives me a convert from WMA message (fine) and starts the transfer.  My album arrives in

  • BBM not working correctly it's to slow

    Hi! need help my BBM is very slow.. when i write to somebody the messages stays in message is being sent and it takes a wile for the contact to receive it. I try to uninstall BBM  but it does't work, I try deleting it and it does't work either. Need

  • How do you migrate ThinkVanta​ge Location Profiles to a new T500 ?

    I copied my old ThinkPad R60 to a USB drive and want to bring over the ones I had to my new T500. Where can I find those and where do I put them on my new machine? The old unit has been cleared and reloaded for a new user.

  • Triggers in a database

    Hi, How to find what are all the user defined triggers present in a database? Thanks Aravindh

  • FM9 - RH8 wrong format import

    Hello, I have a big document in FM9 with hyperlinks. The hyperlinks are visible through a special character design (blue with underline). After importing in RH8 the text after the hyperlink until the next linebreak is also blue and underlined. Are th