Opening a file (hst), executes the main jar file to open the hst file HELP

Greetings,
I have created a file with an extension *.hst, so in my Win XP computer, when I double click a .hst file, it should be opened in my program, which is a jar file, so during the installation I associate my program to this .hst file extension.
After all this, when I double click this .hst file, it shows an error message that the jar file is not a vaid win32 application. I donot wish to convert my file to an .exe. Help ?
Cheers,
Raj

How did you specify command line for your .hst file?
It should be something like "java -classpath
[youfile.jar] [youclass] %1"I have not specified command line for the .hst file.
The .hst file is just a file that is created when my main program (jar file) saves its files., later If I double click this saved hst file, it should be opened in the main jar program.
For the double click to work, I have created a constructor
public hst(String hstfile)
   //code to set the file contents in the window.
}the problem is that when I double click it says that the main jar file is not a valid win32 application, so what do I do ?
Cheers,
Raj

Similar Messages

  • I open iWeb but the main window doesn't open/appear on screen. The little windows like the inspector and font windows appear. Can anyone help?

    I open iWeb but the main window doesn't open/appear on screen. The little windows like the inspector and font windows appear. Can anyone help?

    Try the following:
    1 - delete the iWeb preference file, com.apple.iWeb.plist, that resides in your
         User/Home/Library/ Preferences folder.
    2 - delete iWeb's cache file, Cache.db, that is located in your
    User/Home/Library/Caches/com.apple.iWeb folder (Snow Leopard and Earlier).
    3 - launch iWeb and try again.
    NOTE:  In Lion and Mountain Lion the Library folder is now invisible. To make it permanently visible enter the following in the Terminal application window: chflags nohidden ~/Library and hit the Enter button - 10.7: Un-hide the User Library folder.
    OT

  • Is it possible to enter a serial number in the main sequence, instead of in the "Pre UUT"?

    Hello!
    Is it possible to enter a serial number in the main sequence, instead of in the "Pre UUT"?
    I still want the serial number in the Report.
    I also want the serial number as file name of the report.

    You can enter the serial number in the main sequence instead ot the "Pre UUT" but there is no reason to do that.
    if you still like to input serial number in your sequence You will need to make sure that you update the variable in the process model which stores the serial number ie. RunState.Caller.Locals.UUT.SerialNumber
    This is used to generate the report.
    the report can also contain the serial number of the uut if you select "New file for Each UUT" under Configure-Report options and in the "Report File name path"
    The format of the name of the report will be
    [123].txt
    "123" was the serial number which I entered.
    If you are not happy about the name of the file you can replace Locals.ReportFilePath to contain the right name using a statement step in the process mode
    l. If you using the default process model please make sure that you add the statement step after "Determine Report File Path" step in the Process Model.

  • Is there a way of just changing the text to the main menu..but not the submenus?

    Is there a way of just changing the text to the main
    menu..but not the submenus?
    Also i have looked at in the browser and when i glide over
    the menu catergories or click on them they dont show the
    submenu...what can i do to solve this?

    Does the example described at
    http://labs.adobe.com/technologies/spry/articles/menu_bar/index.html
    work for you?
    What are you doing that's different from the example?
    When you say you just want to change the text of the main
    menu without changing the submenus, do you mean you want to do so
    dynamically, at some later stage after the page has loaded?
    If so, you could try retrieving the main menu elements you
    want to update from the DOM and updating them from your script's
    event handler for whatever event it is that you want to update them
    in response to. This presumes the widget will detect this and
    update appropriately, which I can't say for sure since I haven't
    actually tried it.
    Hope that helps!
    Rob

  • I cannot see my itunes library on the main menu under computers despite the network being active and the home sharing on on both the devices the mac and apple tv. Any ideas?

    I cannot see my itunes library on the main menu under computers despite the network being active and the home sharing on on both the devices the mac and apple tv. Any ideas?

    Hi Monty,
    Sorry to say it, but this is normal for Apple TVs. I've owned a TV2 and a TV3, and neither lasted for an entire year. They are quite fragile and of low quality, and as you can see here, quite fussy even when they work. The wi-fi receiver on these are cheap and unreliable.
    Consider the $99 an annual rental fee. They rarely work for a whole year, so if you are going to use the platform, you will have to replace them constantly.
    Also, when one dies under warranty, never, never send it to Apple for repair. Go to the Apple Store for replacement. I sent my ATV3 in for warranty repair using a box sent to me by Apple, and although FedEx tracking showed it was accepted by Apple, it was never seen again. Apple won't replace it or even return my calls.

  • DW template - why is the main content div lower than the columns?

    I'm looking to use the DW template with 3 columns, a header and footer and have a couple of queries:
    There is a gap between the header div and the main content div which does not appear to be a margin or padding.  Why is the gap there?
    Is it possible to remove this gap and have the main content div flush against the header div (like the 2 side bar divs)?

    I don't have access to CS4 so cannot really determine what might be causing the gap.  My suspicion, however, is that it's an escaping margin that is pushing the two divs apart.  Try this - run a 1px solid border along the top of the main content div, e.g.,
    div.content {
         border-top:1px solid white;
    Does that gap go away with the border in place?  If so, then the top margin on the first child of that div is the culprit. The first child in that content div is usually an H1 tag.

  • I am running Windows XP, SP3. I have tried to run Firefox 4 several times but it doesn't work properly. The main page comes up showing the logo, below that is the search box, and below that is another box with nothing in it.

    I am running Windows XP, SP3. I have tried to run Firefox 4 several times but it doesn't work properly. The main page comes up showing the logo, below that is the search box, and below that is another box with nothing in it.

    The external DVD/CD Writer will Not appear on your desktop when you attach it to your iMac.  It will appear in "Finder", which is in your Dock.
    Hope this helps

  • Runtime.exec() ... executing a java jar from within an NT command file

    Hello,
    I spent the better part of yesterday seeking insight to this with little success. So I hope someone here can direct me in a productive direction.
    I set-up my runtime.exec in a manner similar to the article on javaworld.com which is often referred to here, with two threads to empty the output and error streams of the NT command file I am executing.
    The command file works perfectly from the command line.
    I am currently attempting to build a gui which will automate regression testing for another application. This requires third party software to be running prior to the execution of the test suite. This third party software is started using an NT command file. The command file sets up an environment (classpath, server flags, etc.) and then executes a jar file. When this command file is run from my Gui, the output is identical to the command being run from the command line. Then when the jar file is to be executed, the command file output shows a "file not found" error, but only when executed from my Gui.
    My call to runtime exec looks like this.
    cmdString = new String("commandtoexecute");
    fileLoc = new String("Fully qualified path to command file");
    String [] envp = new String[0];
    testProcess = Runtime.getRuntime().exec(cmdString, envp, fileLoc);
    // some code to process the output streams of testProcess
    Other Info:
    Gui currently executed within Eclipse IDE
    BEA WebLogic is the third party software

    First, my app has the requirement of allowing the user to start WebLogic if it is not already running.Unfortunately, I can't change the requirement.
    But I would say that in a production environment WebLogic should always be running.
    I guess it's an assumption that I'd make a priori. You're jumping through too many hoops to accomplish something that is better solved with a phone call to the server admin: "Please start the WebLogic service."
    .... Side question ... any recommendations on detecting if it is already running? grin
    Yes, call the server admin and ask why you can't have 99.999% availability of a critical resource.
    Second, development is on a hardened system (i.e. very
    long time getting approval for additional software on
    the system).Cactus and JUnit are both open source. No fees involved. If you can install a JAR, you can use these tools.
    Better yet, you can drive them automatically as part of your Ant build process. A GUI implies a person in front of it to start and monitor the tests. JUnit and Ant are all about automating these things so they're run every time you rebuild and redeploy the code. You get XML reports on test results that are displayable in a browser. You can even e-mail the test summary to all developers so they can see if a test broke the build. If a test breaks, you don't deploy. That's the way to go, IMO.
    When you have a working Ant build.xml, the next step is to automate the build completely using a tool like ThoughtWorks' CruiseControl.
    Thank you for you suggestions though. I will read up on Cactus to see if it could help me here.You're welcome. Good luck. Sorry that I'm not more help.

  • When opening a page, FF sometimes hangs for several minutes, the main thread consuming 100% of the running core

    I've not been able to detect a pattern of occurrence. It just happened now when I opened this page
    http://www.pcinpact.com/actu/news/66460-amd-catalyst-rage-vsync-opengl.htm
    soon after starting FireFox (which loaded the dozen tabs - in two windows - of my current session).
    Here is the stack of the main thread, as shown in Process Explorer :
    ntdll.dll!ZwQueryDirectoryFile+0xa
    wow64.dll!Wow64EmulateAtlThunk+0x8c77
    wow64.dll!Wow64SystemServiceEx+0xd7
    wow64cpu.dll!TurboDispatchJumpAddressEnd+0x2d
    wow64.dll!Wow64SystemServiceEx+0x1ce
    wow64.dll!Wow64LdrpInitialize+0x429
    ntdll.dll!RtlUniform+0x6e6
    ntdll.dll!RtlCreateTagHeap+0xa7
    ntdll.dll!LdrInitializeThunk+0xe
    ntdll.dll!NtQueryDirectoryFile+0x12
    xul.dll!??0Layer@layers@mozilla@@IAE@PAVLayerManager@12@PAX@Z+0x1589
    xul.dll!NS_NewLocalFile_P+0xb536
    xul.dll!?AccumulateMetricsForRun@gfxTextRun@@AAEXPAVgfxFont@@IIW4BoundingBoxType@2@PAVgfxContext@@PAVPropertyProvider@1@IIPAURunMetrics@2@@Z+0xdc07
    xul.dll!?AccumulateMetricsForRun@gfxTextRun@@AAEXPAVgfxFont@@IIW4BoundingBoxType@2@PAVgfxContext@@PAVPropertyProvider@1@IIPAURunMetrics@2@@Z+0xf951
    xul.dll!?Stroke@gfxContext@@QAEXXZ+0x2ad
    xul.dll!?Stroke@gfxContext@@QAEXXZ+0x9ab
    xul.dll!NS_InvokeByIndex_P+0x72f99
    xul.dll!?SanitizeMetrics@gfxFont@@IAEXPAUMetrics@1@H@Z+0x1048
    xul.dll!?Paint@gfxAlphaBoxBlur@@QAEXPAVgfxContext@@ABUgfxPoint@@@Z+0x2e2
    xul.dll!?ReleaseTextRun@gfxTextRunCache@@SAXPAVgfxTextRun@@@Z+0x4f6
    xul.dll!?TransformToNativeRect@gfxWindowsNativeDrawing@@QAEXABUgfxRect@@AAUtagRECT@@@Z+0x13c
    xul.dll!??0ImageContainerOGL@layers@mozilla@@QAE@PAVLayerManagerOGL@12@@Z+0x1318
    xul.dll!??0ImageContainerOGL@layers@mozilla@@QAE@PAVLayerManagerOGL@12@@Z+0x142c
    xul.dll!??0gfxSkipCharsIterator@@QAE@ABV0@@Z+0x85a
    xul.dll!??0ImageContainerOGL@layers@mozilla@@QAE@PAVLayerManagerOGL@12@@Z+0x1444
    xul.dll!??0gfxSkipCharsIterator@@QAE@ABV0@@Z+0x85a
    xul.dll!??0ImageContainerOGL@layers@mozilla@@QAE@PAVLayerManagerOGL@12@@Z+0x1444
    xul.dll!??0gfxSkipCharsIterator@@QAE@ABV0@@Z+0x85a
    the last two functions are called recursively over 40 times...

    Today, I was able to open the older version of the template if I only viewed the code first.  So I was able to narrow it down to one change I had made.  I had changed:
    <link href="/css/960grid.css" rel="stylesheet" type="text/css">
    to:
    <link href="http://mydomain.com/css/960grid.css" rel="stylesheet" type="text/css">
    When I tried to save the document, Dreamweaver hanged.  The document opened fine with all of the other changes I had made, although it couldn't find the CSS files (I had moved the site to another root locally).
    This really looks like a bug in Dreamweaver to me.  I've seen CSS links like this in other people's websites, so it does look like valid CSS to me.  Is there a workaround for this?

  • HT1495 My ipod is not the main one when first opening the library

    I connected my daughters ipod touch so that I could download some tunes for her from my library onto hers.  Now when I contect my ipod and make a purchase its going into her ipod library and not mine.  How do I change it back to my ipod as the first library and place where new purchases go???

    The link I and Ingo provided included:
    1. Remove iTunes and related components from the Control Panel
    Use the Control Panel to uninstall iTunes and related software components in the following order and then restart your computer:
    iTunes
    QuickTime
    Apple Software Update
    Apple Mobile Device Support
    Bonjour
    Apple Application Support (iTunes 9 or later)
    Important: Uninstalling these components in a different order, or only uninstalling some of these components may have unintended affects.
    That is more than quicktime and iTunes.  Follow all the instruction in the link for removing and reinstalling the Apple software.

  • How to limit the size of the main window width according to the line items?

    Hi,
           In my requirement,I created one page with main window....Suppose say main window can accomodate 40 line items.
          I am getting 5 pages data.And in my last page ( ie 5'th page ) I will have only 20 line items.But for the remaing 20 line items,
         it showing empty area .I created widow with borders and one vertical line between the columns.....I created two columns.
         Please I dont want any horizontal lines between the line items but I created one vertical line between the columns..
           Any right help would be appreciated.
    Thanks,
    Chinnu
    Moderator message - Welcome to SCN.
    But duplicate posting is not allowed. If you have information you want to add to your post, you can edit it or post a follow up - Thread locked
    Edited by: Rob Burbank on Feb 19, 2010 12:17 PM

    One way is to periodically (say every week) create a new file to store the actions and then, when the space taken up by all the files is too large, delete the oldest one.
    You can also have your application periodically (say the first time you write to the file on any calendar day) check the size of the file and, when it gets too big, copy all of the actions in the file after a given time (presumably there is an associated timestamp with each action) to a new file. Then delete the old file.

  • Not having to refresh the data in the main report but only in the subreport

    Hi SAP,
    I have a report that uses a stored procedure in the main report and uses regular database tables in the subreport.  The data returned from the stored procedure reports information from the month-end database (a cutoff point from the previous month's numbers) while the subreport reports information from the live database.  This report gets run everyday to show the changes in numbers from the live database.  Obviously the numbers from the month-end database remainds static until the next month's cutoff database is created. 
    My problem is that everyday when I run the report, the data needs to refresh from both the stored procedure in the main report and the live database tables in the subreport.  How can I leave the data returned from the stored procedure static or as is without refreshing the stored procedure returned data and just have the subreport data refresh itself?  The stored procedure really puts a strain on the database and I would like to cut-out the time to process the report as well.  Does anyone have any ideas?
    Zack

    Hi Zack,
    Try the following under Report options.
    1. Clear the check box of "Verify Stored Procedures on First Refresh" in the Main report.
    2. Select the check box of "Verify on First Refresh" in  the sub report.
    Hope this helps.

  • How to stop to display the main report page header in the subreport!

    Hello all,
    I have an existed report that display the CR page header on every page of the report. Now I added another subreport into report footer without using link. How do I stop to display the main report page header and display the subreport in the new page with subreport header only? I really appreciate your time to help me out on this issue. Thanks.

    Hi,
    I tried to supress the page header with (onlastrecord and TotalpageCount > 1) condition, but the last page of main report without page header. I still like the page header display on last record, but not on the subreport only. How do I get it? Thanks in advance.

  • Way of displaying the date on the main screen in addition to the time?

    I see the time displayed at the top of the main screen. Is there a way of displaying the date as well?
    Thanks,
    doug

    But if you leave your calendar application on the main screen, the icon itself will show the day and date.

  • HT201272 when i download an app, on the main screen where it shows the icon loading it is grey with nothing else. any suggestions?

    when i download an app, on the main screen where the icons are, the icon is grey and doesnt have anything on it. unable to delete it from ipod either. any suggestions would be appreciated!

    Please read this article on how to go about enabling automatically downloading itunes and apps to your iPhone 5s.
    http://support.apple.com/kb/ht4539
    Good luck

Maybe you are looking for

  • How to undelete an icon?

    My Good email icon went bye bye.  Apple suppose to be "so easy to use"  don't provide a way to restore an icon?  Extremely urgent.  Please help !!! Thanks in advance

  • Apps not showing in notification settings

    I just bought my iPhone 6 two days ago. Running IOS 8.1.2 Why is some of my apps not showing in the notification settings. Downloaded 15 games only 10 showing in the notification settings. When I first download the apps and run it. It does not pop ou

  • Table fields(R/3) move to sap bw

    Table fields are avaialble in R/3 side.i have to use those fields in BW SIDE. can any one tell me How to use those felds in bw side. and which extractors will I use? Please explain me whole way.

  • Searching for an app

    Hello! I'm looking for an app on Itunes to help me create infomation and other things I wish to put there, so somthing coustomizable that starts blank that I can put my own folders/subfolders and put pictures and text in these. is there anything like

  • AirPlus support on iOS 6.1

    Uppdated my iPhone 3S and my 4S to iOS 6.1 and the Airplus support to send video streamming to the Boxee Box dont work anymore. Is the support for Airplus gone with the new iOS or it is this a bug?