Timer works with Java 1.4 and not Java 1.3 - Why?!

I am totally lost. I can run this bit of code in java 1.3 and all works fine...
     ActionListener alarmtask = new ActionListener(){
           public void actionPerformed(ActionEvent event){
              decrementClock();                    
              setDisplay();
        alarm = new Timer(1000, alarmtask);Then later...
        alarm.start();But when I run it using Java 1.4 it does nothing. The decrementClock() method is never called. I have checked if alarm.isRunning(); and it is.... it seems that the actionPerformed() message never gets to alarmtask.
Please help!
Thanks
LT

I don't know whether this helps, but:
The Installer copies the java.exe and javaw.exe files into c:\{windows\winnt}\system32 which is on the path variable by default. These files are copied from the JRE, not the SDK.
Try use:
...\> java[w] -showversion your.Classto ensure it's actually the intended version.
It's hard to believe yet that this is the problem... another idea: is it possible that you change CLASSPATH along with this, such that it points to an outdated version of your implementation?

Similar Messages

  • Key backspace and delete work with JDK1.3.1 and not with JDK1.4

    In JCTable, keys backspace and delete are not working with JDK1.4. It works with JDK1.3.1.

    I have the same problem, but the version within SUN seems imcomplete,what version is ?
    For example I am using the xsl tag library provided by Apache (I know this now deprecated). In its ApplyTag.java it uses XSLTDataSource this is not in the SUN 1.4 distribution so it falls over. If I add XALAN 1.0.1 it falls over because it on getDefaultLiason() because it starts loading somne classes from rt.jar and some from xalan.jar, how are you meant to override this.

  • When working with quick selection tool (and not only) the whole psd file gets damaged.

    Hello there,
    Since I first tried Photoshop CS6 on PC I encounter the following problem: when I use quick selection tool at some point the selection gets completely random and I see parts of my artwork disapear. Even after closing the file without saving the changes I see the artwork completely corrupted, without any possibility to recover. As if parts of the image were deleted.
    The problem persisted after I changed to Creative Cloud on Mac (I'm running OS X 10.8.5.)
    I have just seen that it also happens when I work with regular layer masks.
    I desperately need to fix this problem because I cannot keep using hours of retouching work again and again.
    Hope someone can help.
    Cheers
    Julia

    I am also having the same exact issue. This is the third time this has happened in about six months. I use the quick selection tool and I see a alpha mask that looks truncated and it show random parts of the image in the mask which has nothing to do with the selection. But the worst part of this is that my retouching layer the only other layer comes back completely empty even if I try to save the file in various other file types like tiff and it comes back empty. I'm losing a lot of retouching time here. I also hope some else has an answer.
    Thanks
    Mike

  • My iphone 4 lock screen/power button is not working, nothing spilled on it and not dropped, any idea why the button won't work?

    My iphone 4 lock screen/power button just stopped working.  nothing spilled on it and not been dropped.  Any idea why it stopped working?

    Kat Goddess wrote:
    Any idea why it stopped working?
    I have no idea why it stopped working.  But why it failed does not matter.
    Take it to an Apple Store or Authorized Apple Repair Center and have it assessed and see what it would take to get it working.

  • How does xalan.jar work with jdk1.3.1 and not work with jdk1.4.1

    Hi,
    i am using java, xalan, xerces for web development. The environment is jdk1.4.1, xerces.jar, xalan.jar. i am facing problem while transforming xml, xsl. Its giving the following error
    java.lang.NoSuchMethodError: org.apache.xalan.xslt.Process.getDefaultLiaison()Ljava/lang/String;
         at org.apache.xalan.xslt.XSLTEngineImpl.(XSLTEngineImpl.java:367)
         at org.apache.xalan.xslt.XSLTProcessorFactory.getProcessor(XSLTProcessorFactory.java:79)
    I tried with jdk1.3.1, xalan.jar, xerces.jar. Its working fine. Can anyone tell me what is the problem with jdk1.4.1 ?
    Regards
    Ashok

    I have the same problem, but the version within SUN seems imcomplete,what version is ?
    For example I am using the xsl tag library provided by Apache (I know this now deprecated). In its ApplyTag.java it uses XSLTDataSource this is not in the SUN 1.4 distribution so it falls over. If I add XALAN 1.0.1 it falls over because it on getDefaultLiason() because it starts loading somne classes from rt.jar and some from xalan.jar, how are you meant to override this.

  • Applets not working with Java 1.7.0_51 in MII 14.0 SP4 Patch 5

    Hi,
    I'm currently evaluating the migration of our MII 12.0 developments to MII 14.
    But I'm running in several issues just trying to use simple things like a SQL query template with an iGrid Display template in test mode.
    Used versions are: MII 14.0 SP4 Patch 5 and on client side the latest Mozilla Firefox with Java 1.7.0_51
    At first I always get a java security warning when the applet is being loaded about unsigned applications.
    At second the applet itself is not running. It always shows "No data available" and the java console shows the following errors (iResult is the id of the applet):
    iResult [ERROR] - Couldn't set query template: No Query Defined
    iResult [ERROR] - Couldn't set display template: null
    iResult [ERROR] - Couldn't set display template: null
    Is this perhaps a general problem, that the MII applets are not working with Java 1.7.x versions?
    If I call the same MII page from a client with Java 1.6.x it is working without errors.
    Do you have some suggestions for me?
    Regards Timo

    please clear your JAVA Cache. that should solve the JRE issue. thanks

  • You must have connected the Time Capsule with a router that does not work with my direct cable from my ISP

    you must have connected the Time Capsule with a router that does not work with my direct cable from my ISP

    I tried to answer in your other post.. please stick to one thread ..
    What method of internet do you have.. is this fibre install.. if so the TC should just plug in and use dhcp in router mode.. press and hold the reset and it will go back to router mode by default.

  • Intuit's Quicken won't work with Lion.  Installed and am using Quicken Essentials but it's not as convenient.

    Intuit's Quicken won't work with Lion.  Installed and am using Quicken Essentials but it's not as convenient.

    this has been an issue with Quicken for a long time! Quicken was initially a Mac only application and then they got greedy! i beta-tested Quicken for Intuit for years and when they announced they were not going to support it any more the screaming was loud but not heard!
    Quicken Essentials is a crime! i wasn't even asked to beta-test it; probably because they would have gotten an earful!!! it is not essential; it is stupid.... AND, of course, their online version was a disaster. i use Quickbooks Online for business and it works like a charm; i mean it even downloads ignominious PayPal transactions now!
    i am also stupid for not really checking out if it would work with Lion - ALL of my financials are on it. I am going to have to do what @cwiens suggested above and either pull out an old Macbook I have or my well stored original Cube in its original box! thank the fates for the double backup i've always done with Quicken - Time Machine & its own key drive!
    btw, this is an old Microsoft trick - not having older versions of apps work on OS updates so they force you to buy the new versions.

  • SDM still not working with Java v6u15

    I keep waiting for Java to work some day with their updates on Cisco SDM. Update 14 at least allowed SDM to open. But the new update 15 still hasn't passed the test of clicking on the Configure button and then the Additional Task button. It just doesn't do anything. If it is something that Cisco can fix, please be aware.
    Thanks,
    .. Jim ..

    Hi Jim, you need to downgrade the JAVA version on the computer you want to use SDM.
    SDM does not support java after: 6u3.
    Cisco SDM requires Sun Java Runtime Environment (JRE). The following versions are supported:
    •JRE 1.5_09
    •JRE1.4.2_08
    •JRE 1.5.0_06
    •JRE 1.5.0_07
    •JRE 1.6.0_02
    •JRE 1.6.0_03
    As per the release notes.
    http://www.cisco.com/en/US/docs/routers/access/cisco_router_and_security_device_manager/software/release/notes/SDMr25.html
    This will resolve your issue.
    Cisco does not plan to fix this as SDM is end of life.
    The product that replaces SDM is CCP: Cisco Configuration Professional, that one works with JAva 6 update 14, but it's a different product. It's also a freeware you can download from our website.

  • Lync Server 2010 conference not working with Windows 8.1 and IE 10

    Hello,
    The problem is that whenever a Windows 8.1 user tries to join a Lync server 2010 conference using Internet Explorer 10 (or 11, tried that too) the user can't join the conference. If the conference is created by a Lync server 2013 user joining works fine.
    When using Lync 2010 client we get the following error in the client: "error id 87 source id 7".
    When using Lync 2013 client we end up with a blank conversation window.
    There are no traces in server log, client log or event log.
    Below is a set of use cases that may help you to understand what is the problem scenario. Each of these works or does not work with both Lync 2010 and Lync 2013 client.
    - Lync server 2010 conference, windows 7, Chrome, Firefox, IE 10 or 11 --> Works.
    - Lync server 2010 conference, windows 8.1, IE 10 or 11 --> Does not work.
    - Lync server 2010 conference, windows 8.1, Chrome or Firefox --> Works.
    - Lync server 2013 conference, windows 8.1, Chrome, Firefox, IE 10 or 11 --> Works.
    It does not help to add the meet address to IE compatibility list (Compatibility View Settings).
    If i press F12 in IE and change the document mode of the meet page to IE 9 version then i can join meetings with Windows 8.1 and IE 10. Unfortunately i cannot make that as a default setting for the meet website.
    Any ideas on how to get Lync server 2010 meetings working with Windows 8.1 and IE 10 or 11?
    IE is the company default browser. Windows 8.1 is not a default operating system but we have increasing number of Windows 8.1 computers in our environment (mainly directors).

    According to your description, it is hard to tell whether the issue is related with IE or Lync Server 2010 or both.
    Compare the log when Lync client on Window 8.1 with IE 10 or IE 11 join Lync server 2010 conferencing and Lync Server 2013 conferencing.
    Lisa Zheng
    TechNet Community Support

  • Mapping editor not working with Java 5 classes

    I have a small protoype web service which I wrote using Tomcat/Axis/Spring/Hibernate and using EJB3 annotations for the mappings. I want to port the persistence layer to Toplink.
    I installed Toplink 9.0.4.1 and added the toplink libraries to my project and implemented the DAO and the spring bean defs.
    I opened the mapping editor and created a project. When I try to add classes to it for mapping I get an error that it can't find the classes (even though I selected them from the chooser). I figured it might be that they were compiled with Java 5, so I switched the JRE_HOME in setenv.cmd to my Java 5 JRE. Now I can import the classes and see the attributes but when I click on any of them in the Navigator panel, the editor panel remains blank. If I now try to save, I get:
    java.lang.NullPointerException
         at oracle.toplink.workbench.ui.tools.CheckListModel.getRowCount(CheckListModel.java:119)
         at javax.swing.JTable.checkLeadAnchor(JTable.java:2949)
         at javax.swing.JTable.tableChanged(JTable.java:2993)
         at javax.swing.JTable.setModel(JTable.java:2827)
         at oracle.toplink.workbench.ui.tools.CheckList.initialize(CheckList.java:47)
         at oracle.toplink.workbench.ui.tools.CheckList.<init>(CheckList.java:26)
    It seems that the mapping workbench doesnt work with Java 5. What should I do?

    Ah, I see. I saw another post here stating that must use 10.1.3.

  • [svn:fx-trunk] 5019: ASDoc updates to indicate that some Halo containers do not work with the Spark equiv (ControlBar does not work with Spark Panel/ AppControlBar does not work with Spark Application), and indicate that Canvas, Box, Tile, Panel have Spa

    Revision: 5019
    Author: [email protected]
    Date: 2009-02-19 13:17:21 -0800 (Thu, 19 Feb 2009)
    Log Message:
    ASDoc updates to indicate that some Halo containers do not work with the Spark equiv (ControlBar does not work with Spark Panel/AppControlBar does not work with Spark Application), and indicate that Canvas, Box, Tile, Panel have Spark equivs
    QE Notes: None
    Doc Notes: None
    Bugs: -
    Modified Paths:
    flex/sdk/trunk/frameworks/projects/framework/src/mx/containers/Accordion.as
    flex/sdk/trunk/frameworks/projects/framework/src/mx/containers/ApplicationControlBar.as
    flex/sdk/trunk/frameworks/projects/framework/src/mx/containers/Box.as
    flex/sdk/trunk/frameworks/projects/framework/src/mx/containers/Canvas.as
    flex/sdk/trunk/frameworks/projects/framework/src/mx/containers/ControlBar.as
    flex/sdk/trunk/frameworks/projects/framework/src/mx/containers/HBox.as
    flex/sdk/trunk/frameworks/projects/framework/src/mx/containers/Panel.as
    flex/sdk/trunk/frameworks/projects/framework/src/mx/containers/TabNavigator.as
    flex/sdk/trunk/frameworks/projects/framework/src/mx/containers/Tile.as
    flex/sdk/trunk/frameworks/projects/framework/src/mx/containers/VBox.as
    flex/sdk/trunk/frameworks/projects/framework/src/mx/containers/ViewStack.as

    Hi DST
    This is a great effort and gesture. thank you on behalf of all the newbies.
    PJ

  • Why does final cut x not recognize the sharp PN- K321 monitor ( European version ) as output video monitor and premiere it? Working with two cinema display and PN- K321 and I can not preview the output video at 4K for DisplayPort, whereas with premie

    Why does final cut x not recognize the sharp PN- K321 monitor ( European version ) as output video monitor, and premiere yes?
    Working with two cinema display and PN- K321 and I can not preview the output video at 4K by DisplayPort, whereas with premiere and after effects I have no problems

    Look, you can build an HD DVD with an SD movie, just as you can build an SD DVD with an HD movie. This is not a bug, it is most likely user error. Apple will not be addressing it.
    Just start over, and ensure you are building an SD DVD by bringing up the inspector for the disc (click on the background in the Graphical tab).
    Make sure SD DVD is selected:
    (If you do the same thing on your ill fated project, you'll see that HD DVD is selected)
    Build your DVD and you'll be fine.
    Patrick
    P.S. You will need to google HD DVD and Blu-Ray if you want to understand the difference between the formats. The reason that DVDSP included HD DVD was that its format was similar to SD DVD's. Blu-Ray is something else entirely.

  • My imsg is not working with only one person and her imsg is working perfectly fine with her friends

    My imsg is not working with only one person and her imsg is working perfectly fine with her friends

    See this thread:
    https://discussions.apple.com/thread/5306216?tstart=0
    From Apple:
    MacBook Air (Mid 2013): FaceTime HD Camera might not work after OS X 10.8.5 update
    Yes, a fix is coming soon.

  • HT4101 Does the Ipad camera connection  kit work with the Ipad 4 and if not is there an adapter?

    Does the IPad camera connection kit work with the Ipad 4 and /or is the an adapter ?

    You want the newer Lightning to USB Camera Adaptor.
    http://store.apple.com/us/product/MD821ZM/A/lightning-to-usb-camera-adapter
    The old Camera Connection Kit also works and I use it on my iPad 4, however, to use this your will need the Lightning to 30 pin adaptor.
    http://store.apple.com/us/product/MD824ZM/A/lightning-to-30-pin-adapter-02-m

Maybe you are looking for

  • 'Business Partner Assigned to the User' Access Sequence don't work

    Hello. I use access sequence 0008 (Business Partner Assigned to the User) in my Partner determination procedure. But it doesn't work. Corresponding Partner field in service document is empty. But I need that BP linked with logon user filled it. I've

  • Sorting single item in an arraycollection

    Hi, i have an issue with sorting in arraycollection and binding the same to grid... for example : i have an arraycollection with values 1,2,3,4,5 i want the collection to be like  51234..only one value shud come to the first position....and others sh

  • Unable to download adobe premiere elements 11 trial

    tried trial of 11,but crashes convinced me computer needed to be made faster. i  stopped trial after a few days and deleted program. after computer update, i logged in to use adobe downloader& after pressing download nothing happens. have some files

  • Bursting options in Reporting

    Bursting options in Reporting Hi, Has anyone ever used bursting options in Cognos reporting? I read that we can use this option to distribute the reports. Actually we want to distribute the reports to the different service team managers to see the pe

  • Question..... has me stumped....

    I have uploaded tendrils to the aur, but when run from cli it no worky.. run from fbrun or kde runapp and it works.... subsequent launches from cli then work any idea why this would be the case, it is a python app and errors on pygamemixer_init() the