Can't run Legion or compile SAM

Hi
I got OpenSPARCT2_Arch.1.2.tar.bz2 to my Solaris 10/amd64. I tried compiling legion, and it compiles fine after little hackin in configure.opensparc. However, when I try to run it with 1c1t/legion.conf, it exits with this output:
Copyright 2006 Sun Microsystems, Inc.  All rights reserved.
Legion version 0.1 compiled on 2010-01-31--21:04:06
debug:save_state:trap_pc = 0x1ff0000000
debug:save_state:format = legion
debug:save_state:patch addr=0xfff0000200 with val=0x1ff0000000
warning: maxtl set to non-standard value for this processor
FATAL: virtual_disk not supported on this platform at line 90 of 1c1t/legion.confIt boot fine into obp if I comment disk section from that config file.
Whe I try to compile SAM, it fails at make n2-cosim-pkg with this error:
LD_LIBRARY_PATH= /opt/sunstudio12.1/bin/CC -G -KPIC -I/export/home/fronty/sparc/sam-t2/sam/build/amd64/inc -I/export/home/fronty/sparc/sam-t2/devtools/amd64/include/python2.4 -DPURE=0 -DARCH_X64 -DCOMPILE_FOR_COSIM -DMEMORY_MSYNC  -mt -xarch=amd64  -O5 -DNDEBUG -DSS_PRAY_MODE -c -o /export/home/fronty/sparc/sam-t2/sam/build/amd64/obj/bl/lib/ecc/src/BL_CKSyndrome.o bl/lib/ecc/src/BL_CKSyndrome.cc
CC: Warning: -xarch=amd64 is deprecated, use -m64 to create 64-bit programs
"bl/lib/ecc/src/BL_CKSyndrome.h", line 50: Error: The function "generateChipkillECC" must have a prototype.make n2 fails with:
/opt/sunstudio12.1/bin/CC -w -mt -xO3 -xarch=amd64 -DARCH_X64 -DIO_THREAD=1 -DV4_NUM_DEVICE_COMPAT -mt -Kpic -I../../include -I../../system/blaze/include -I../../system/util/include -I/export/home/fronty/sparc/sam-t2/devtools/amd64/include/python2.4 -I/export/home/fronty/sparc/sam-t2/sam/include -DN2 -DMEMORY_SPARSE -DBITS=64 -DN2 -DMEMORY_SPARSE -DBITS=64 -DMODNAME=\"py\"   -c py_interface.cc -o /export/home/fronty/sparc/sam-t2/sam/build/n2/devices/py/py_interface.o
CC: Warning: -xarch=amd64 is deprecated, use -m64 to create 64-bit programs
"/opt/sunstudio12.1/prod/include/CC/Cstd/rw/traits", line 531: Error: The function "wcsstr" must have a prototype.I have Sun Studio 12 installed.
Can anyone give some hints about this?
Edited by: Front_slash on Jan 31, 2010 11:18 AM

As well I can't run iTunes. Having installed it successfully once a few days ago, whenever I try to open it now I get the message "iTunes has encountered a problem and needs to close. We are sorry for the inconvenience"
Very polite, but as helpful as skis in the desert.
This is iTunes Version 7 and I also can't seem to reinstall Quicktime on its own. So far I have deleted and reinstalled the lot about six times.
Any suggestions or even solutions?
Further, is there any way to contact Apple themselves?
iPod with Video   Windows XP Pro   Dell Inspiron 9400

Similar Messages

  • Can't run multiple instances on same page!

    Hi,
    Since I got no response on the shadowbox forums after 2 weeks, I thought it's worth to post it here and hope someone can help me out.
    Note: This is also related on non-joomla pages. I've tested it on plain html as well (by Dreamweaver) and get the same issue.
    The following issue was posted by me on the shadowbox forums:
    I was wondering if the following is possible.
    I've tried almost everything where I can think of, but no luck.
    Searched many forums and googled a lot, but without success.
    I got feeling that I'm so close and missing some simple solution.
    So I'm stuck here, I'm not able to figure it out.
    This is what I want to achieve:
    My website is running on Joomla 1.5. And I'm using a Shadowbox extension.
    In an article I've put multiple SWF movies, like previews acting like buttons.
    So when clicking on a SWF button/movie, Shadowbox opens and plays a related FLV movie.
    To achieve this part I've followed the instructions at this site under FAQ > first paragraph.
    So far so good...
    Now the ugly thing is when putting multiple swf buttons on a single page, after clicking a random button Shadowbox always displays the same flv movie. I did some altering with ID's and such but had no luck.
    Even try to alter with the Shadowbox options and variables, flashVars and such (at this site under Options and Usage) but that worked out for me.
    The strange thing is when placing the buttons, let's say in an article belonging to a section and category and make the articles paginated, after clicking the swf button the related flv plays. Browsing to the next page and clicking the button, the related flv will play also. This is the way it should be. Unfortunately it doesn't work when multiple buttons are displayed on the frontpage or an single article regardless whether they belong to sections and categories or not.
    Even when a single code is placed in a single article and display 2 or more articles containg a different swf and a different related flv link only the last added flv plays with every random swf button/movie.
    This the code I'm using for each swf (actionscript behavior):
    FIRST INSTANCE SWF=====================================
    on (release) {
    getURL("javascript:openShadowbox
    ('http://test.cquence-multimedia.nl/images/cqmm_test.flv','flv','title')");
    SECOND INSTANCE SWF=====================================
    on (release) {
    getURL("javascript:openShadowbox
    ('http://test.cquence-multimedia.nl/images/WizardFinal_1.flv','flv','title')");
    ================================================
    This is the code I'm using in the article (2 instances on a single page):
    =======================================================
    <!-- FIRST INSTANCE -->
    <script src="Scripts/swfobject_modified.js" type="text/javascript"></script>
    <script src="Scripts/AC_RunActiveContent.js" type="text/javascript"></script>
    <object id="FlashID" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="150" height="50" data="images/default_swf_button.swf">
    <param name="movie" value="images/default_swf_button.swf" />
    <param name="quality" value="high" />
    <param name="wmode" value="opaque" />
    <param name="swfversion" value="9.0.45.0" /> <!-- This param tag prompts users with Flash Player 6.0 r65 and higher to download the latest version of Flash Player. Delete it if you don’t want users to see the prompt. -->
    <param name="expressinstall" value="Scripts/expressInstall.swf" /> <!-- Next object tag is for non-IE browsers. So hide it from IE using IECC. --> <!--[if !IE]>-->                       
    <object width="150" height="50" data="images/default_swf_button.swf" type="application/x-shockwave-flash">
    <!--<![endif]-->
    <param name="quality" value="high" />
    <param name="wmode" value="opaque" />
    <param name="swfversion" value="9.0.45.0" />
    <param name="expressinstall" value="Scripts/expressInstall.swf" /> <!-- The browser displays the following alternative content for users with Flash Player 6.0 and older. -->
    <div>
    <h4>Content on this page requires a newer version of Adobe Flash Player.</h4>
    <p><a href="http://www.adobe.com/go/getflashplayer"><img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" border="0" alt="Get Adobe Flash player" width="112" height="33" /></a></p>
    </div>
    <!--[if !IE]>-->
    </object>
    <!--<![endif]-->
    </object>
    </p>
    <script type="text/javascript">
    swfobject.registerObject("FlashID");
    </script>
    <script type="text/javascript">
    function openShadowbox(content, player, title, width, height, options){
    Shadowbox.open({
    content:"http://test.cquence-multimedia.nl/images/cqmm_test.flv",
    player:"flv",
    title:"SHADOWBOX FLASHBUTTON TEST FLV",
    width:"800px",
    height:"600px",
    </script>
    <!-- SECOND INSTANCE -->
    <script src="Scripts/swfobject_modified.js" type="text/javascript"></script>
    <script src="Scripts/AC_RunActiveContent.js" type="text/javascript"></script>
    <object id="FlashID1" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="150" height="50" data="images/default_swf_button2.swf">
    <param name="movie" value="images/default_swf_button2.swf" />
    <param name="quality" value="high" />
    <param name="wmode" value="opaque" />
    <param name="swfversion" value="9.0.45.0" /> <!-- This param tag prompts users with Flash Player 6.0 r65 and higher to download the latest version of Flash Player. Delete it if you don’t want users to see the prompt. -->
    <param name="expressinstall" value="Scripts/expressInstall.swf" /> <!-- Next object tag is for non-IE browsers. So hide it from IE using IECC. --> <!--[if !IE]>-->        
    <object width="150" height="50" data="images/default_swf_button2.swf" type="application/x-shockwave-flash">
    <!--<![endif]-->
    <param name="quality" value="high" />
    <param name="wmode" value="opaque" />
    <param name="swfversion" value="9.0.45.0" />
    <param name="expressinstall" value="Scripts/expressInstall.swf" /> <!-- The browser displays the following alternative content for users with Flash Player 6.0 and older. -->
    <div>
    <h4>Content on this page requires a newer version of Adobe Flash Player.</h4>
    <a href="http://www.adobe.com/go/getflashplayer"><img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" border="0" alt="Get Adobe Flash player" width="112" height="33" /></a>
    </div>
    <!--[if !IE]>-->
    </object>
    <!--<![endif]-->
    </object>
    <script type="text/javascript">
    swfobject.registerObject("FlashID1");
    </script>
    <script type="text/javascript">
    function openShadowbox (content, player, title, width, height, options){
    Shadowbox.open({
    content:"http://test.cquence-multimedia.nl/images/WizardFinal_1.flv",
    player:"flv",
    title:"SHADOWBOX FLASHBUTTON TEST BRIAN",
    width:"800px",
    height:"600px",
    </script>
    =======================================================
    This is the link to the page in question:
    http://test.cquence-multimedia.nl/index.php?option=com_content&view=article&id=9&Itemid=13
    Please, any suggestions would be great!
    Thanks in advance.
    Best Regards,
    John.

    Sorry...I still don't get it. What is it about Windows FUS that keeps iTunes from running running the process twice? It can run many other non-Apple windows apps in multiple user sessions (commercial apps, open source apps, audio/video apps, networked apps). I can even run two different virtual machines at the same time under two different user sessions.
    Why can iTunesHelper.exe run twice but iTunes.exe cannot? Why can I run Safari at the same time? Quicktime Player runs fine under multiple user sessions.
    Blaming it on Windows and/or FUS sounds like FUD. Can anyone give a valid technical reason? Semaphores? Mutexes? An admission (and explanation) that the Windows version is purposely crippled?

  • Can not run two domains on same machine (JVM).

    Hi every body in news group,
    I have a problem with weblogic 6.x, I am trying to run multiple domains e.g examples,
    mydomain, mydomain1 on the same machine (JVM) at the same time, but I can not
    run all three at same time, I changed ports already on all domains, and every
    one has different ports, e.g 7001, 7002, 7003, but still when one domain is running,
    and I try to run other startup file by command prompt, it says, can not initialize
    JVM, can some one help me to understand, why I can not run different domains at
    one time, according to my knowledge, we can run multiple domains on one JVM, by
    giving them differnt ports. I will appreciate your help, looking forward to your
    response, thanks in advance.
    Cheers!
    Ghayyur

    This should work. Could you post the exact error message?
    Ghayyur Hassan wrote:
    Hi every body in news group,
    I have a problem with weblogic 6.x, I am trying to run multiple domains e.g examples,
    mydomain, mydomain1 on the same machine (JVM) at the same time, but I can not
    run all three at same time, I changed ports already on all domains, and every
    one has different ports, e.g 7001, 7002, 7003, but still when one domain is running,
    and I try to run other startup file by command prompt, it says, can not initialize
    JVM, can some one help me to understand, why I can not run different domains at
    one time, according to my knowledge, we can run multiple domains on one JVM, by
    giving them differnt ports. I will appreciate your help, looking forward to your
    response, thanks in advance.
    Cheers!
    Ghayyur

  • Can you run multiple iPods on same computer?

    I have a "regular" ipod and have successfully loaded iTunes (dated 10-12-2005) on my pc. My husband just bought a shuffle but we cannot seem to run them on the same pc. Why not? iTunes just will NOT recognize the shuffle. I have successfully loaded the shuffle on our kids' pc; but all 2,000 songs are on my pc. I DON'T want to reload all of them. ANY suggestions? Comments?
    I did try to update the iTunes. Ran into other problem - iTunes wouldn't even start - had to uninstall/reinstall.
    Dell   Windows XP  

    I had the same problem with iTunes not recognizing my
    iPod Shuffle. What I did to fix the problem was to
    download the latest version of the iPod updater and
    select the restore option. It should reset the
    factory settings and flash the device with the latest
    software. I recommend trying to get iTunes to
    recognize the shuffle on its own, and then connecting
    the additional unit.
    Sounds great - but every time I load updater I cannot even start iTunes. VERY frustrated.

  • Can we run 2 sqls in same report??

    Hi All,
    Can any one help me with this issue of .....
    Can we run two independent SQL statements in a single Report.
    Example
    Select * from Dept;(As First Query).
    Select * from emp; (As Second Query).
    And can i have Grouping options in individual Queries above.
    Thanks in advance.....

    A report (.rdf) file can have multiple SQL queries. Each of these independant SQL queries can be on their own layout in any of the three Sections.
    If you want to have only one layout from the two SQL queries, then you will need to join the two queries (assuming that there is a relationship between the two queries).
    Each of these two queries can be grouped also.
    Regards,
    John

  • Can we run 2 version of same full client on the same desktop

    Hi Friends,
    We are in the process of upgrading our Hyperion Planning environment from 9.3.0 to 9.3.1, Some our our users utilize the full client for Reporting Studio and Analytic Administrative Services Console on their desktop. While the upgrade is in process, the users will need to access both versions. So, with that in mind, is it possible to install and and run the 9.3.0 and the 9.3.1 version of the full client for Reporting Studio and Analytic Administrative Services Console on the same dekstop at the same time?
    Please suggest.
    Regards.

    Hi,
    You could use the java web client version of AAS then you wouldn't need to be concerned about running 2 clients.
    http://<aas machine>:10080/easconsole/console.html
    I am not totally sure but Financial Reporting studio may be backwards compatible to version 9.3.0
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • Can you run Orchestrator on the same SQL server as SCCM?

    500+ systems, and our SCCM data base is sizable. We're running SQL on a virtual server within our SAN. I can tell you just poking around on the server, I do feel its kinda slow and everything feels to kinda chug.... Might be better to just see if I can get approval on the spend for another license... I do know deep down thats the correct way to go. 
    Unless Orch is so light and hardly uses any resources that it can piggyback SCCM? The hard part is going to be to convince them to use something I am still learning to use. Ha! But I do have a book for it, so thats a step in the right direction. 

    So our current solution is MDT for deployments, and SCCM for software and updates deployment as well as software center self service.
    I'm wanting to bring in Orchestrator to start using playbooks to automate everything. I see that all of Software Center's add-on parts don't cost anything, but all require SQL Server. Well I already have that running for SCCM. So can I share between the two? SCCM is already kind of a big hog, but I have zero to little knowledge of Orchestrator... Would that be just a little more stress on the server or a lot more? Does Orchestrator really need its own server?
    This topic first appeared in the Spiceworks Community

  • Can I install Photoshop cc on 2 computers with one account? and can I run them at the same time? (mac and windows)

    I have installed Photoshop cc on my mac book air and when I installed it on my PC it shows trail period 30 days remaining
    I thought we can install CC on up to two computers

    Sign in, activation, or connection errors | CS5.5 and later
    Mylenium

  • Can I run Tiger and Leopard on the same computer

    Hi folks.
    I've been meaning to install Leopard for ages but have never got round to it (I bought the retail box when it first came out). I have upgraded my RAM to 2GB and my hard drive to 320GB with no problems.
    My upgraded hard drive has been partitioned into 2 equal parts of 160GB. These appear on desktop as Mackintosh HD1 and HD2. HD1 is the disk with all my files, music, OS etc and HD2 is empty
    I have 2 bootable clones of my present system - one is on a 160GB external and the other is the original 80GB HD that I replaced.
    My question is this - can I install Leopard on to my 160GB external HD, then clone it on to the empty HD2. If I do this would I be able to run both Tiger and Leopard on the same Macbook?
    Is there any problems with this plan? Would I be able to transfer between the 2 OS and how do I install Leopard on the external drive. Is it just a case of inserting the Leopard DVD and choose the external drive as the target?
    As usual thanks in advance
    Del

    # Original Tiger in the internal HD, New Leopard in the external HD.
    # New Leopard in the internal, Legacy cloned Tiger in the external.
    # Split internal, one partition with Tiger, another with Leopard.
    Leopard is backwardly compatible with older Macs, just make sure yours fulfills the minimum system requirements, both use the same filesystem format, so each can see the other. You can't run both at the same time, unless you purchase the server version of Leopard and run it virtualized. 99.9% of Firewire external HD's are bootable, some USB's are bootable but have to test first. You can choose which system to boot from by pressing the Option key at boot time, before the chime. Just make sure the external HDD is plugged in and turned on if that's where you want to boot from.
    When I migrated my PBG4 from Panther to Tiger, got an external FW HDD, cloned Panther onto it, upgraded using Archive and Install, cleaned up, customized and tested it. When I was satisfied all was ok, cloned the original Panther onto another partition of the external HDD, wiped and tested for failure the internal HDD, then cloned the known good and tested Tiger into it. Only thing that died along the way was my old and ancient Photoshop v2.x, that refused to run on Tiger.

  • Can i run 10g & 11g application URL on same machine?

    Our customer need to run two type of our application on his PC: one is developed by Forms 10g and the second is developed by Forms 11g.
    The problem is that to this day he works with 10g only and had use Java 6 to run it (He run it from IE).
    Now, when he try to run application that is developed by Forms 11g he stacked and application don't run.
    When i install Java 7 on the PC - application that is developed by Forms 11g is working fine, but the application that is developed by Forms 10g don't run.
    How can i run both applications on same PC?

    You can run forms 11g on Java 6, why can you not run both on a relatively recent version of Java 6 (ensuring the Forms 10g is patched to latest might be needed).
    Tony

  • Mac 10.7.3, ff wouldn't open pdf files on google search, tried web soln. get ff running can't run 2nd ff error, reboot, reloaded (12?) ff, HELP

    mac 10.7.3, intel dual proc, ff was running great but not opening pdf files from web pages (just opened new page and blank), found ff forum solutions to delete a file, found such file and deleted it, now ff shows error "ff running, can't run 2 ff at same time", rebooted several times, redownloaded ff several times, can't find any ff or mozilla files of any kind in activity monitor or HD, or any library, or in personal library etc,
    i think i have ff 12 now loaded, HELP, love ff, how to get it run again thanks

    Can you undelete the file you deleted?? Any idea what it was?
    Once you have your Firefox running again, try this recommendation from another thread:
    ''If using a Mac, go to the Firefox Plugins and disable the Adobe Acrobat NPAPI Plug-in, Version 10.1.3. This is a recent plugin update, and as soon as it was installed I noticed that PDFs wouldn't download.''
    ''Location: [Menu] Tools/Add-Ons/Plugins ''
    https://support.mozilla.org/en-US/questions/775819

  • Can you run both the latest Safari along with 4.0 beta?

    I'd like to play with the Safari 4.0 beta, but can't afford to lose my regular Safari along with its bookmarks, bank links etc.
    Can I run both on the same machine and just start up whichever one I want?
    P.

    Is there any possibility that the new Safari-4beta is causing my menus to freeze-up? I find my menu bars are often dead and I have to switch to another program-- even those are sometimes dead too, and after 30 seconds one comes to life, then they all do, but then go back to frozen again.
    I wouldn't put anything past Safari 4. Its mere presence causes the currency converter widget to give wrong answers.
    I tried to use the uninstaller, but it would not work; then I tried to just install Safari 3.2.1 - but it would't do this "Can't install since you have a newer version on your Mac"-- Safari 4 Beta did NOT do this on TIGER- but this was my weekend to switch to Leopard after 13 months of prepartion...
    If the unistaller won't work, I don't think there is any way to get back to the old Safari without either reinstalling OSX, or restoring from Time Machine (using the Utilities menu on the Leopard install DVD) and choosing a backup before you installed Safari 4.

  • It compiles but can't run it!

    Hi
    I am really new to java. I got this code from net and tried to compile it. Idoes compile but when i run it , i get the messege,
    "java.lang.NoSuchMethodError: main
    Exception in thread "main" .
    Here is me code.Can someone pleaese tell me y i can't run it and how to fix it. Thanks for your time.
    import java.awt.*;
    import java.awt.event.*;
    public class calculator extends java.applet.Applet implements ActionListener {
         TextField txtTotal = new TextField("");
    Button button[] = new Button[10];
         Button divide = new Button("/");
         Button mult = new Button("*");
         Button plus = new Button ("+");
         Button minus = new Button("-");
         Button isequalto = new Button("=");
         Button clear = new Button("CA");
         double num ,numtemp ;
         int counter;
         String strnum = "",strnumtemp = "" ;
         String op = "";
         public void operation() {
         counter ++;
              if (counter == 1) {
              numtemp = num;      
              strnum = "";
              num = 0;
              }else{
              if (op == "+") numtemp += num;
              else if (op == "-") numtemp -= num;
              else if (op == "*") numtemp = numtemp * num;
              else if (op == "/") numtemp = numtemp / num;
              strnumtemp = Double.toString(numtemp);
              txtTotal.setText(strnumtemp);          
              strnum = "";
              num = 0;     
         public void init() {
         setLayout(null);
         plus.setBackground(Color.blue);
         plus.setForeground(Color.white);
    minus.setBackground(Color.blue);
         minus.setForeground(Color.white);
    divide.setBackground(Color.blue);
         divide.setForeground(Color.white);
         isequalto.setBackground(Color.blue);
         isequalto.setForeground(Color.white);
         mult.setBackground(Color.blue);
         mult.setForeground(Color.white);
         clear.setBackground(Color.blue);
         clear.setForeground(Color.red);
         for(int i = 0;i <= 9; i ++) {
              button[i] = new Button(String.valueOf(i));
              button.setBackground(Color.orange);
              button[i].setForeground(Color.blue);
         button[1].setBounds(0,53,67,53);
         button[2].setBounds(67,53,67,53);
         button[3].setBounds(134,53,67,53);
         button[4].setBounds(0,106,67,53);
         button[5].setBounds(67,106,67,53);
         button[6].setBounds(134,106,67,53);
         button[7].setBounds(0,159,67,53);
         button[8].setBounds(67,159,67,53);
         button[9].setBounds(134,159,67,53);
         for (int i = 1;i <= 9; i ++) {
              add(button[i]);
         txtTotal.setBounds(0,0,200,53);
         add(txtTotal);
         plus.setBounds(0,212,67,53);
         add(plus);
         button[0].setBounds(67,212,67,53);
         add(button[0]);
         minus.setBounds(134,212,67,53);
         add(minus);
         divide.setBounds(134,264,67,53);
         add(divide);
         isequalto.setBounds(67,264,67,53);
         add(isequalto);
         mult.setBounds(0,264,67,53);
         add(mult);
         add(clear);
         public void start() {
         for(int i = 0;i <= 9; i ++) {
              button[i].addActionListener(this);
         plus.addActionListener(this);
         minus.addActionListener(this);
         divide.addActionListener(this);
         mult.addActionListener(this);
         isequalto.addActionListener(this);
         clear.addActionListener(this);
         public void stop() {
         for(int i = 0;i <= 9; i ++) {
              button[i].addActionListener(null);
         plus.addActionListener(null);
         minus.addActionListener(null);
         divide.addActionListener(null);
         mult.addActionListener(null);
         isequalto.addActionListener(null);
         clear.addActionListener(null);
         public void actionPerformed(ActionEvent e) {
              for(int i = 0;i <= 9; i++) {
                   if (e.getSource() == button[i]) {
                   play(getCodeBase(),i + ".au");
                   strnum += Integer.toString(i);
                   txtTotal.setText(strnum);
                   num = Double.valueOf(strnum).doubleValue();
    if (e.getSource() == plus) {
              operation();
              op = "+";
              if (e.getSource() == minus) {
              operation();
              op = "-";
              if (e.getSource() == divide) {
              operation();     
              op = "/";
              if (e.getSource() == mult) {
              operation();     
              op = "*";
              if (e.getSource() == isequalto) {
              if (op == "+") numtemp += num;
              else if (op == "-") numtemp -= num;
              else if (op == "*") numtemp = numtemp * num;
              else if (op == "/") numtemp = numtemp / num;
              strnumtemp = Double.toString(numtemp);
              txtTotal.setText(strnumtemp);
              strnumtemp = "";
              numtemp = 0;
              strnum = "";
              num = 0;
              counter = 0;
              if (e.getSource() == clear) {
              txtTotal.setText("0");
              strnumtemp = "";
              numtemp = 0;
              strnum = "";
              num = 0;
              counter = 0;

    Thanks for your reply.
    Ok i used the link that you sent me and saved the following in the same directory where i have "calcultor.class".
    <HTML>
    <HEAD>
    <TITLE> A Simple Program </TITLE>
    </HEAD>
    <BODY>
    <APPLET CODE="calculator.class" WIDTH=150 HEIGHT=25>
    </APPLET>
    </BODY>
    </HTML>
    I saved it with the name "calculator.html".
    Now when in my browser i type calculator.html, nothing happens.
    I am sure i am missing something but i don't know what.Can someone please help me!
    thanks

  • Migrate an application from x86 to x64. Compiling succeed, but can not run. Always start with error 0xc0000142.

    platform: windows server 2008 r2; ide: visual studio 2005 (installed the x64 development kit)
    Hi, everyone.
    I want to migrate my application to x64 platform from x86/win32 platform. I added x64 platform in visual c++ 2005 option, and compiled successfully. But the application can not start. When start it always pop up an alert dialog saying "The application
    was unable to start correctly (0xc0000142). Click OK to close the application."  Meanwhile, it's worked well when I use win32 option to compile.
    Someone says online, the dependency walker can detect some root cause. I used it, and found that IEFRAME.dll may be had some problem because when I double click it, pop up a dialogue saying "Errors were detected when processing "c:\windows\system32\IEFRAME.DLL".
    See the log window for details.". But I can not resolve this issue.
    Please help me.

    If I had to try to solve this:
    I'd start by verifying that I can compile, and run a skeleton x64 Windows app.  Just create one from scratch using the Windows Application project template, add the x64 platform, build it and run.  Hopefully all goes well.
    If that works, then I'd try trimming down your app to just its essentials.  If you're not using revision control software, back up your projects now, because once you find the problem by hacking and slashing, you'll want to revert so you can make a
    clean fix.
    The first thing to do here is just put a return 0; in the beginning of WinMain to see if it's code at runtime that's causing the problem or something about the linking and dependent library loading.
    I'm guessing that, even with return 0, you will still have a problem, which would suggest that you are perhaps still linking against a 32-bit version of a library or something like that.  Start removing dependencies or references or libraries until
    you can build and run your stripped-down application.  Eventually you'll find the one reference/library that causes it to fail to load.
    You can also check the debug window to see if some modules loaded correctly and others not.
    You can also run
    Process Monitor (sysinternals) to see which dll it was accessing when it failed to load.
    Make sure you revert any changes you made while hacking and slashing, then make your platform fixes, and have another go.
    I suspect that eventually you'll find that you've added a link library that is a 32-bit .lib or a component that references a 32-bit library.  You'll have to make sure you specify the x64 .libs for whatever libraries you are using.  Sometimes this
    means that you have to change you additional linker directories to point to the x64 libs instead of the x86/win32 libs.  Be very careful about your platform when specifying linker libraries, directories, etc.
    It could also be that the x64 version of a dll has been copied to your output folder rather than the x86 version, assuming they have the same name.  You'll have to sort out your SDKs and get the right .libs and .dlls.
    Make sure that your settings and property pages are set correctly for Release and Debug, and for x86 and x64.

  • HT1349 I can not run the scanner in my main user, but only the second user and the same thing with updating apps! Why is this happening???

    I can not run the scanner in my main user, but only the second user and the same thing with updating apps! Why is this happening???

    Welcome to the Apple Community.
    Enter the details of her second account at system preferences> mail, contacts & calendars.

Maybe you are looking for

  • How to run script on selected files in Bridge

    I have a script that takes an open Photoshop document and saves it to four different resolutions in different folders. I'd like to be able to select files in Bridge and run the script on the selected files instead of having to do it each image indivi

  • I need to reset the monitor profile. It is being overiden and too dark

    Something is overiding the color profile upon start up. After migrating files from one macbook pro to another, the same corrupted startup monitor profile is making the screen dark, on one user profile. The other admin profiles are fine. I bought a ne

  • Best way to manage images in a swing app

    Hi. I have a swing app that uses alot of images around 100+ at around 40kb each. I am currently using new ImageIcon("icon\\main.png")) to create them. Is this the most efficient way to manage images? Would it be more efficeint to store then in the my

  • Slightly odd Question-

    I'm running latest ILife '08 Iphoto on all my Macs. I am sharing my Photos from my master library. When I go to another Mac in my house I can see the shared library with no problem. However, I cannot see any of the keywords associated with the pictur

  • Calling Custom Help (Urgent : Oracle Team)

    I've built my own help with the help of other tools. Now I want to call this help in Form . How do I attach ? in Short How do I call context sensitive help ? thanks in advance . Pradeep Patel