#48 can't edit xaml files in 64-bit Vista

1.0.0M2
open-later
nobody
5
2009-01-26
2009-01-09
No

I'm running 64-bit Vista so I installed Eclipse for 64-bit Vista. The Silverlight plug-in works with one exception. The preview when editing xaml files uses 64-bit IE, and Silverlight is not supported in 64-bit IE. This is a total showstopper because the preview cannot be turned off. Since you can't preview, you can't edit - it crashes.

Discussion

  • Nobody/Anonymous

    I have Vista 64 Bit. My IE version is 7.0.6001.18000. Which version of IE do you use?
    What is the version of your eclipse4SL?

     
  • Yves YANG

    Yves YANG - 2009-01-09

    I have Vista 64 Bit. My IE version is 7.0.6001.18000. Which version of IE
    do you use? What is the version of your eclipse4SL?

    Best regards
    Yves YANG

     
  • Yves YANG

    Yves YANG - 2009-01-09

    I suppose you can uninstall 64 Bits and and install 32 bit. Afterward set the 32 bit version as default browser: Tools-> Internet Options, select the Tab "Programs", click on the button "Make default"

    Best regards
    Yves YANG

     
  • permutations

    permutations - 2009-01-09

    > I suppose you can uninstall 64 Bits and and install 32 bit.

    What do you mean? You're surely not suggesting that I wipe my hard disk and reinstall my operating system, are you?

    32-bit Eclipse does not run on 64-bit Vista. That was the first thing I tried. When it failed, I googled the problem and discovered there was a 64-bit version of Eclipse for 64-bit Vista. I also had to download a 64-bit version of Java.

    64-bit Vista has two versions of IE, 32-bit and 64-bit. The default is 32-bit because so much is incompatible with 64-bit IE. I set the browser in Eclipse to my external default browser (which is 32-bit). That did not help the problem with the xaml preview of Silverlight apps. The preview is the window you see within the xaml editor - it's not the same as what's launched when you run your app.

    Do you have a 64-bit Vista system that you can try this on? I think that's what's needed here. Then you will see the problem. Many developers are running 64-bit Vista (probably most of the people running it are developers), so this is worth fixing.

    I'm running IE 7.0.6001.18000 with Eclipse 3.4.1 and Eclipse Tools for Silverlight 1.0.0.M2 (latest versions of everything).

     
  • Yves YANG

    Yves YANG - 2009-01-09

    >What do you mean? You're surely not suggesting that I wipe my hard disk
    and reinstall my operating system, are you?

    We just use the default browser.

    >32-bit Eclipse does not run on 64-bit Vista. That was the first thing I
    tried. When it failed, I googled the problem and discovered there was a
    64-bit version of Eclipse for 64-bit Vista. I also had to download a 64-bit
    version of Java.

    I never heard there is a eclipse 64 Bits.

    >64-bit Vista has two versions of IE, 32-bit and 64-bit. The default is
    32-bit because so much is incompatible with 64-bit IE. I set the browser in
    Eclipse to my external default browser (which is 32-bit). That did not help
    the problem with the xaml preview of Silverlight apps. The preview is the
    window you see within the xaml editor - it's not the same as what's
    launched when you run your app.

    >Do you have a 64-bit Vista system that you can try this on? I think that's
    what's needed here. Then you will see the problem. Many developers are
    running 64-bit Vista (probably most of the people running it are
    developers), so this is worth fixing.

    My Vista is 64 Bits.

    >I'm running IE 7.0.6001.18000 with Eclipse 3.4.1 and Eclipse Tools for
    Silverlight 1.0.0.M2 (latest versions of everything).

     
  • Yves YANG

    Yves YANG - 2009-01-09

    >32-bit Eclipse does not run on 64-bit Vista. That was the first thing I
    tried. When it failed, I googled the problem and discovered there was a
    64-bit version of Eclipse for 64-bit Vista. I also had to download a
    64-bit version of Java.

    Everyone uses 32-bit Eclipse on Vista 64 bit. I guess you should use Java 32 bits

     
  • permutations

    permutations - 2009-01-10

    To add to my previous comment, I downloaded eclipse-SDK-3.4.1-win32-x86_64.zip from this URL:

    http://download.eclipse.org/eclipse/downloads/drops/R-3.4.1-200809111700/index.php

    That ran on my system. But reading this guy's blog post again, he said he ended up backing off the 64-bit Java and using 32-bit instead. Maybe that's the problem. I'll try that.

     
  • Yves YANG

    Yves YANG - 2009-01-10

    Please let us know the result. I'm using Eclipse 32 bits with Java 32 bits under Vista 64.

     
  • permutations

    permutations - 2009-01-10

    I deleted my installation, and now I can't run Eclipse at all anymore.

    Which zip file did you use:

    eclipse-SDK-3.4.1-win32-x86_64.zip or eclipse-SDK-3.4.1-win32.zip ??

    And which Java - 32-bit or 64-bit?

    And did you add something to your path so it could find Java? If so, what?

    I'm very frustated. At least before I could run Eclipse. Now it won't even start. Either it says it can't find Java or it appears to start but nothing happens or I get an error code of 1.

     
  • permutations

    permutations - 2009-01-10

    Okay, after much pain, I now have everything installed and loading - 32-bit Eclipse, 64-bit Eclipse, 32-bit Java, and 64-bit Java. I'm not sure why they weren't working before, but they are working now so I'll just be happy.

    It doesn't matter whether 64-bit Eclipse is using 32-bit Java or 64-bit Java. The problem I reported in the first message in this thread remains. You cannot edit xaml files because the preview doesn't work and cannot be turned off. Whoever is developing Silverlight for Eclipse should fix this problem on 64-bit Eclipse. Really!!

    That said, I am able to run 32-bit Eclipse on 64-bit Vista. I don't know why I (and others) could not do it before, but it's now working so I can use Silverlight in Eclipse in the 32-bit version of Eclipse.

    I still think you should fix the Silverlight bug in the 64-bit version.

     
  • Yves YANG

    Yves YANG - 2009-01-10

    When you download Eclipse for Vista 64 bits, you should get this notice:
    -----
    This build requires a 64-bit JVM, and will not run with a 32-bit JVM.
    You can, for example, use the Sun 64-bit 1.5 JVM for AMD64. Note
    that the Sun 1.4.2 JVM for AMD64 is 32-bit and therefore cannot be
    used to run this build.
    -----
    Hope this helps

    Yves YANG

     
  • permutations

    permutations - 2009-01-10

    I didn't get that notice, and in any case, it's irrelevant. Why do you think this will help me? 64-bit Eclipse ran with 32-bit Java and it also ran with 64-bit Java. What it did not work with was Silverlight.

    I'll say it once more:

    Silverlight does not work with 64-bit Eclipse. There is a bug. The problem is that the Silverlight xaml preview uses a 64-bit version of IE, which cannot run Silverlight. This needs to be fixed.

    I thought you were a lead developer on this project? If you can't fix this or find someone who can fix this, then who should I report the bug to?

     
  • permutations

    permutations - 2009-01-10

    I didn't get that notice, and in any case, it's irrelevant. Why do you think this will help me? 64-bit Eclipse ran with 32-bit Java and it also ran with 64-bit Java. What it did not work with was Silverlight.

    I'll say it once more:

    Silverlight does not work with 64-bit Eclipse. There is a bug. The problem is that the Silverlight xaml preview uses a 64-bit version of IE, which cannot run Silverlight. This needs to be fixed.

    I thought you were a lead developer on this project? If you can't fix this or find someone who can fix this, then who should I report the bug to?

     
  • permutations

    permutations - 2009-01-10
    • assigned_to: yvesyang --> liang_zhang
     
  • Yves YANG

    Yves YANG - 2009-01-10

    First of all, we are investigating on eclipse 64 bits version. Not only one problem you have observed. We should go step by step, and make everything clear.

    From what we observed, 64-bit Eclipse doesn't work with 32-bit Java. It crashes immediately at startup.

    Anyway, thanks for the issue report.

     
  • permutations

    permutations - 2009-01-10

    It didn't crash for me with 32-bit Java, so that's odd. You can set which Java it uses in the Preferences. It loaded both ways for me.

    With Silverlight I couldn't get past the xaml preview problem. I'm glad you are looking at this. Thanks.

     
  • Yves YANG

    Yves YANG - 2009-01-13
    • assigned_to: liang_zhang --> nobody
     
  • Yves YANG

    Yves YANG - 2009-01-13

    It said in the notice of eclipse when you download eclipse 64 bits and it is what we observed. You have to use Sun 64-bit 1.5 JVM for AMD64.

     
  • Yves YANG

    Yves YANG - 2009-01-26
    • status: open --> open-later
     
  • Yves YANG

    Yves YANG - 2009-01-26

    Need to be tested in the Eclipse 64 bits version certification.

     
  • permutations

    permutations - 2009-01-26

    Just want to clarify... All the other problems I reported were in the 32-bit version of Eclipse. I stopped using 64-bit Eclipse for Silverlight because of the problem I reported here. Does your comment mean you have fixed this?

     

Log in to post a comment.