title: Eclipse crash after opening .xml file
body: <p>i am starting with android development
  i have created some sample application but 
  when i am opening .xml file resides in res/layout/main.xml
  after that my eclipse crash and close.</p>
  
  <p>i even try "open with android layout editor" which also crashes eclipse.</p>
  
  <p>i am not getting why this problem occur.</p>
  
  <p>my os is ubantu 9.04
  and using eclipse Galileo</p>
  
  <p><strong>EDIT:</strong></p>
  
  <p>i am getting following error in my eclipse log file. what dose this means???</p>
  
  <pre><code>!ENTRY com.android.ide.eclipse.adt 4 0 2011-04-29 16:56:16.476
  !MESSAGE loadAndParseRClass failed to find class com.saltriver.gui.R
  !STACK 0
  java.lang.UnsupportedClassVersionError: Bad version number in .class file
      at java.lang.ClassLoader.defineClass1(Native Method)
      at java.lang.ClassLoader.defineClass(ClassLoader.java:620)
      at java.lang.ClassLoader.defineClass(ClassLoader.java:465)
      at com.android.ide.eclipse.adt.internal.resources.manager.ProjectClassLoader.findClass(Unknown Source)
      at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
      at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
      at com.android.ide.eclipse.adt.internal.resources.manager.CompiledResourcesMonitor.loadAndParseRClass(Unknown Source)
      at com.android.ide.eclipse.adt.internal.resources.manager.CompiledResourcesMonitor.fileChanged(Unknown Source)
      at com.android.ide.eclipse.adt.internal.resources.manager.GlobalProjectMonitor$DeltaVisitor.visit(Unknown Source)
      at org.eclipse.core.internal.events.ResourceDelta.accept(ResourceDelta.java:68)
      at org.eclipse.core.internal.events.ResourceDelta.accept(ResourceDelta.java:79)
      at org.eclipse.core.internal.events.ResourceDelta.accept(ResourceDelta.java:79)
      at org.eclipse.core.internal.events.ResourceDelta.accept(ResourceDelta.java:79)
      at org.eclipse.core.internal.events.ResourceDelta.accept(ResourceDelta.java:79)
      at org.eclipse.core.internal.events.ResourceDelta.accept(ResourceDelta.java:79)
      at org.eclipse.core.internal.events.ResourceDelta.accept(ResourceDelta.java:79)
      at org.eclipse.core.internal.events.ResourceDelta.accept(ResourceDelta.java:48)
      at com.android.ide.eclipse.adt.internal.resources.manager.GlobalProjectMonitor$1.resourceChanged(Unknown Source)
      at org.eclipse.core.internal.events.NotificationManager$2.run(NotificationManager.java:291)
      at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
      at org.eclipse.core.internal.events.NotificationManager.notify(NotificationManager.java:285)
      at org.eclipse.core.internal.events.NotificationManager.broadcastChanges(NotificationManager.java:149)
      at org.eclipse.core.internal.resources.Workspace.broadcastPostChange(Workspace.java:313)
      at org.eclipse.core.internal.resources.Workspace.endOperation(Workspace.java:1022)
      at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1809)
      at org.eclipse.core.internal.events.NotificationManager$NotifyJob.run(NotificationManager.java:40)
      at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
  </code></pre>