I can't MY JFrame to run out side jbuidler6

i can't get My Jframe to compile and pop up using javaw fuction downloaded from java site. I know the rest of my code works but for some reason when i run the javaw compiler it's unable to launch the frame, An error message pops up stating"Can't find main class Program well exit!". I even use the code striaght off of the java Tuturial . and it does the same thing. This problem is very disappointing since i have been programming with java for many years and love it but simple problems with changes to the jdk's keep causing me issues. i just would like to get a simple frame to work, and the rest is easy, ANy help would be great!
Thanks
Jarad

You have programmed in Java for ages, and you aren't able to execute an aplication outside an IDE. Hummmm.
Tel me id it's packed into a jar or is just class files spreaded.
Abraham

Similar Messages

  • WEB reports can it possible to access from out side domein

    Hi, i want  information whether WEB reports can be access from

    Hi all,
    WEB reports can it possible to access from out side domein. If yes please tell me how..

  • Can i access the context from out side of app server in jboss

    Dear all,
    I am using jboss application server
    In jboss can i able do the following?.
    i instlled jboss appserver in C:/ drive, Shal i keep my context out side of the application server like D:/application/contenx1.war.
    Now. can i able to map this D:/application folder to jboss.

    Start Firefox in [[Safe Mode]] to check if one of your add-ons is causing your problem (switch to the DEFAULT theme: Tools > Add-ons > Themes).
    See [[Troubleshooting extensions and themes]] and [[Troubleshooting plugins]]
    If it does work in Safe-mode then disable all your extensions and then try to find which is causing it by enabling one at a time until the problem reappears.
    You can use "Disable all add-ons" on the [[Safe mode]] start window to disable all extensions.
    You have to close and restart Firefox after each change via "File > Exit" (Mac: "Firefox > Quit"; Linux: "File > Quit")
    Also check the Mouse driver settings in the Control Panel.

  • Can't get FB4 to run out of an existing install of Helios

    Eclipse Version:
    Version: Helios Service Release 1
    Build id: 20100917-0705
    (64bit default JRE)
    OS:
    W7 Professional 64
    I installed FB4 trial a couple of weeks ago. At that time I had an already installed copy of helios eclipse on this system. After running into problems post install I reverted to using the bundled eclipse installation since I didn't want to deal with debugging an install/configuration issue at that time. I was more interested in doing some Flex education.
    Today however I decided to revisit this and am running into the exact problem.
    I completely unistalled Flash Builder and Eclipse from my system.
    Reinstalled the latest Helios GA of Eclipse (J2EE bundle) and varified that it functioned properly (installed antroid dev stuff and was working fine under this platform).
    Went back to the install bundle for FB4 and ran the image.
    I was prompted for the option to install into an existing installation of eclipse to which I selected and provided the path to the existing eclipse.exe
    Install was performed without any noticable errors (install log shows all green).
    However, upon starting Eclipse for the first time post install I get this:
    An internal error occurred during: "Creating Adobe Flash Player trust file...".
    com/adobe/flexbuilder/project/internal/PlayerTrustStore
    and it goes downhill from there, e.g., any attempts to access any FB4 resources (project creation wizards, help links, etc.) either result in errors like this:
    The selected wizard could not be started.
    Plug-in com.adobe.flexbuilder.project.ui was unable to load class com.adobe.flexbuilder.project.ui.wizards.FlexApolloProjectWizard.
    An error occurred while automatically activating bundle com.adobe.flexbuilder.ui (802).
    Or does nothing at all.
    It's funky enough that FB4 insists on installing a separate copy of Eclipse, but also essentially breaking the version that I'm already using is pretty hostile...
    I hope this is something that I'm doing incorrectly and can be adjusted. Is this possibly a problem with my install of eclipse using the 64bit Java SDK ?

    I think I found my own answer... thanks anyway,
    So I'm to understand that Adobe has not provided a plugin compatible with the 64bit JRE? I say again... are you f*ig*in kidding me?
    That right there would be good reason to avoid this altogether. given the cost of the license for this product certainly there must be a priority for getting this to market. I've found threads dating > a year ago asking, no, demanding this and still not available... that's a lifetime in technological time.

  • Can't Restore iPod. Running Out of Ideas!

    Okay, so i now know the flashing orange and green lights mean I have some sort of error.
    but when i try to restore the iPod, it says there is and "iPod Service Error". What do i DO PEOPLE!?!??!?! Buy a new one and pitch this thing out a window.
    Gateway EV910    

    "when i try to restore the iPod, it says there is and "iPod Service Error". What do i DO PEOPLE!?!??!?! Buy a new one and pitch this thing out a window."
    That would certainly be one response. You might also consider running through this, though:
    iPod Service Error
    Good luck
    srb

  • How long is an iTunes voucher valid? as i can't find mine and hope i can find it before it run out

    How long is an iTunes voucher valid for?

    iTunes gift cards don't expire, when you find it you should still be able to redeem it

  • Need help locating duplicate files and projects. Space is running out

    Ok, over time I have made duplicate files and projects on both my local and external hard drives. What I am looking for is a program that I can run on to Identify duplicate files and such so that I can decide what to delete to free up much needed space.
    Please suggest anything you can think of, I am running out of room.
    Cheers, and Thanks in advance.

    You will find several such utilities at VersionTracker or MacUpdate.
    Tidy Up
    Dupe Guru
    OmniDiskSweeper
    Sponge
    Just to name a few.

  • I am running out of memory on my hard drive and need to delete files. How can I see all the files/applications on my hard drive so I can see what is taking up a lot of room?

    I am running out of memory on my hard drive and need to delete files. How can I see all the files/applications on my hard drive so I can see what is taking up a lot of room?
    Thanks!
    David

    Either of these should help.
    http://grandperspectiv.sourceforge.net/
    http://www.whatsizemac.com/
    Or search 'disk size' in the App Store.
    Be carefull with what you delete & have a backup BEFORE you start, you may also want to reboot to try to free any memory that may have been written to disk.

  • I ordered a battery for my laptop because it said to replace battery soon.  How long can I let the new battery sit around as I wait for the old one to run out of more charge?

    I ordered a battery for my laptop because it said to replace battery soon.  How long can I let the new battery sit around as I wait for the old one to run out of more charge?  Will the new one become less effective if it sits around too long?

    How much capacity is remaining on your current battery?
    Check your power status
    From the  menu: Hold OPTION and click System Information... èHardware è Power
    Copy and Paste in your reply.
    The new battery will become less effective if you store it in a hot or humid environment. It should be stored at room temperature (22 C).
    Long term storage (6 months):
    Apple recommends that you store the battery with a 50% charge. If you store a battery when it’s fully discharged, it could fall into a deep discharge state, which renders it incapable of holding any charge. Conversely, if you store it fully charged for an extended period of time, the battery may experience some loss of battery capacity, meaning it will have a shorter life.
    http://www.apple.com/batteries/

  • Run out of licenses, can do 20 reports in 20 minutes before receiving error

    <p>I have a problem with running out of Licenses when using our ASP.NET Web Application.</p><p>Our Web Application exports and opens a Crystal Report to PDF when the user clicks on the report link.  Unfortunately we have only a certain number of licenses available and after each use it&#39;s useless for about 20 minutes!  In a 20 minute period we are able to run up to 20 reports before getting the "out of licenses" error page. </p><p>So if you have 5 users going through multiple reports in a short time we&#39;ve run out of licenses and they have to wait 20 minutes before trying again!?! </p><p>I am trying to find a means of improving this and have a few thoughts on how:</p><ol><li>Close the license being used (and make available to somebody else) once the report is created. <br /><em>We generally do not have 20 <u>concurrent </u>users at any time but in a 20 minute time span we can have over 20 report requests.</em><br /> <br /></li><li>Shorten the time before the license becomes available again (like to 5 minutes) <br /><em>Long enough for even the larger reports to run, but short enough that the chances of 20 reports being requested in a 5 minute period is slim.<br /> <br /></em> </li><li>Save the License use for that particular USER for the period of time (so if they open 1 or 10 reports it all utilizes the same License). <br /><em>This would work fine because it&#39;s a small office of just over 20 users and the chance of everybody accessing reports in that same 20 minutes is very low.<br /> <br /></em> </li></ol><p> If anybody has any ideas, suggestions, hints, or "it can&#39;t be done" I would greatly appreciate it!  We haven&#39;t found anything in the RAS settings and I haven&#39;t found anything that effects the LICENSING in .NET (and using Report.Close() does not free up the license).</p><p> Thanks,</p><p>~Drew </p>

    <p>Alright, I seem to have some success in fixing this issue, though it isn&#39;t the 100% best solution. </p><p>I create the ReportDocument in the Global.asax.vb file </p><font size="1" color="#0000ff">
    <blockquote />Dim<font size="1"> crpt </font><font size="1" color="#0000ff">As</font><font size="1"> </font><font size="1" color="#0000ff">New</font><font size="1"> CrystalDecisions.CrystalReports.Engine.ReportDocument<br /><font size="1">Session.Contents.Add("crpt", crpt)</font></font></p></font></blockquote><p><font size="1">and then I re-use this in the page that exports the file to PDF and displays it.  Since this is created as a session-level object in Global.asax.vb I reference it in the display page as Session("crpt") and I clean it up by the end of the page but I don&#39;t make the session object into nothing.</font></p><blockquote><p><font size="1">If Not IsNothing(Session("crpt")) Then</font></p><blockquote><p><font size="1">Session("crpt").Close()<br />System.Runtime.InteropServices.Marshal.ReleaseComObject(Session("crpt"))</font></p></blockquote><p><font size="1">End If </font></p></blockquote><p><font size="1">Then on Session End in the Global.asax.vb I clean up the Session variable and call the garbage collection.</font></p><blockquote><p><font size="1">If Not IsNothing(Session("crpt")) Then</font></p><blockquote><p><font size="1">Session("crpt").Close()<br />System.Runtime.InteropServices.Marshal.ReleaseComObject(Session("crpt"))<br />Session("crpt") = Nothing<br />Session("crpt").Dispose()</font></p></blockquote><p><font size="1">End If<br />GC.Collect() </font></p></blockquote><p><font size="1">It seems to be working at this time though there is the limitation that now everybody who enters the web application gets an object whether or not they are going to run reports. </font></p><p><font size="1">The more ideal situation would be for the object to not be created until the user enters the report page or have the page that creates/displays the report to check if the object exists and if it does not to create the object.</font></p>

  • How can I avoid running out of memory when creating components dynamically

    Hello everyone,
    Recently, I am planning to design a web application. It will be used by all middle school teachers in a region to make examination papers and it must contain the following main functions.
    1)Generate test questions dynamically. For instance, a teacher who logs on the web application will only see a select one menu and a Next Quiz button. The former is used for determining the number of options for the current multiple/single choice question. The later is dedicated to creating appropriate input text elements according to the selected option number. That is to say, if the teacher selects 4 in the menu and presses the Next Quiz button, 5 input text form elements will appear. The first one is for the question to be asked such as "1.What is the biggest planet in the solar system?", the others are optional answers like a)Uranus. b) Saturn. c)Jupiter. d)Earch. Each answer stands for an input text elements. When the teacher fills in the fourth answer, another select one menu and Next Quiz button will emerge on the fly just under this answer, allowing the teacher to make the second question. The same thing repeats for the following questions.
    2)Undo and Redo. Whenever a teacher wants to roll back or redo what he has done, just press the Undo or[i] Redo button. In the previous example, if the teacher selects the third answer and presses the Delete button to drop this answer, it will delete both the literal string content[i] and the input text element, changing the answer d to c automatically. After that, he decides to get back the original answer c, Jupiter, he can just click the Undo button as if he hadn�ft made the deleting operation.
    3)Save the unfinished working in the client side. If a teacher has done half of his work, he can choose to press the Save button to store what he has done in his computer. The reason for doing so is simply to alleviate the burden of the server. Although all finished test papers must be saved in a database on the server, sometimes the unfinished papers could be dropped forever or could form the ultimate testing papers after several months. So if these papers keep in the server, it will waste the server computer�fs room. Next time the teacher can press the Restore button on the page to get the previously stored part of the test paper from his own computer and continue to finish the whole paper.
    4)Allow at least 1,000 teachers to make test papers at the same time. The maximum question number per examination paper is 60.
    Here are my two rough solutions,
    A.Using JSF.
    B.Using JavaScript and plain JSP[b] without JSF.
    The comparison of the two solutions:
    1)Both schemas can implement the first and the second requirements. In JSF page I could add a standard panelGird tag and use its binding attribute. In the backing bean, the method specified by the binding attribute is responsible for generating HtmlInput objects and adding them to the HtmlPanelGird object on the fly. Every HtmlInput object is corresponding to a question subject or an optional answer. The method is called by an actionListener, which is registered in the Next Quiz commandButton, triggering by the clicking on this button in the client side. Using JSF can also be prone to managing the HtmlInput objects, e.g. panelGird.getChildren().add(HtmlInput) and panelGird.getChildren().remove(HtmlInput) respond to the undoing operation of deleting an optional answer and the redoing operation of the deleting action respectively. I know JavaScript can also achieve these goals. It could be more complex since I don�ft know well about JavaScript.
    2)I can not find a way to meet the third demand right now. I am eager to know your suggestion.
    3)Using JSF, I think, can�ft allow 1,000 teachers to do their own papers at the same time. Because in this scenario, suppose each questionnaire having 60 questions and 4 answers per question, there will be approximately 300,000 HtmlInput objects (1,000X60X(4+1)) creating on the server side. The server must run out of memory undoubtedly. To make things better, we can use a custom component which can be rendered as a whole question including its all optional answers. That is to say, a new custom component on the server side stands for a whole question on the client side. Even so, about 60,000(1,000X60) this type of custom components will be created progressively and dynamically, plus other UISelectOne and UICommand objects, it also can�ft afford for most servers. Do I have to use JavaScript to avoid occupying the server's memory in this way? If so, I have to go back and use JavaScript and plain JSP without JSF.
    Thank you in advance!
    Best Regards, Ailsa
    2007/5/4

    Thank you for your quick response, BalusC. I really appreciate your answer.
    Yes, you are right. If I manually code the same amount of those components in the JSF pages instead of generating them dynamically, the server will still run out of memory. That is to say, JSF pages might not accommodate a great deal of concurrent visiting. If I upgrade the server to just allow 1,000 teachers making their own test papers at the same time, but when over 2,000 students take the same questionnaire simultaneously, the server will need another upgrading. So I have to do what you have told me, using JS+DOM instead of upgrading the server endlessly.
    Best Regards, Ailsa

  • Running out of hard drive space---can I use my external hard drive-??

    I have a 16GB iPod nano. I hope I can explain my problem well enough.
    My laptop computer has the iTunes that I use for syncing my iPod. It has over 25gb of songs in it, but my problem is that it has completely run out of hard drive space, and I don't think I can delete anything else.
    I have a 250 GB external hard drive that also has all my songs backed up on it, that has hard drive space left on it.
    Is there a way to load new music into the external hard drive, that will sync up to the iPod when I connect it to the laptop, WITHOUT putting a copy of it into the laptop, and taking up space-?
    The way it appears to me, and I may be wrong, is that there are 2 copies of eaxh song on my laptop---the one in my music folder, and then the one in the iTunes folder. Is that correct-?
    OR, is there a way to remove some of the songs from the laptop, and put them into the external hard drive, but will still sync up to the iPod-?
    Thanks for any help that anyone can offer, I'm desperate ~!
    I'm not sure if this can be done, but I'd hate to think that I cannot put new music onto my iPod.
    Thanks~!

    Hello melbernai,
    I think your best move would be to the move the entire iTunes library including of all of its file to your external hard drive and running your iTunes from there. You can even have it so that all newly imported music is saved to the external drive as well.
    For more help on how to do this, I would check out this article on how to move and run your iTunes library from an external hard drive.
    http://lifehacker.com/238296/ultranewb--how-to-move-your-itunes-library-to-an-ex ternal-drive
    Hope this helps.
    B-rock

  • I have a desktop pc with iTunes. I just purchased a mac air book. Can I sync all of my devices, iPhone, iPod, iPad, to both computers or do I have to pick one. I would like to have iTunes on my mac, but I'm afraid I will run out of hard drive space.

    I have a desktop pc with itunes. I just purchased a Mac Air book.  Can I sync my devices, iphone, ipod, ipad, to both computers. Or do I have to pick one? I would like to have itunes on my mac, but i am afraid I will run out of hard disk space. Do I need to set up a seperate account on my Mac so I can load some music on it if I plan to keep my devices synced to my PC?  Would it be possible to sync only my Iphone to my Mac?

    To get that much storage, you need to look to professional online services.  Pro-level hosting accounts may offer you that much (well, many will offer as much storage as you are prepared to pay for), or Amazon professional cloud services.  You could also store the files on a home machine and pay for a professional hosting service so you could stream them over your own account (assuming your ISP connection and agreement allows for the bandwidth used).  You would still need to deal with the issue of finding an app for the iPad that supported avi streaming.

  • Can you archive old calendar items in Entourage so you don't run out of space on your Blackberry?

    Hi everyone,
    I have a Sprint Pearl 8130 and I am syncing with PocketMac to Entourage 2004 on an iBook G4 running OS 10.3.
    Most of my syncing issues are minor (for some reason, in contacts, work and home email addresses switch fields, but I can live with that) and I don't have too many complaints about PocketMac for now....
    My question is - Does anyone know how to archive old calendar items so that my Blackberry doesn't run out of space? I have calendar items going back to the beginning of 2008.  I don't need past calendar items on my Blackberry, except for reoccurring items, like birthdays and such, and maybe a month's worth of old appointments just for reference.  My Blackberry has run out of space a couple of times and when it deletes the appointments from my Blackberry, syncing wants to either delete from the Mac or restore to the Blackberry.  I know you can do this with a Palm and their Palm software, since I used to have one and I was able to archive items older than a week.  Then you would be able to access them in a separate archive profile.
    I have searched everywhere and the closest thing I can find is to purchase Missing Sync and set to match my sync date range.  https://support.markspace.com/index.php?_m=knowledgebase&_a=viewarticle&kbarticleid=327.  But that doesn't really solve my issue of running out of space on my Blackberry.  The other thing that I could think of is to export the calendar items into a .rge file, then delete the calendar items from there, sync, and have PocketMac remove items from my Blackberry, but it would be a pain to easily access old calendar items.
    I appreciate any thoughts, ideas and especially solutions!

    I have the exact opposite issue you mentioned
    my client wants his archived calender items to be synched to his 8830 world wide ed.
    he is running RIM software (DesktopManager) v 6.4
    BES 2007
    current issue is that his archived old calendars are not synchronizing to his handheld; we tried to force his PC to synch those items manually through cable, which didn't help, since our BES policy force waireless synch policy to the device and wireless synch never can see the archived items files
    I think if you can set the option on your device so it turns on the calendar wireless synch, and also make sure MAC does not select archive to synch
    Calendar > Options > General settings or /Wireless synch set to ON;
    if you running BES set Calendar Wireless synch off

  • I have a macbook, 2Ghz 10.5.8 which is running out of room. Should I add all memory I can and will upgrading to mountain Lion use that all up before i even begin?

    I have a macbook using 10.5.8, 2 Gb memory which is running out of room. I use it mostly for photos/videos. How much memory can i add and when i upgrade through snow leopard to mountain lion what will it cost andwill that use up all the newly added memory?

    You can put in any 2.5" form factor SATA drive that is 9.5mm or less in height. For RAM we need to know whether you have the 2.0 Ghz or 2.13 Ghz processor model 5.2 MacBook. The model 5,2 (Early 2009, 2.0GHz Model Only) can use 6gb of 200 pin 667mhz PC2-5300 RAM. The model 5,2 (Mid 2009, 2.13GHz Model Only) can use 6gb of 200 pin 800mhz PC2-6400 RAM.
    For a new hard drive try Newegg.com http://www.newegg.com/Store/SubCategory.aspx?SubCategory=380&name=Laptop-Hard-Dr ives&Order=PRICE
    Or OWC for regular hard drives and SSDs  http://eshop.macsales.com/shop/hard-drives/2.5-Notebook/
    Here are instructions on replacing the hard drive in a MacBook with a removable battery. http://creativemac.digitalmedianet.com/articles/viewarticle.jsp?id=45088
    To transfer your current hard drive I like the free application SuperDuper. It makes a bootable copy of everything on your hard drive http://www.shirt-pocket.com/SuperDuper/SuperDuperDescription.html  You'll need a cheap SATA external hard drive case. Put the new drive in the case then format and partition the new drive and clone your old drive to the new one. Check that it's set up right by booting up from the external drive. Then replace your old hard drive with the new one and put your old one in the external case.
    Here's a cheap SATA external hard drive case on Amazon http://www.amazon.com/Vantec-NexStar-2-5-Inch-External-Enclosure/dp/B002JQNXZC/r ef=pd_cp_pc_0
    If you don’t have the tools to open up the MacBook OWC has a set for $5
    http://eshop.macsales.com/item/OWC/TOOLKITMHD/

Maybe you are looking for

  • Who's Who Search in ESS

    Hello, In ESS in our EP 7 SP10 portal environment, the "who's who" search does not work properly.  A lot of times people are missing that should be there.  We think we have ruled out this being a security issue because we have used a broad sample of

  • Apple TV and hd videos

    Hello, So I have purchased about 30 or so HD videos from the iTunes Store. I have been downloading the 1080p versions of the film. On my Apple TV 3 all the videos show up and I can stream and play them accordingly. However, on my first gen Apple TV..

  • Clean install of Mountain Lion plus bootcamp?

    Clean install of Mountain Lion plus bootcamp? Genius Bar guy suggested getting rid of fusion on my 2008 machine, doing a clean install, and using Bootcamp for windows. Best way to proceed?

  • Read a .txt file

    I'm trying to find out how to read a .txt file and simply assign its contents to a variable. Is this possible? [Edit] Right after posting I found this page which seems like it might be in the direction I want to go but I haven't checked it out comple

  • Line input Audio in macbook pro 13 With Win 7

    Hi, I have to bootcamp the win 7 and everything works well the only problem I have is that the audio input / output that is combined output only works for me as not as input to win 7. I installed Mac OS paralllels and if I do it as input and output.