← Back to team overview

openjdk team mailing list archive

[Bug 1025573] Re: JRE crashes when running java application within an Android project

 

** Attachment added: "Error report file"
   https://bugs.launchpad.net/bugs/1025573/+attachment/3225821/+files/hs_err_pid3499.log

-- 
You received this bug notification because you are a member of OpenJDK,
which is subscribed to openjdk-6 in Ubuntu.
https://bugs.launchpad.net/bugs/1025573

Title:
  JRE crashes when running java application within an Android project

Status in “openjdk-6” package in Ubuntu:
  New

Bug description:
  Within Eclipse, JRE will crash if I try run any java application class
  created within an Android project.

  To recreate the problem:
  - Within Eclipse (with Android SDK and ADT plugins installed), create a new Android Application project (give it a name, but otherwise keep all the defaults; run it as Android Application to confirm it works);
  - Within the project create a new Java class and make it runnable (just give it a name and check create public static void main(String[] args) stub);
  - Run (the project or the file) as Java Application.

  Note it works fine if created in a Java Application project.

  ProblemType: Bug
  DistroRelease: Ubuntu 12.04
  Package: openjdk-6-jre 6b24-1.11.3-1ubuntu0.12.04.1
  ProcVersionSignature: Ubuntu 3.2.0-26.41-generic 3.2.19
  Uname: Linux 3.2.0-26-generic x86_64
  ApportVersion: 2.0.1-0ubuntu8
  Architecture: amd64
  Date: Tue Jul 17 09:27:02 2012
  InstallationMedia: Xubuntu 12.04 LTS "Precise Pangolin" - Release amd64 (20120425)
  ProcEnviron:
   LANGUAGE=en_GB:en
   TERM=xterm
   PATH=(custom, no user)
   LANG=en_GB.UTF-8
   SHELL=/bin/bash
  SourcePackage: openjdk-6
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/openjdk-6/+bug/1025573/+subscriptions


References