JRE crashes when running java application within an Android project

Bug #1025573 reported by Marcel Admiraal
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
openjdk-6 (Ubuntu)
Confirmed
Undecided
Unassigned

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)

Revision history for this message
Marcel Admiraal (marcel-admiraal) wrote :
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in openjdk-6 (Ubuntu):
status: New → Confirmed
Revision history for this message
Werner Hett (werner-hett) wrote :

Most annoying because testing pure Java components with JUnit is not possible.

Revision history for this message
Werner Hett (werner-hett) wrote :
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.