A classic mistake?

Yes, it's me, the annoying beginner with very beginner questions. My HelloWorld can't execute, and I have no idea why!
JDK is installed, classpath is set.
I compile using javac HelloWorld.java
Everything is good so far, I can even see a new file in directory names HelloWorld.class
Now I try and run the program with 'java HelloWorld' and I get the error below(Please help, i'm very eager to progress to the next stage, remember, my classpath is set appropriately:
Exception in thread "main" java.lang.UnsupportedClassVersionError: HelloWorld (U
nsupported major.minor version 50.0)
at java.lang.ClassLoader.defineClass0(Native Method)
at java.lang.ClassLoader.defineClass(Unknown Source)
at java.security.SecureClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.access$100(Unknown Source)
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClassInternal(Unknown Source)
-Zeeshan

But note that prior to 1.6 (I think) javac-version
was not supportedYou're right...javac -version for 1.5.0_09 here still
displays the verison, then an error message saying
"no source files". Odd.Ah, see - I didn't notice that it printed the version as the usage text scrolled that off my shell's window. So that's at least sorta helpful.

Similar Messages

  • ORA-00980: synonym translation is no longer valid

    Hi
    I get the following error when try to insert xml
    SQL> ed
    Wrote file afiedt.buf
    1 insert into "bulkCmConfigDataFile_TAB"
    2 values(
    3 XDB_UTILITIES.getXMLFromFile('Test.xml','DATA_DIR').
    4 createSchemaBasedXML('http://127.0.0.1:8081/public/xsds/configData.xsd')
    5* )
    SQL> /
    XDB_UTILITIES.getXMLFromFile('Test.xml','DATA_DIR').
    ERROR at line 3:
    ORA-00980: synonym translation is no longer valid
    I ran the following sql
    SQL> select STATUS from dba_objects where object_name = 'XDB_UTILITIES';
    STATUS
    VALID
    The directory was created using
    SQL> show user
    USER is "XMLUSER"
    SQL> create or replace directory data_dir as 'c:\xml';
    Directory created.
    What could be the problem here?
    Thanks
    Devashish
    10g Rel2

    Devashish
    Unfortunately the way your XML Schema are designed I do not think XML DB is going to be able to handle them. The problem is the substituion group for vsData. Basically it defines a very flat structure which will require a table with more than 1000 columns to persist. Since the structure is very flat we cannot use the technique of pushing sections of the structure into out-of-line tables to store it, which is the normal workaround.
    This looks to me like a case of the classic mistake of modeling a Java Object structure directly into XML. In general this makes no sense. There is no common information between all of the different elements of the substition group or the vsData type, so there is no point in having all the members of the substition grouip descend from a single abstract type. You could just as easily model your XML Structure as a choice of any of the elements defined in the substition group. If new elements need to be introduced this could be done using extension of the existing complexType with new choices.
    The advantage of this approach is that you can push each of the possible chocies into a seperate table, and avoid the 1000 column limit..
    Sorry for the bad news, hope you have flexibility to re-architect the XML Schema. Note that this should not affect the instance documents

  • Having issues with populating a Text Field with data from 2 other fields

    I have 3 fields Tools_1a_pri, Tools_1a_pri_other, Tools_1a_pri_txt.
    Tools_1a_pri is a drop down combo with a predefined list. One of the options is "Other".  When "Other" is selected, the text field Tools_1a_pri_other becomes visible for users to enter the name of the other tool.
    The Tools_1a_pri_txt is a text field with a calculation that shows either text stating that no tool has been selected or the Tools_1a_pri & or Tools_1a_pri_other.
    When I select one of the predefined tools, everything works.  When I select other, it appears that nothing has changed.  It requires that I click on another field before it populates.  This is confusing to the user.
    Tools_1a_pri   Validate code
    this.getField("Tools_1a_pri_Other").display = event.value=="Other" ? display.visible : display.hidden;
    Tools_1a_pri_txt  Calculation code
    //if nothing is selected, do the following
    if (getField("Tools_1a_pri").value.length < 2) {
    event.target.textColor = color.red
    event.value = "No primary tool identified";
    }else if (getField("Tools_1a_pri").value != "Other") {
    //otherwise do this if other is selected
    event.target.textColor = color.black
    event.value = getField("Tools_1a_pri").value;
    }else if (getField("Tools_1a_pri").value = "Other") {
    //otherwise do this if other is not selected
    event.target.textColor = color.black
    event.value = getField("Tools_1a_pri").value + " - " + getField("Tools_1a_pri_Other").value;

    You made the classic mistake of using the assignment operator in an if-statement instead of the comparison operator. Change this line:
    } else if (getField("Tools_1a_pri").value = "Other") {
    To this:
    } else if (getField("Tools_1a_pri").value == "Other") {

  • Find photos in Library that are not in an Album

    My mum has made the classic mistake of deleting her images from Albums rather than the Library when using iPhoto.
    Anyone know how to find all photos in the Library but not included in albums?
    I found a script for iTunes to do a similar thing with tracks not in playlists but can;t find one for photos in iPhoto.
    Or, is there another solution?

    Create a Smart Album with the criteria "Album" is "None". That will give you all photos not in an album. You can move those photos to a regular album and then delete from there by using CommandOptionDelete. That moves them to the iPhoto Trash bin where you'll have to empty the trash.
    iPhoto is known to lock up if you try to delete a large number of photos at a time. So just select about 100 at a time to move to the trash and empty.
    OT
    TIP: For insurance against the iPhoto database corruption that many users have experienced I recommend making a backup copy of the Library6.iPhoto (iPhoto.Library for iPhoto 5 and earlier versions) database file and keep it current. If problems crop up where iPhoto suddenly can't see any photos or thinks there are no photos in the library, replacing the working Library6.iPhoto file with the backup will often get the library back. By keeping it current I mean backup after each import and/or any serious editing or work on books, slideshows, calendars, cards, etc. That insures that if a problem pops up and you do need to replace the database file, you'll retain all those efforts. It doesn't take long to make the backup and it's good insurance.
    I've created an Automator workflow application (requires Tiger or later), iPhoto dB File Backup, that will copy the selected Library6.iPhoto file from your iPhoto Library folder to the Pictures folder, replacing any previous version of it. There are versions that are compatible with iPhoto 5, 6, 7 and 8 libraries and Tiger and Leopard. Just put the application in the Dock and click on it whenever you want to backup the dB file. iPhoto does not have to be closed to run the application, just idle. You can download it at Toad's Cellar. Be sure to read the Read Me pdf file.
    NOTE: The new rebuild option in iPhoto 09 (v. 8.0.2), Rebuild the iPhoto Library Database from automatic backup" makes this tip obsolete.

  • Very slow initComponents calls?

    Hi there,
    I've been noticing sluggishness in my application that seems more extreme than I believe it should be. When I profile the application, I get huge hot spots inside the initComponents() functions generated by NetBeans for the layout. The two biggest hotspots that show up in the profiling are both calls to initComponents. My main FrameView's initComponents call takes 167ms, and a subsequent JPanel that I create to add as a tab in the view takes a whopping 221ms for its initComponents call. I'm at a bit of a loss to explain why these operations take so long.
    The function is basically a bunch of object instantiations (JComboBoxes, JLabels, JTextFields, etc.), and then the GroupLayout calls to place them. I've tried removing custom models that I have for some components and saw no speed increase. The profiler won't tell me the timing within the functions themselves, so all I know is that initComponents is taking a really long time to complete. Are there any classic mistakes I could be making? I can't really do much in the function because it's autogenerated by NetBeans. I don't feel that I have an unreasonable amount of controls anywhere (maybe a total of 40 or so), but the performance is still pretty terrible. There's a very noticeable delay between when I click a button and when the JPanel appears as a tab. I realize I can alternatively create the JPanels on startup and just hide/show them, but I just wanted more information about what could be taking so long.
    Thanks!
    Edited by: aardvarkk on Nov 12, 2010 2:22 PM

    Hi and Welcome to the Community! Has it always been this way? Or has something recently changed and then the behavior started? An OS update perhaps? Further, what OS are you running please? There are some OS levels that have reports of this problem, but it seems to be cured in more recent versions. But, we can't guess unless you reveal your OS. Let us know.

  • Premiere Pro update fail.

    So I made the classic mistake of updating Premiere Pro before I finished my latest project. The cut opens but when applying an effect (MB Looks) it doesn't apply to the clip selected. I'm wonder if it's a weird database issue. Anyone else having a issue.

    Hi Dankloster,
    dankloster wrote:
    I'm having issues as well. I updated to 2014.1 this morning. It opened fine, however when I tried to open a file I created in CC 2014, it told me I had to update it to the newer version. Just as it finishes, Premiere crashes.
    I tried to open an older project in the new version and also crashed on launch. Trashing my preferences solved that issue. Can you try that? If this doesn't work, update your video drivers if you can.
    Please don't take this the wrong way, but in the future, I would advise you to not update any project files until a project is complete (if at all possible). If you feel you must update, please make sure to duplicate your project file so that you have a working back up. This is something I was taught years ago and has served me well as a crucial back up step.
    You can also check your Auto Save folder or the Creative Cloud folder for a potential backup, if that preference was set correctly.
    dankloster wrote:
    I've now just un-installed Premiere CC 2014.1 and will install from scratch. Hopefully that will work.
    Yes, please. Let us know.
    dankloster wrote:
    I'm kind of stuck, as I can't open my file with Premiere CC either as the file is too new. I wish there was a way I could just roll back to CC 2014 as otherwise I will have lost days of work!
    You can't really roll back a project file, per se. You can try opening the project in XML format in older versions. That works most of the time. You can certainly roll back Premiere Pro to a previous version, however. Here's how: http://blogs.adobe.com/kevinmonahan/2014/01/29/revert-to-a-previous-version-of-premiere-pr o-cc-or-any-creative-cloud-application/
    Hope you get back up and running ASAP.
    Thanks,
    Kevin

  • Range Expander Not Working with MAC

    Have been using two WRE54G Range Expanders for over two years.  However, I wanted to add WEP to my system, but when I did that, the Range Expanders lights went RED.  I tried to access the SETUP, but for some reason I am unable to access it.  In any event, made the classic mistake of trying to fix something that really wasn't broken.  Have spent three chat sessions trying to resolve all the issues and of course, after solving one, another cropped up.  Here's where I'm at right now.  Still cannot access the Range Expander SETUP, but more importantly one of the Range Expanders is now no longer working with the MAC's that we have at home.  My wireless PC works fine, but each time I try to log in one of the MAC's, in the expander territory, it tells me that it's a secure connection, which it's not.  For now, I've unplugged one of the expanders and am only using one downstairs and while I have connectivity upstairs, it's not as good as when the expander was working.
    Any thoughts or ideas are appreciated.

    OK, my problem has now shifted to another issue.  I did as 'quack' suggested and got both expanders to apparently work, both had two blue lights.  I tried two of the MAC's we have, the third is out of the house at the moment.  Also tried my PC laptop, that worked as well.
    I then decided to activate WEP on the wireless router Linksys WRT54G.  Here is where it gets confusing.  Both expanders now have one blue light and one red light, but when trying to connect either of the MAC's it does prompt me for the network key, which once entered, both computers get on the Internet.  It took a while and a re-start for the PC to recognize the network as secure, but once it did and I entered the network key, it too worked. 
    What continues to baffle me is that there is no way I'm able to access the web setup for the extenders.  The other routers/etc in my network connect via http://192.168.49.xxx, however when I try this using '240' and/or '241' for the expanders, nothing happens.  If I try to ping those addresses, I get no reply. 
    What furthers confuses me, in that reading some of the other posts it seems that the expander actually showed up in your list of 'AVAILABLE WIRLESS NETWORKS', that is not the way mine is now, nor was it ever in that list.  I guess I should just leave well enough alone, since everything seems to be working, but I get the sense, it's not working properly.

  • Trying to figure out script for use in Butler

    Hi,
    I download a lot of bittorrents from a particular bt site -- bt.etree.org. To download and seed, I use Vuze. Downloading the bt files and then starting up Vuze to load in the files are tasks I repeat over and over again. I'd like to automate it as per the following pseudocode:
    When user clicks any download link on bt.etree.org, peform these actions:
    1. Start Vuze.
    2. Navigate to File --> Open --> Open bittorrent file*
    3. Navigate to folder where downloads are stored.
    *or something like that path; I'm not actually in front of my iMac at the moment.
    I can't figure out how to make this work. I tried recording the actions, but it didn't help.
    I'd like to load this script into Butler. I know how to set up Applescript in Butler, I just don't how to make code out of this particular set of steps.
    Any guidance is appreciated.
    Thanks for your time.

    No offense, but it sounds to me like you're making the classic mistake many people make when starting out with AppleScript.
    From your question, it's clear that you're trying to get AppleScript to perform the actions you'd take manually - open this, click here, select this menu item, etc.
    While that's mostly workable (and easy to conceptualize), that's not where AppleScript's strength is. Rather than telling AppleScript HOW to do things (click here, type this, etc.) you're better off telling it WHAT you want it to do - in this case, open a torrent file. The reality is that - in most cases - you don't care HOW it's done, just that it happens. In this case you have no real interest in clicking menu items, navigating file dialogs, etc. you just want to open the file.
    Therefore I suggest that your request could be handled by:
    tell application "Finder"
      open file "your.torrent" of folder (path to downloads folder) using application "Vuze"
    end tell
    Now this does assume that you know the name of the torrent you want to open, but could be easily reworked to prompt you if that's what you need.
    Note also that this script targets the Finder to open the file - that's because Vuze has no AppleScript support of its own - you can't tell Vuze to do anything directly. It's an all too-common problem.

  • How to repair DNS hostname?

    Hello,
    I had a working DNS setup with the right Primary address, Current HostName and DNS hostname. While figuring out how to use the Print service my DNS hostname changed. I suspect that when I was adding a printer IP to the DNS list something went wrong. After that the DNS hostname must have changed to the name of the mail server. I discovered that, because I could not access the internet anymore and did a 'changeip -checkhostname' to check the settings. I thought that it was simple to delete the mail-server from the dns list to get the right DNS hostname back. But that's not the case.
    After putting in the mail server address the mail did not function either. So my DNS is mess now.
    I tried searching in the support discussions for a way to repair this, but could not find an answer that fits the situation.
    I am in the middle of a swith over and because everything was working (except the printers) I decided to move all data and mail from the old Windows servers to the new Mac servers. Because the system is in use now for a week I can't simply switch back. So I am stuck in this situation and desperate. Yes, I made a classical mistake not to backup first the working servers. But that happens when you are in a rush to get this done. This is my first Apple server experience and was very happy I came this far with the available Apple docs and discussion support.
    Server network situation:
    - Mac Mini server1 (en0:10.0.0.1, en2:191.168.0.128 (USB-adaptor)) configured as DHCP, NAT, FireWall and secondary DNS
    - Mac Mini server2 (10.0.0.2) configured as Primary DNS, Mail, Open Directory, AFP and SMB
    I configured with non-authorative domainname (say mydomain.nl). In the near future I will have a fixed IP-address so the domainname can be used from the internet.
    changip -checkhostname on result:
    Primary address = 10.0.0.2
    Current Hostname = hollandia.mydomain.nl
    The DNS hostname is not available, ...
    scutil --get LocalHostName = DeHollandia
    scutil --get Hostname = hollandia.mydomain.nl
    dig -x 10.0.0.2
    ;; ->>HEADER<<- opcode: QUERY, status: SERVFAIL, id:3354
    ;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 0
    ;; QUESTION SECTION:
    ;2.0.0.10.in-addr.arpa. IN PTR
    ;; SERVER: 10.0.0.2#53(10.0.0.2)
    DNS configuration:
    -mydomain.nl
    hollandia Machine 10.0.0.2
    beschermer Machine 10.0.0.1
    mail Machine 10.0.0.2
    -0.0.10.in-addr.arpa.
    10.0.0.1 Reverse Mapping beschermer.mydomain.nl
    10.0.0.2 Reverse Mapping hollandia.mydomain.nl
    Hopes the above info is a start to the solution.

    Solved.
    After some study of DNS examples I manually edited the file /var/named/zones/db.0.0.10.in-addr.arpa.zone.apple.

  • Multiple app crashes, disk utility has no First AId tab

    My Apple apps are almost all crashing; Mail, Ical,System Profiler, iChat, and when I try to repair permissions, Disk Utility loks very different and only gives me a screen to restore a disk - no First Aid, in fact no tabs at all.
    I verified the disk using my install dvd - it saw no problems.
    Before this happened, I installed Journaler, repaired permissions and also backed up to an external drive - initially using Silverkeeper 1.2. When that said system error, I realized it was not the latest version. 1.3 ran fine. Then I (stupidly) used Macjanitor to do clean up. I see now that there is a more recent version of that too. Have I cleaned out some essential file?
    I am reading the link on xlab about multiple app crashes and searching the archives here - any help would be deeply appreciated!
    Phoebe

    It was a classic mistake - I did a backup after the update, and had a setting in Silverkeeper that copied more recent files BACK to the computer from the external drive. Dumb Dumb Dumb... Since parts of my 10.3 System and Apps were more recent than the out of the box Tiger Dvd, I then had a mix of 10.3 and 10.4 trying to work together. Big mess, glad I figured it out. Did a clean install of Tiger, then added all my files from the backup.

  • Correcting White Balance with no white in shot

    Does anyone have any tips for correcting white balance when the footage has no white objects to act as a reference? This was the classic mistake of shooting outdoors with an indoor setting. We were rushing to utilise a gap in the rain!
    Also, is there any way to tell Premiere how to correct WB via a sort of colour matching, by pointing it towards a correctly white balanced still of the scene?
    Thanks
    Davyd

    This is a really tricky thing. There's a lot of ways to approach it. I had similar problems with a WB correction mismatch between presets on my 7D and 70D. No white in either shot.
    I exported a few frames in to PS first to get a rough idea with what I was dealing with.
    Use the Info window to check something grey.
    Alternately, if there is nothing grey, you can use skin tone patches. This is a common tool used by skin retouchers in PS. Grab a small sample or two from the desired skin tones, either from a 5x5 grab with the eyedropper or just grabbing a small section with the lasso tool and Gaussian Blurring that to heck and back. Once you get a bit of a palette of skin tones you like, you can use that as a reference for your work with the Fast Color Corrector.
    To be honest, I feel the FCC is a little underpowered and I wish I had my AAVC 6 Channel HSL tool from Vegas when color correcting.
    As a Photoshop geek, I am a little uncomfortable with the video color correction toolset.
    To export a frame, click on the viewing panel and hit Ctrl-Shift-E.
    Try opening the frames in Adobe Camera Raw and you can get some temp and tint values that can also help you with your Prem Pro toolset.
    Remember to watch out for channel clipping when making dramatic changes in WB.

  • User Exit for VA01 and VA02: Duplicate PO check

    Hi,
    I am writing a userexit for PO check in VA01 & VA02 trx.The PO number should be unique.If we enters the existing PO number it should go to Incompletion log.I am calling check_po_number form in userexit_save_document in mv45afzz. it is not working....
    what is wrong in my code?
    Thanks in advance,
    fractal.
    FORM CHECK_PO_NUMBER.
    DATA : begin of ivbkd occurs 0,
             vbeln like vbkd-vbeln,
            end of ivbkd.
    Select DISTINCT vbeln into table ivbkd from vbkd
              where bstkd = vbak-bstnk.
    Select * from vbak up to 1 rows
             for all entries in ivbkd
              where vbeln = ivbkd-vbeln and
                    kunnr = vbak-kunnr.
    endselect.
    if sy-subrc = 0.
         perform set_so_incompletion_log using 'PONM'.
    else.
       perform reset_so_incompletion_log using 'PONM'.
    endif.
    ENDFORM.
    FORM set_so_incompletion_log using value(logid) type c.
    case logid.
    when 'PONM'.
         read table xvbuv with key
         vbeln = xvbak-vbeln
         tdid = 'Z026'.
         if sy-subrc <> 0.
          XVBUV-MANDT = SY-MANDT.
          XVBUV-VBELN = XVBAK-VBELN.
          XVBUV-POSNR = '000000'.
          XVBUV-ETENR = '0000'.
          XVBUV-PARVW =  ''.
          XVBUV-TDID  =  'Z026'.
          XVBUV-TBNAM =  'FTEXT'.
          XVBUV-FDNAM =  'LTEXT'.
          XVBUV-FEHGR =  '50'.
          XVBUV-STATG =  '02'.
          XVBUV-UPDKZ =  ''.
          XVBUV-FCODE =  'KTEX_SUB'.
          XVBUV-MSGKZ =   ''.
          XVBUV-SORTF =  '9999'.
          XVBUV-LFDNR =  '0000'.
          APPEND XVBUV.
         endif.
    ENDFORM.
    FORM reset_so_incompletion_log using value(logid) type c.
      case logid.
        WHEN 'PONM'.
           delete xvbuv
           where vbeln = vbak-vbeln
           and   tdid  = 'Z026'.
         WHEN OTHERS.
    endcase.
    ENDFORM.

    Hi Fractel,
    One of the classic mistakes we make when we use the <i>'for all entries in itab'</i> option is that we don't check if there are any entries in the itab or not. As a result of an empty itab, your select will always be true, because it is going to select everything and so the issue.
    Add a sy-subrc check in your code after select from vbkd. If sy-subrc <> 0, you don't have to go any further and if sy-subrc = 0, it means the PO is already used. Why are you even going to VBAK table?
    Remember, you are working with VBAK that is in your work area, and when you do a select from VBAK, you are overwriting your workarea, if the selection is successful. That will be dangerous. Don't do the VBAK select. You don't need that.
    If the VBKD select is successful, then you have a duplicate PO and if not, you don't have a duplicate PO. Isn't that the case?
    Srinivas
    Message was edited by: Srinivas Adavi

  • Keynote non-linear scale in line graph

    I'm trying to teach kids how to do line graphs and it doesn't help that Keynote treats the horizontal axis like it's a bar graph... even when you want a line graph. It takes the data points and spaces them evenly which can give you a non-linear scale. This is one of the classic mistakes kids make. Grapher can do it correctly but that's one more step.
    Any way to make it behave properly?
    aedan
    iMac G4 800, PowerBook G4 12, loads of older ones.   Mac OS X (10.4.5)   The SE/30 is the king of compacts.

    Keynote's graphing capabilities are relatively rudimentary, especially with regards to more technical needs. As far as I know, Keynote always treats X-axis labels categorically (it doesn't understand numeric values), and thus will always evenly space the datapoints.

  • RMI-IIOP vs WL RMI performance

    Hi,
    We did some performance test of WebLogic RMI and under high load (500-1000
    users), it is rather slow. It is even slower with an EJB interface. If we
    were to used IIOP as the underlying transport protocol, will it improve?
    Would you have any other suggestions for improving performance?
    Thanks
    MC

    Hi,
    Thanks for your reply.
    What I am interested in is the performance of RMI where multiple clients
    e.g. JSPs, all make requests to the same object, as that is what will happen
    in real life. Benchmarking with a single multi-threaded JVM client was not
    recommended - but it seems that JSP may be executed on a single
    multi-threaded JVM client anyway, depending on the Web Server of course.
    Currently, I don't understand how the server-server benchmarking that you
    proposed would work so if you could elaborate on it, that would be great.
    Thanks again,
    MC
    "Don Ferguson" <[email protected]> wrote in message
    news:[email protected]..
    Yes, increasing the thread count will definately help. And note also thata
    WebLogic server has different default configuration values than a WebLogic
    client, so if you want to benchmark server-server performance, you reallyneed
    to use a server.
    mcn wrote:
    Hi Andy,
    Indeed, I was testing using a single multi-threaded JVM client. However,
    isn't that the case if I were to use a web server and have 500-1000
    JSP's
    invoking methods on the same object? What is the work around?
    Also, I had the executeThreadCount at the default value of 15. Willdoubling
    it help?
    Thanks
    MC
    "Andy Piper" <[email protected]> wrote in message
    news:[email protected]..
    "mcn" <[email protected]> writes:
    We did some performance test of WebLogic RMI and under high load
    (500-1000
    users), it is rather slow. It is even slower with an EJB interface.
    If
    we
    were to used IIOP as the underlying transport protocol, will it
    improve?
    Would you have any other suggestions for improving performance?It is likely that you have some config issue (heap size, number of
    threads etc) since RMI is known to scale pretty well. Using IIOP will
    not improve things. Also make sure you are not making the classic
    mistake of invoking from a single multi-threaded JVM client since this
    will multiplex all calls over the same connection.
    andy

  • JavaScript Code Not Operating the way I want it...

    Hello All!
    Got a bit of JavaScript that doesn't seem to work properly.
    The line is as follows:
    var begin = this.getField("Class").value;
    if (begin = 1) event.value = Math.floor((this.getField("CON").value + 9) + (this.getField("Level").value * 6));
    else if (begin = 2) event.value = Math.floor((this.getField("CON").value + 7) + (this.getField("Level").value * 5));
    else if (begin = 3) event.value = Math.floor((thisget.getField("CON").value + 6) + (this.getField("Level").value * 4));
    It is tied to a dropdown box called "Class" and when you choose a choice, the field is supposed to do one of those three equations based on your choice. I've assigned all the proper export values, but the field seems to only display the value of the first equation. It doesn't change or alter when I change my choice. The other fields the equations tie to (Level and CON) change the value accordingly, but it doesn't seem to register the value or variable of the dropdown box. I thought it might be a 'calculate order' problem, but that doesn't seem to be it as it is in it's appropriate spot in the way the rest of the calculations occur. If I assign a simple box to display the "values" of the dropdown box, it works like it should.
    Am I missing something?

    You're doing the classic mistake of using the assignment operator ( = )
    where you should use the comparison operator ( == ).
    So in all of your if-statements, like:
    if (begin = 1)
    You need to use:
    if (begin == 1)

Maybe you are looking for

  • I have no Menu or Navigation bars available when I open Firefox

    While trying to delete an unused ad-on, i erroneously deleted my Menu and Navigation bars. Now, despite having uninstalled and re-installed Firefox, no menu or navigation bars are there when I open up. I can only get my homepage. How do I re-install

  • Uploading new Org Structure when old one exists?

    Good day, I m faced with the following scenario: There is an org unit with the following no assignment: O --> 00001 to 09999 S --> 100001 to 199999 P --> external number assignment Now only S P and O are being used. The client wants to correct the cu

  • New Client in Solution Manager 4.0

    Hi Gurus, i need make a new client copy in Solution Manager 4.0 and I had made a entry also in SCC4 but after that entry when I am trying to login with sap* & pass in that new client. It is not allowing me to login it is saying "wrong user or passwor

  • How to  configur Tomcat in Linux

    Hello, Want some help about how to conficure Tomcat5.1 in Lunux...I had worked alot in windows ... Thanks.... Regards AaronN :)

  • Refine edge/Masking

    Please help, I have read many threads and tutorials regarding this and am still having issues.  In outline, I have takena  number of photos to use on a website/flyer, I used the magic wand and refine edge tool to extract the image but when I go to dr