NetBeans 5.5 and the resulted jar

hi all,
i am facing a strange problem .. i developed my project using NetBeans 5.5 and hence a jar file abc.jar is also created.
Now whenever i run this jar by double clicking it shows me error that
Couldnot find the main class . Programm will exit
but if i run that jar using java - jar abc.jar , all works fine ...
Now wat should i do to enabling this jar file to run on double click .. ???
I also have some other jar files of my previous projects ( which i built using jar cfm ...) which work fine while double clicking ..
Regards,
binmehar

yeah i have alrady set the main class in the properties window of the project ...
but to my surprise its running perfectly using ...
java -jar abc.jar ..
any help more ???

Similar Messages

  • Hello Anybody, I have a question. Can any of you please suggest me how to make an xml file from the database table with all the rows? Note:- I am having the XSD Schema file and the resulted XML file should be in that XSD format only.

    Hello Anybody, I have a question. Can any of you please suggest me how to make an xml file from the database table with all the records?
    Note:- I am having the XSD Schema file and the resulted XML file should be in that XSD format only.

    The Oracle documentation has a good overview of the options available
    Generating XML Data from the Database
    Without knowing your version, I just picked 11.2, so you made need to look for that chapter in the documentation for your version to find applicable information.
    You can also find some information in XML DB FAQ

  • In Indesign CS6 I export an artboard to  TIFF with the sdk's funtion SnapshotUtilsEx- ExportImageToTIFF(iStream) and, the resulting file is one pixel too large in the X, leaving a transparent strip on one edge. Any idea if there is a bug in the sdk?

    In Indesign CS6 I export an artboard to  TIFF with the sdk's funtion SnapshotUtilsEx->ExportImageToTIFF(iStream) and, the resulting file is one pixel too large in the X, leaving a transparent strip on one edge. Any idea if there is a bug in the sdk?

    An easy example to prove this bug of Indesing CS6:  I create a psd with Photoshop CS6, with width 505 pixels, height 317 pixels and a resolution of 300 pixels per inch. This psd is placed on a page in InDesign CS6. Then I try to export it as a tiff with the functions:
    fSnapshotUtilsEx->Draw(flags,fullResolutionGraphics,greekBelowPtSize,enableAntiAliasing,tr ansparencyQuality,abortCheck,pVPAttrMap,bDrawNonPrintingObjects);
    and
    SnapshotUtilsEx-> ExportImageToTIFF (iStream)
    The resulting tiff has a width of 506 pixels (one pixel more in width). It will happen the same if we start with a width of 507 pixels, etc.
    This error does not occur with Indesign CS5, nor Indesing CC.

  • Had a Search Criteria and the result as table in header.Wanted to bind the result table to bean for the key value access

      Had Search Criteria and the result is displayed in the table in a panel header .  I want to get the selected  row value and parse the value to next Vo in next page for a bind variable . So i need to handle the  tbale value by biniding to the bean , but there was no option to bind the table for a bean.So how can i get the value selected .
    Regards,
    K M Krishna.

    First of all tell us your jdev version, please.
    to get to the selected row you don't need to bind the table to a managed bean. You can e.g. drag the needed attributes from the VO onto the page and drop them as inputText components. the Framework then generated the attribute bindings and sets the values of the current row to them. As you don't really need the inputText components switch to source mode (!this is essential!) and remove them. This will remove the visual component but the attribute bindings are kept.
    Know you can access the values via their EL or like you get the value from an attribute via it's binding.
    Timo

  • I tried to update my nephew iphone 4 version 4.3.4 (8k2), I did back-up everything before attempting to update and the result when I click down-load and update, it does not update instead it says,  itunes could not contact the iphone software update etc.

    Hi to all,
    I tried to update my nephew iphone 4 version 4.3.4 (8k2), I did back-up everything before attempting to update and the result when I click down-load and update, it does not update instead it says,  itunes could not contact the iphone software update server because you are not connected to the internet. I did check my wire-less connections and the connection from my PC to wire-less is hundred percent okay. I did search using google.com to confirm and my connections is good. Is there any problem regardings my firewalls or any help will be appreciated. Thanks

    Hi bosefire,
    Thanks for visiting Apple Support Communities.
    You can use the steps in this article to troubleshoot your iTunes connection:
    Can't connect to the iTunes Store
    http://support.apple.com/kb/TS1368
    Regards,
    Jeremy

  • Hello. My iphone 4, iOS 6.1.3 gone wild....everything is going in slow motion, every app i open is running in frames...i tried reseting the handset, with back-up, without backup(as a new iPhone) and the result is the same. Help ! Apple? Anybody ?

    Hello. My iphone 4, iOS 6.1.3 gone wild....everything is going in slow motion, every app i open is running in frames...i tried reseting the handset, with back-up, without backup(as a new iPhone) and the result is the same. My battery percentage is going down down down only by looking at my phone, imess is making me crazy, after i write the name for the recipient the keyboard appears after 2 min...and the list is looooong...everything is gone wild ! Why? What can i do ?

    I'm having similar issues just lately. The phone itself is very slow to respond to the touch, just scrolling between home screens is a chore at times. There have been about 2 incidents of random vibration from it. Closing home screen folders takes a couple of attempts. I find that I'm also having delayed keyboard responses when typing messages to my contacts.
    Also, sometimes when I press the sleep/wake button it takes about 30 seconds to register it and actually lock or wake up.
    Have you experienced the backlight failing to light up? Like if I get a message it flashes up then goes black straight after and when you press the sleep/wake or home button it lights up again but very very dimly and you have to press the sleep/wake button as if locking it and then press it again to bring the screen up properly?
    Mine is also on 6.1.3(10B329), model MD245B/A, obviously not Jailbroken, carrier unlocked from Vodafone (but that was months and months ago). Roughly 17gb of storage space left.
    This has only started happening in the last 2 weeks. Haven't tried the reset or anything yet though.

  • HT5621 I am having trouble with my Apple ID and AppStore Here are the steps I have taken and the results: 1.     Changed my Apple ID with new email address. 2.     Changed my iCloud with above new email address. 3.     NOW - Apple ID appears correct in Ap

    I am having trouble with my Apple ID and AppStore
    Here are the steps I have taken and the results:
    Changed my Apple ID with new email address.
    Changed my iCloud with above new email address.
    NOW - Apple ID appears correct in AppStore Settings, iCloud and AppStore*
    If I scroll to bottom of screen in *App Store/Featured, I can see that the Apple ID is my new email.
    Upon “updating” Apple ID reflects OLD email.
    Deleted accounts, re-added accounts.
    Signed out and signed in with new UN/Email
    Issue remains the same.

    To migrate your data to a new iCloud account go to Settings>iCloud and turn off all synced data (contacts, calendars, etc.), when prompted choose to keep the data on your phone.  After everything is set to off, scroll to the bottom and tap Delete Account.  Next, create the new iCloud account on your phone and turn on syncing for contacts, calendars, etc again.  If prompted, choose Merge.  This will upload your data to the new iCloud account.

  • This is what I looked up. did, and the results.

    This is what I looked up. did, and the results.
    HKEY_LOCAL_MACHINE\Software\Classes\Wow6432Node\CLSID\(601ED020-FB6C-11D3-87D8-0050DA59922B))\InpocServer32\E:\Utilz\WS_FTP95\wsbh02k0.dll
    HKEY_LOCAL_MACHINE\Software\Classes\Wow6432Node\CLSID\(B5326945-FC55-11D3-87D8-0050DA59922B)\InpocServer32\E:\Utilz\WS_FTP95\wsbh02k0.dll
    HKEY_LOCAL_MACHINE\Software\Classes\Wow6432Node\CLSID\(601ED012-FB6C-11D8-0050DA59922B)\1.0\0\Win32\E:\Utilz\WS_FTP95\wsbh02k0.dll
    HKEY_LOCAL_MACHINE\Software\Classes\Wow6432Node\CLSID\(601ED020-FB6C-11D8-0050DA59922B)\InprocServer32\E:\Utilz\WS_FTP95\wsbh02k0.dll
    HKEY_LOCAL_MACHINE\Software\Classes\Wow6432Node\CLSID\(B5326985-FC55-11D3-87D8-0050DA59922B)\InpocServer32\E:\Utilz\WS_FTP95\wsbh02k0.dll
    HKEY_LOCAL_MACHINE\Software\Classes\Wow6432Node\CLSID\(601ED012-FB6C-87D8-0050DA59922B)\1.0\0\Win32\E:\Utilz\WS_FTP95\wsbh02k0.dll
    HKEY_LOCAL_MACHINE\Software\Classes\Wow6432Node\CLSID\(601ED020-FB6C-87D8-0050DA59922B)\InpocServer32\E:\Utilz\WS_FTP95\wsbh02k0.dll
    HKEY_USERS_5-1-5-21-1972086658-3452135462-417872613-100\Software\WinRAR\ArcHistory\0) E:\Utiz\WS_FTP95\E:\Utilz\WS_FTP95\wsbh02k0.dll
    HKEY_USERS_5-1-5-21-1972086658-3452135462-417872613-100\Software\WinRAR\ArcHistory\0) E:\Utiz\WS_FTP95\ExtraPath\E:\Utilz\WS_FTP95\wsbh02k0.dll
    Firefox Reinstall BackupBookmarks-2012-09-11.LDIF
    Dialog box: Imported data for Record: 1
    Box checked for First record contains field names.
    Imported address book AddressBook.ldif
    I clicked on [Finish]
    There are:
    Personal Address Book
    FireFoxReinstallBackupBookmarks-2012-09-11 *1
    Collected Addresses
    *1 Where are these?

    Find your profile with Help → Troubleshooting from the menu or [≡] button, click on "Profile Folder: [Show Folder]" there. Your address books are in '''abook.mab''' and '''history.mab'''.
    If Thunderbird has created a new profile and it's empty, go back one folder level to "Profiles" and find the other one. You can copy the ".mab" files over to the new profile ''after shutting down Thunderbird'' and they should be picked up.
    Also see [http://kb.mozillazine.org/Transferring_data_to_a_new_profile_-_Thunderbird this article] if you need to manually move additional items from the previous/broken profile.

  • Formula to calculate SUM of multiple sheets of excel and the result to be stored in another excel sheet and pop up alerts for multiple rows

    I have a excel with multiple
         sheets with data as shown below
    SHEET 1
    A 1
    B 2
    C 3
    SHEET 2
    B 1
    C 2
    A 3
    SHEET 3
    C 1
    A 2
    B 3
    My
    query is splitted into 3 categories
    I want to have a formula to do math calculation such that data of "A" of SHEET 1 is  calculated with "A" of SHEET2 irrespective of the location of "A".
    When I include SHEET3, the formula should automatically identify the location of "A" or "B" or "C" and give the result corresponding to A, B or C. Since I want to bifurcate daily report and output printed. I want to use another
    excel for output. How to link multiple sheets of one excel and print the output of above in
         another excel?
    Assume, I have 4 SHEETS,  "SHEET 1", "SHEET 2", "SHEET 3" and "SHEET 4". Math calculation need to be done using all 4 sheets. If
    I include "SHEET 5", the formula should ignore SHEET 1  automatically and give the results of SHEETS 2 to 5. Similarly, if I include SHEET 6, SHEET 1 and 2 need to be ignored for further calculation and SHEET 3-6 need to be used. How to write
    such formula?
    How to get pop up alert for multiple rows, if a specific condition is hit?

    Maybe VBA Code should be a good option for you. I suggest you post you issue to
    Excel for Developers forum.
    The reason why we recommend posting appropriately is you will get the most qualified pool of respondents, and other partners who read the forums regularly can either share their knowledge or learn from your interaction with us.
    Thanks for your understanding.
    Best Regards,
    Wind

  • I am using the database connectivity toolkit to retrieve data using a SQL query. The database has 1 million records, I am retrieving 4000 records from the database and the results are taking too long to get, is there any way of speeding it up?

    I am using the "fetch all" vi to do this, but it is retrieving one record at a time, (if you examine the block diagram) How can i retrieve all records in a faster more efficient manner?

    If this isn't faster than your previous method, then I think you found the wrong example. If you have the Database Connectivity Toolkit installed, then go to the LabVIEW Help menu and select "Find Examples". It defaults to searching for tasks, so open the "Communicating with External Applications" and "Databases" and open the Read All Data. The List Column names just gives the correct header to the resulting table and is a fast operation. That's not what you are supposed to be looking at ... it's the DBTools Select All Data subVI that is the important one. If you open it and look at its diagram, you'll see that it uses a completely different set of ADO methods and properties to retrieve all the data.

  • Submit a transaction O4B1 via job and the result as an attachment Excel

    Hi, I'm executing a program in background via job to get back the result of a report as an attachment XLS on mail. the result of my program give me just title of Excel columns , but when i execute it manually , the result is perfect.
    my code is : ******************************FORM MAIL******************************* FORM mail. CONCATENATE 'Expédition' 'TExp' 'PtOT' 'Crée' 'Crée le' 'St.' 'Déb. chargt' 'Désignation' 'Div.' 'Doc. vente' 'Réceptionnaire' 'Nom1' 'Nom2' 'Volume' 'UQ' INTO it_mess_att SEPARATED BY con_tab. CONCATENATE con_cret it_mess_att INTO it_mess_att. APPEND it_mess_att. CONCATENATE SPACE SPACE INTO it_mess_att SEPARATED BY con_tab. CONCATENATE con_cret it_mess_att INTO it_mess_att. APPEND it_mess_att. *CLEAR it_mess_att. LOOP AT it_tab into wa_tab. *VAL = it_tab-ZQTEMAX. CONCATENATE wa_tab-SHNUMBER wa_tab-SHTYPE wa_tab-TPLST wa_tab-CRE_NAME wa_tab-CRE_DATE wa_tab-OIG_SSTSF wa_tab-LOAD_STDTA wa_tab-VMODE_TEXT wa_tab-WERKS wa_tab-VBELN wa_tab-KUNNR wa_tab-NAME1 wa_tab-CARRIER_DE wa_tab-WGT_UOM INTO it_mess_att SEPARATED BY con_tab. CONCATENATE con_cret it_mess_att INTO it_mess_att. APPEND it_mess_att. *CLEAR it_mess_att. ENDLOOP. ENDFORM. *************************FORM SEND_MAIL******************************* FORM send_mail . DATA: send_request TYPE REF TO cl_bcs, document TYPE REF TO cl_document_bcs, recipient TYPE REF TO cl_cam_address_bcs, bcs_exception TYPE REF TO cx_bcs, sent_to_all TYPE os_boolean, lt_fields TYPE TABLE OF w3fields, lt_html TYPE TABLE OF w3html. DATA: ld_error TYPE sy-subrc, ld_reciever TYPE sy-subrc, ld_mtitle LIKE sodocchgi1-obj_descr, ld_email LIKE somlreci1-receiver, ld_format TYPE so_obj_tp , ld_attdescription TYPE sopcklsti1-obj_descr, ld_attfilename TYPE so_obj_des , ld_sender_address LIKE soextreci1-receiver, ld_sender_address_type LIKE soextreci1-adr_typ, ld_receiver LIKE sy-subrc. DATA: t_packing_list LIKE sopcklsti1 OCCURS 0 WITH HEADER LINE, t_contents LIKE solisti1 OCCURS 0 WITH HEADER LINE, t_receivers LIKE somlreci1 OCCURS 0 WITH HEADER LINE, t_attachment LIKE solisti1 OCCURS 0 WITH HEADER LINE, t_object_header LIKE solisti1 OCCURS 0 WITH HEADER LINE, w_cnt TYPE i, w_sent_all(1) TYPE c, w_doc_data LIKE sodocchgi1. *MOVE p_email TO mailid. ***************ADD ADRESS MAIL************** p_email1-RECEIVER = mail . append p_email1. ********************************************* ld_email = mail. ld_mtitle = gd_attachment_desc. ld_format = 'XLS'. * ld_attdescription = gd_attachment_desc. ld_attdescription = 'Liste expéditions PN'. CONCATENATE ld_attdescription '.XLS' INTO ld_attfilename. * ld_attfilename = p_filename. ld_sender_address = w_sender. ld_sender_address_type = 'INT'. * Fill the document data. w_doc_data-doc_size = 1. * Populate the subject/generic message attributes w_doc_data-obj_langu = sy-langu. w_doc_data-obj_name = 'SAPRPT'. w_doc_data-obj_descr = ld_mtitle . w_doc_data-sensitivty = 'F'. * Fill the document data and get size of attachment CLEAR w_doc_data. READ TABLE it_mess_att INDEX 1. w_doc_data-doc_size = ( w_cnt - 1 ) * 255 + STRLEN( it_mess_att ). w_doc_data-obj_langu = sy-langu. w_doc_data-obj_name = 'SAPRPT'. w_doc_data-obj_descr = gd_attachment_desc. w_doc_data-sensitivty = 'F'. CLEAR t_attachment. REFRESH t_attachment. * t_attachment[] = it_attach[] . * Describe the body of the message clear t_packing_list. REFRESH t_packing_list. t_packing_list-transf_bin = space. t_packing_list-head_start = 1. t_packing_list-head_num = 0. t_packing_list-body_start = 1. DESCRIBE TABLE it_mess_bod LINES t_packing_list-body_num. t_packing_list-doc_type = 'RAW'. APPEND t_packing_list. * Create attachment notification t_packing_list-transf_bin = 'X'. t_packing_list-head_start = 1. t_packing_list-head_num = 1. t_packing_list-body_start = 1. DESCRIBE TABLE it_mess_att LINES t_packing_list-body_num. t_packing_list-doc_type = ld_format. t_packing_list-obj_descr = ld_attdescription. t_packing_list-obj_name = ld_attfilename. t_packing_list-doc_size = t_packing_list-body_num * 255. APPEND t_packing_list. * Add the recipients email address CLEAR t_receivers. REFRESH t_receivers. loop at p_email1. t_receivers-receiver = p_email1-receiver. t_receivers-rec_type = 'U'. t_receivers-com_type = 'INT'. t_receivers-notif_del = 'X'. t_receivers-notif_ndel = 'X'. APPEND t_receivers. endloop. CALL FUNCTION 'SO_DOCUMENT_SEND_API1' EXPORTING document_data = w_doc_data put_in_outbox = 'X' sender_address = ld_sender_address sender_address_type = ld_sender_address_type commit_work = 'X' IMPORTING sent_to_all = w_sent_all TABLES packing_list = t_packing_list contents_bin = it_mess_att contents_txt = it_mess_bod receivers = t_receivers EXCEPTIONS too_many_receivers = 1 document_not_sent = 2 document_type_not_exist = 3 operation_no_authorization = 4 parameter_error = 5 x_error = 6 enqueue_error = 7 OTHERS = 8. * Populate zerror return code ld_error = sy-subrc. * Populate zreceiver return code LOOP AT t_receivers. ld_receiver = t_receivers-retrn_code. ENDLOOP. WAIT UP TO 5 SECONDS. SUBMIT rsconn01 WITH mode = 'INT' WITH output = 'X' AND RETURN. ENDFORM. " send_mail

    good answer

  • Hinted streaming, fast start and the results.

    Hi,
    I put some clips onto a website recently, some were 5 min movies. I was pleased with the results, as the movies started almost immediately on several computers I tried.
    Unfortunately, the client had to wait over 4 min to see the video. My video was compressed with hinted streaming.
    So of course 4 min. seems like they downloaded the whole video before it started.
    I have a web guy looking into if perhaps this could be a server issue with the customer, but I wanted to check if anyone has some insight to this.
    I personally am not really clear on the "hinted vs faststart"
    Thanks
    Jeff

    Hinted steaming is for streaming videos like the Apple's VideoKeynote presentations. For Example:
    http://www.apple.com/quicktime/guide/appleevents/
    Fast start is for progressive download of the video. For example:
    http://www.apple.com/getamac/ads/
    I have feeling your server is not a streaming server so you need fast start/progressive videos. A fast start video will begin to play after a few seconds while the video is being downloaded into the browser.
    Open all your videos in Quicktime. Do a SAVE AS and save each video to a new folder. Doing this will activate (place back) the fast start in each video.
    Send one video to the server for a test. Make sure your html embed code for the video has AutoPlay set to true.
    (Steaming servers aren't cheap. If you click on the keynote presentation you'll notice that you can jump to anywhere in the video without having to wait for the video to load. Streaming videos don't download to you browser/computer, they stay on the server. Fast start/Progressive video download to you bowser/computer. Also streaming videos are one way to discourage people from downloading the videos. The only way to capture a streaming video is to use a screen capture program, Quicktime X has this capability.)

  • Overuse of Exceptions? (and the resulting performance)

    I seem to have developed the bad habit of putting way too many exceptions. I've read somewhere that, especially on Mobile, misuse of exceptions can cause significant performance decrease. Is this true?
    Basically, I have a certain hierarchy of functions and when in the lower functions I may be doing a try-catch , the result of which throws the exception upward. Like this:
    void topFunction(){
        try{middleFunction();}
        catch(Exception e){System.out.println("Error " + e);}
    void middleFunction() throws Exception{
       lowerFunction();
    void lowerFunction () throws Exception{
        try{ //something }
        catch(Exception e){throw new Exception("in lowerFunction:"+ e);}
    }Is this horribly wrong? I'm trying to create a kind of custom stack trace, I guess, but I suppose if this is a bad idea I can remove it. I've noticed that a large majority of my functions use "throws Exception" and I'd very much like to know how more experience developers implement graceful error handling otherwise.
    Thanks in advance for any advice.

    Not a very timely answer, however I had a similar problem and found this solution in case anyone else needs to do this.
    Set the system property: sun.awt.exception.handler to the full name of
    your own class defines as follows:
    public class MyAWTExceptionHandler {
       public MyAWTExceptionHandler() {}
       public void handle(Throwable t) {
          // do whatever you like with the exception here...
          t.printStackTrace();

  • I updated FCPX to 10.9 after I had updated my os to 10.9.1. And the result is that FCPx can no longer read LaCie external hard drive where all the projects and events are stored. The program simply crashes every time I try to read anything from the LaCie.

    Could anyone tell me what to do to solve the problem. I updated FCPX to 10.9 and the program keeps on crash every time I try to read files stored in my LaCie hard drive. And the program also keeps on crash every time I try to import files from my SDXC cards.

    I have solved the problem. Once the update is done, you need to launch FCPX, and go to File, then "update all events and projects". It will solve the problem and everything works fine.

  • The same Exchange ActiveSync profile is applied to an iPhone and an iPad and the result is different?

    We have an Iphone (IOS7) and  IPad (IOS7). I apply the same profile Exchange to my two devices. The profile has been configured and applied through the Configuration Utility from Apple. After that, there is a difference. I do not have the same result about automatic Lock setting. On the Iphone, the configuration is available and I can choose the length of time before the lock of device. On the iPad, the option is grayed out and not accessible. It’s impossible to make a change on the IPAD. Why the same profile configuration Exchange does not give the same result on the Iphone and Ipad?

    It appears the iphone and ipad in IOS6 or IOS7 have separate auto lock timeout setting options. On an Ipad I have 2, 5, 10, 15 and Never. On an Iphone I have 1, 2, 3, 4, 5 and Never.
    So, when a policy is applied by Exchange. If only 3 minutes maximun to locked equipment, Apple will gray out the option when only one choice of 2 minutes is available on an iPad.

Maybe you are looking for

  • Show additional tab in Cprojects

    Hi,     I have created a custom Webdypro ABAP component to add a new tab in cProject Component(DPR_MAINFRAME).     In my webdynpro component i have implemented the standard interface DPR_CUST_EXT_INTF.     In view i have created a tab and inside the

  • Having problem with Unable to find "Adobe PDF" resource files

    Hello I have Adobe Acrobat XI PRO (11.0.05) and using MS Office 2010 on my Windows XP SP3. I've read about this issue. "Unable to find PDFMaker resource files error shows up for Microsoft Word when Acrobat XI is installed with Acrobat X Standard alre

  • Temps causing problems? 24" iMac, mid-2007

    I have an iMac that started having possible heat issues about 3-4 months ago. After it boots up or wakes up from being asleep, within a few minutes, the CPU fan will slowly speed up to around 3300 rpm and stay there the entire time the computer is ru

  • Syncing Skype: How does it work?

    Hey guys, I'm running Skype on my Mac, but I'm about to install Skype on my Windows 8 PC. Before I login to my Skype account on my Windows 8 PC I just wanted to know where my 'Favorite Contacts' and 'Renamed Contacts' are located. If I login on my Wi

  • Masking of Password

    Hi,   Is there any option to mask the password entered in the Selection screen with a special character like '*'.