Weird compiling/running issues

I am having these very odd troubles. In my applet, I sometimes need to alter the code then re-compile it to make changes right? Then I'll open up my .html file with the applet tag in it to bring up my newly compiled class file. Well, although I re-compiled, the html file still loads the old, outdated applet. BUT...get this, if I remove all of the files out of the directory with the html file, except the html file, it still loads the applet. ???WHAT??? Where does it get the source.class file I call for, I moved it to a totally different directory! This even goes one step further. If I copy and paste all of the files after I compiled to a different directory, it loads the new class file. This is good but check this out, if I move all the files back to the original directory, it loads the old applet again! And if I move the files back to the other directory, yup, you guessed it, it loads the right one again.
This gets very annoying because in order to see how a change in my code affected my applet, I have to compile then move to a new directory to see the changes. Its like each folder has saved its own version of the class file for the html file to direct itself to.
Can I fix this???
Thanks!
Brian

Did you tried to take the page using a new instance of the explorer??... Close the old one and start a new instance of explorer.. may be the explorer is caching the applet....

Similar Messages

  • How to Compile/Run servlet in Tomcat 4.1

    Hi All,
    iam trying to compile my servlet program in tomcat4.1.. but its showing an error
    in the import statement..
    UN SOLVABLE SYMBOL... but the import ststement is correct...
    can any one help ... is there i have to set any path for compiling/running the servlet...
    Thanks in Advice

    hi thanks for your reply
    i have loaded tomcat4.1 exe -- for windows i am starting the tomcat server by clicking from the start menu..
    i dint set any env variable .. tell me how to set...
    regards
    ijay

  • Can Xcode 4.5.1 compile/run java?

    Can Xcode 4.5.1 compile/run java?

    When you create the project, there is a Build Tool text field. Enter the path to the Java compiler there.
    If you've already created the project, select the project from the project navigator on the left side of the project window to open the project editor. Select your target from the left side of the project editor. Click the Info button at the top of the editor. Enter the path to the Java compiler in the Build Tool text field.

  • Compile & run JSP programm

    Salam
    How can i Compile & run JSP program?
    Slam

    You don't directly.
    A JSP page runs on a java enabled webserver (eg Tomcat)
    You need one of those to run JSP pages.
    When you ask for a jsp page from the server, (eg http://localhost:8080/mySite/myjsp.jsp) the webserver translates and compiles it into a servlet and then runs it for you.
    Cheers,
    evnafets

  • Weird USB / sleep issue; what can I do?

    This is an ongoing issue that has been popping up since at least as far back as 2012, possibly further. It never made sense, and I've slowly pieced together some strange occurrences that might shed some light on the problem.
    Back in the Fall of 2012, I copied some data onto a USB thumb-drive from my laptop, then a 15-inch MacBook Pro (I bought it used, I think it was 2006 or 2007 vintage). There was a large amount of data transferred. The copying process took about half and hour. I took the thumb drive to a friend with a much newer computer. My friend told me the transfer took a few minutes. I knew something was wrong then. The MacBook Pro was running MacOS 10.6.8.
    The MacBook Pro died March, 2013. I was able to hire a specialist to extract the internal hard disk from the laptop, put it in a USB case, and transfer the contents verbatim to a newer machine; I had to buy a refurbished late-2012 iMac. running MacOS 10.8. (Now runs 10.9)
    I have noticed peculiar behavior in running this iMac. USB thumb drives and other USB hard drive transfers can occasionally seem sluggish. Weirder still, if I put the iMac to sleep overnight, waking it up in the morning causes a very strange "wake up" process where the display is greyed out and a progress bar lets me know it is slowly waking up. This wake-up process takes one to two minutes. This only happens when there are no USB peripherals connected to the iMac. If I put the iMac to sleep with a thumb drive plugged in, it wakes up instantly.
    I have long suspected the iMac had some kind of software bug or corruption that was brought over from the MacBook Pro in March of '13, when I hastily transferred everything over in the midst of the laptop's breakdown crisis.
    Recently, I ran Software Update on the iMac to get Epson and Security updates installed. I repeatedly was greeted by the warning message: "System extension cannot be used  The system extension "/System/Library/Extensions/AppleUSBEthernetHost.kext" was installed improperly and cannot be used. Please try reinstalling it, or contact the product's vendor for an update." I have no idea what this means, but it does seem to confirm that there's some weird bug loose and it has to do with USB.
    The only question is: what can I do about it? Would calling AppleCare for advice help?
    I am my own "Chief Cook and Bottle Washer", in that I do my own I.T. most of the time. I've been using Macintoshes since 1986.

    Hi Walt_Atwood,
    I'm sorry to hear you have been dealing with this issue for so long. If you are getting error or alert messages about a deep system file (like a System .kext), you may want to try reinstalling your OS. This should not affect your files or user settings (as noted in the following article), but just to be safe it is alway a good idea to have a backup of your data prior to these kinds of troubleshooting steps.
    OS X Mavericks: Reinstall OS X
    OS X Mavericks: Back up your Mac
    OS X Mavericks: Alternatives for backing up your Mac
    Also, regarding the unusual wake up process that you noted, from your description it sounds like your machine is waking from Safe Sleep. This may be normal for your model (Late 2012 iMac) if it has been asleep for more than 4 hours and there has been no USB activity:
    Mac computers: Progress bar appears after waking from sleep - Apple Support
    Regards,
    - Brenden

  • Compilation CD Issues

    Good Day,
    I'm running into issues with iTunes and my compilation CDs. For example, if I have a soundtrack from a movie, it will show each song separately. I read through some forums and tried the "fix" for it. It goes as follows:
    1. Start by finding the album you want to modify. I like using iTunes' browser. You can open it by choosing View > Show Browser.
    2. If you are using the iTunes browser, albums appear in the right hand column. You can trim down your album list by selecting a genre from the left column, and an artist from the center column.
    3. Once you select the album you want to modify, choose File > Get Info, or use the Command-I keyboard shortcut.
    4. When you select more than one song to edit - in this case by selecting an entire album - iTunes checks to see if you really want to edit the settings for multiple tracks. Click the Yes button to dismiss the dialog window that says Are you sure you want to edit information for multiple items?
    5. If you are tagging an album as a compilation, choose Yes from the Compilation pop-up menu.
    6. Click OK.
    Even after doing this, it's not going to a "compilation" CD. Is anyone else having this issue? Any help would be great. Thanks!
    Regards,
    Brian
    Dell Laptop - Dual Core Windows XP Pro
      Windows XP Pro  

    This worked for me. Are you highlighting/selecting all the songs before doing this step?
    3. Once you select the album you want to modify, choose File > Get Info, or use the Command-I keyboard shortcut. <</div>

  • 3 weird ALU iMac issues..

    My ALU 20 inch iMac has 2 or 3 weird problems which I'd appreciate feedback on...
    1. When I run Maintenance or Onyx they both said my start up has a problem and I need to install the original start up disk and have it repaired. I did so, it checked and said there were NO start up issues.
    2. After shutting down for 3 days as I was away on holiday, I came back, started her up and there was the sound of the computer's drive being on but no start up process and nothing on the screen. I turned off for a while, did again, and on the third attempt it started up as normal.
    3. Most weird of all, after downloading and watching a TV episode from iTunes, my dock disappeared. I put it to sleep and this morning it is still the same. I can only access Mail and Safari through the 'recent item's drop down menu.
    Are these things connected? Why on earth does Onyx say I have a problem when the disk says I don't, and where might my dock be....?

    Hello and thanks for your reply/
    The Maintenance version is 1.2.0 and was just downloaded.
    It says "the volume needs to be repaired. To repair your start up disk, start up from your OSX DVD..."
    No more specific than that I'm afraid = start up volume?
    Thanks.

  • Weird Laptop LCD Issues

    I've having weird issues with my T500 LCD. Whenever I run certain apps, all the icons on the desktop (that I can see) flicker until either A) I close the app B) it resolves itself and loads. This issue seems to always happen when the app I'm using has a splash screen (basically a small square image in the center saying I'm loading app X)  I'm updating the drivers and hoping that this resolves the issue.
    I don't know what is causing the issue and I don't know know when its started.
    T500, Win XP Ati HD 3650.
    (NOTE: The apps DO work on other machines... )
    EDIT: No luck, the weird screen issue is still happening.
    T500 2081 CTO ~ T9600 2.8GHz ~ WXP Pro 32bit ~ WSXGA+ 15.4 LED ~ATI 3650 ~ 4GB DDR3 RAM ~ 500GB WD 7200rpm
    Camera ~ AT&T WWAN ~ CD/DVD Combo Drive ~ Intel WiFi 5300 AGN

    what if you switch to the intel gpu mode?
    Regards,
    Jin Li
    May this year, be the year of 'DO'!
    I am a volunteer, and not a paid staff of Lenovo or Microsoft

  • Weird CS4 hanging issue in windows Vista when opening files with PS already loaded

    I just installed the demo. I have a dual monitor setup running Windows Vista Ultimate x64 with 8GB ram ...
    It appears I have both the 32bit and 64bit versions of PS CS4 installed. If I open either of these apps, then choose say a jpg on my desktop, right-click in windows, choose, 'open with' and select 'Adobe Photoshop CS4', then PS hangs - period. After a while, clicking the title bar of the app (which is a kind of menu bar in this version) causes it to return to the old look windows title bar where it shows my image name and the zoom etc, but with the usual (Not Responding) at the end of the title bar text!
    It does this no matter which version (32 or 64bit) is presently loaded. It also does it if I have CS4 loaded and I select 'Edit with Photoshop' in Lightroom 2.1 (my main app which is configured to output files in 16bit PSD format).
    Another weird quirk I found in CS4 - if I select 'Help', 'System Info' it displays the info on my second monitor, not my first! I figure this by the screen res shown as my second monitor (monitor 3 in Vista) is only running 1280x1024. Not sure if this has an effect on which monitor profile is used by PS - I would hope not as my 1st monitor is my calibrated one!
    Thanks, Paul

    Freeagent - I just did some more testing and figured the issue I think! I had selected 'Enable OpenGL Drawing' in Performance preferences and even though I have the very latest nVidia driver (downloaded today) this still causes this issue!
    One issue I have noticed though since figuring how to fix this - I have 2 monitors and on the left one I have the panels un-docked and laid out neatly on the desktop. I then have the main PS window with it's height shrunk as slim as possible and filling the top width of my 2nd monitor. In CS3 when I open an image, it generally remembers where the last one opened and uses the same place - this includes if I had the image in its own window on my main monitor. In CS4, it seems to want to open them in tabbed dialogs within the PS main window and for some reason they are on minimal magnification, so I need to drag the tab over to my main monitor every time and zoom in to get a decent size displayed.
    Is there anywhere to configure where you want it to open images?
    Thanks, Paul

  • Weird Enterprise T5220 issue

    I'm getting strange results when using the last Gigabit ethernet port (port #3) on my brand new Enterprise 5220. Here is the output from ifconfig -a:
    lo0: flags=2001000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4,VIRTUAL> mtu 8232 index 1
    inet 127.0.0.1 netmask ff000000
    e1000g0: flags=1000802<BROADCAST,MULTICAST,IPv4> mtu 1500 index 9
    inet 0.0.0.0 netmask 0
    ether 0:14:4f:ec:bc:1c
    e1000g1: flags=1000843<BROADCAST,MULTICAST,IPv4> mtu 1500 index 8
    inet 0.0.0.0 netmask 0
    ether 0:14:4f:ec:bc:1d
    e1000g2: flags=1000802<BROADCAST,MULTICAST,IPv4> mtu 1500 index 10
    inet 0.0.0.0 netmask 0
    ether 0:14:4f:ec:bc:1e
    e1000g3: flags=1000802<BROADCAST,MULTICAST,IPv4> mtu 1500 index 11
    inet 0.0.0.0 netmask 0
    ether 0:0:6:0:5a:a5
    I find it very odd that the MAC address is 0:0:6:0:5a:a5 and not 0:14:4f:ec:bc:1f. I seem to recall earlier that it was reporting a MAC of 0:0:0:0:0:0. Running speed tests through it also gives lower than expected results. The switch and system both show that it's connected 1000 Mbps/full duplex but I only get around 400 Mbps, while I get 600-700 Mbps through the other Ethernet ports.
    Wondering if I have a faulty ethernet port.. Has anybody else seen similar behavior?
    Thanks!
    Jim
    Edited by: JimBuitt on Aug 6, 2008 1:13 PM

    I may have to test this on my machine but it may be that the filename that got pass the filter was in uppercase maybe and that's how it sneaked through. Your filter looks for only lowercase filenames that end with ".wmv".
    The only thing that is case-insensitive by default is the "mail-from" and "rcpt-to". Almost everything else (subject, message-body, other-headers, filenames) are case sensitive. To make these things case insensitive, you'll want to prepend your filter with this:
    Attachment-filename == "(?i)\\.wmv"
    or
    Attachment-filename == "(?i)\\.(exe|bat|com|sh)"
    (?i) --> means ignore the case on whatever follows this regex. You pretty much want to use this in most cases to be safe since match whether it's upper or lowercase. Performance-wise, it should be okay.
    By the way, Ironport filters use Python regex.
    Again, I'll have to test this on my side.
    I have had a weird issue come up with our content filtering today, and am wondering if anyone else has come accross it.
    We have a number of Content Filters setup. One of these it looking for various media files including .wmv files (We have used a "Attachment-filename == "\\.wmv"" to look for them).
    This works as required. However this morning out outbound Media File content filter trapped a message containing a wmv file going out that had been received by the user the night before.
    this message last night was processed by the IronPort, the wmv was not hidden or re-named in any way. It was just not stopped by the content filter.
    I have checked everything I can think of and I can see no reason why the message wasn't stopped. WMV's are being stopped OK as I type this.
    Has anyone else come accross or noticed this.
    This is on a C650 Appliance running 5.5.1

  • [SOLVED] xelatex weird font display issue

    Hello all
    I was playing around with fonts on my system today, and noticed that, all of a sudden, the fonts were being garbled by xelatex whenever I compiled a document. Backtracking to what I'd done, it turns out that xelatex will get confused by multiple occurrences of the same font in a fc-cache path (for want of a better term). Earlier on this afternoon, I'd recently followed a guide in the wiki (or thereabouts) to make some TeX fonts available to fc-cache. However, xelatex looks in the system font path when it loads them, and appears to discover two or more versions of the same font, and doesn't know which to substitute. Hence the output text gets a whole lot of characters messed up.
    The solution is simple: remove the LaTeX fonts from the system search path. In my case, I'd symlinked `/etc/fonts/conf.avail/09-texlive-fonts.conf` to `/etc/fonts/conf.d/09-texlive-fonts.conf` (as you do to enable fontconfig rules), and run fc-cache to update them. Removing this link and updating the cache fixes the issue, after recompiling the affected documents.
    Does anyone think I should edit the wiki to point this out for future reference? It had me confused for a bit (right when I need to compose a job application due Monday), and Google didn't say anything. It might be useful for other tinkerers.
    Douglas Adams wrote:A learning experience is something that tells you, "You know that thing you just did? Don't do that."
    Appropriate? Perhaps.

    I've had similar problems with XeLaTeX in the past. I hope they figure out a way to fix it.
    I think perhaps the wiki should be edited to give a warning that this might happen, and maybe water down the suggestion for making TeX fonts available and/or suggest alternatives.
    Personally, I quickly regretted the decision to make all the TeX fonts available to fontconfig, merely because the huge number of them (at least for a full TeXlive install) made using any font selection dialogue overwhelming. I've switched to fc-caching them manually if and when I need them.

  • R12 compile fliexfield issue

    Hi;
    I have r12 (12.0.6) instance on aix,i took its clone and after clone process fliexfields(DFF_KFF) can be invalid? As i know in r11 there is opton for compile fliexfiled in adadmin utulity. In r12 how i can compiled fliexfiled (DFF-KFF) which is become corrupted or Invalid
    Thanks alot

    Hi,
    Compiles flexfield data structures in Oracle Application Object Library (FND) tables. Choose this task after you apply a patch that changes the setup of flexfields. Patches usually indicate when you should perform this step.
    Flexfields automatically compile data when you use them for the first time, so running this task is generally not required. However, compiling flexfields at a specific time can alleviate potential runtime performance issues. For example, you may choose to compile them when system usage is known to be low, rather than automatically on first use.
    Oracle Applications Maintenance Utilities
    http://download.oracle.com/docs/cd/B53825_03/current/acrobat/121admu.pdf
    Regards,
    Hussein

  • Progress Bar Stuck, weird behavior running reports

    Sorry if it's not the right way to reply or post a comment.
    I just installed EA3 and additional to comments reported by ChrisMiller about the "Locks' reports, please, add this "weird" issue that occur once you try to run whatever of those reports, the progress bar got stuck like the query is running but it's not true, if you move your mouse pointer over the progress bar you'll see the child query corresponding  to "Blocking lock by user" the query predicate is looking for :BLOCKER_ID that doesn't exist?  and if you try to run another different report (whatever) you'll see in the progress bar the query executing is the one that was stuck from "Locks" reports, again you see the query with the :BLOCKER_ID in the predicate.

    if you've already gone through all the help on that page, you really need to make sure your cc app is properly installed.
    i would uninstall it.
    run the cleaner to see if it can find anything, http://www.adobe.com/support/contact/cscleanertool.html
    restart your computer.
    then reinstall the cc app and make sure it installs without problem.

  • Install/run issue...

    hi...
    i'm new to java. i'm trying to install java (1.4.1) on a redhat linux (8.0) and trying to get the following test app to run... i'm getting an error when i try to run, so i don't know the actual cause of the error. i might have the java environmebt set incorrectly, or the test app may not be correctly written (it was on one of the java install sites that i was using as i was installing...)
    i have JAVA_HOME as a environment var
    i seem to have the "correct" dir structure for java on the system
    i can do java -version.. and get version of the java environment
    - can do javac .. and i get the list of attributes...
    i have the following test app in a separate dir
    import java.lang.reflect.Array;
    class Test
    public static void main( String argv[] )
    System.out.println( "Arguments:" );
    int i = 0;
    while( i < Array.getLength(argv) )
    System.out.println( argv[i] );
    i++;
    i can compile it with no apparent issues...
    when i ->> java test q1 q2 q3
    i get the following error..
    Exception in thread "main" java.lang.NoClassDefFoundError: test
    i can't seem to find a good explanation using google as to what this means, or what's causing it..
    any help/assistance would be appreciated!
    thanks
    bruce
    [email protected]

    The 'import' statement is only used during compiling. You posted a run time error so it should have nothing to do with import.
    The class you posted is named Test. The command you posted used test. Java is case sensitive.
    If that isn't it, then it is probably a Classpath problem. Try going to the directory where the Test.class is located and using the commandjava -classpath . Test

  • Weird Content Filtering Issue

    I have had a weird issue come up with our content filtering today, and am wondering if anyone else has come accross it.
    We have a number of Content Filters setup. One of these it looking for various media files including .wmv files (We have used a "Attachment-filename == "\\.wmv"" to look for them).
    This works as required. However this morning out outbound Media File content filter trapped a message containing a wmv file going out that had been received by the user the night before.
    this message last night was processed by the IronPort, the wmv was not hidden or re-named in any way. It was just not stopped by the content filter.
    I have checked everything I can think of and I can see no reason why the message wasn't stopped. WMV's are being stopped OK as I type this.
    Has anyone else come accross or noticed this.
    This is on a C650 Appliance running 5.5.1

    I may have to test this on my machine but it may be that the filename that got pass the filter was in uppercase maybe and that's how it sneaked through. Your filter looks for only lowercase filenames that end with ".wmv".
    The only thing that is case-insensitive by default is the "mail-from" and "rcpt-to". Almost everything else (subject, message-body, other-headers, filenames) are case sensitive. To make these things case insensitive, you'll want to prepend your filter with this:
    Attachment-filename == "(?i)\\.wmv"
    or
    Attachment-filename == "(?i)\\.(exe|bat|com|sh)"
    (?i) --> means ignore the case on whatever follows this regex. You pretty much want to use this in most cases to be safe since match whether it's upper or lowercase. Performance-wise, it should be okay.
    By the way, Ironport filters use Python regex.
    Again, I'll have to test this on my side.
    I have had a weird issue come up with our content filtering today, and am wondering if anyone else has come accross it.
    We have a number of Content Filters setup. One of these it looking for various media files including .wmv files (We have used a "Attachment-filename == "\\.wmv"" to look for them).
    This works as required. However this morning out outbound Media File content filter trapped a message containing a wmv file going out that had been received by the user the night before.
    this message last night was processed by the IronPort, the wmv was not hidden or re-named in any way. It was just not stopped by the content filter.
    I have checked everything I can think of and I can see no reason why the message wasn't stopped. WMV's are being stopped OK as I type this.
    Has anyone else come accross or noticed this.
    This is on a C650 Appliance running 5.5.1

Maybe you are looking for